MnsCardVender
You can use Message Service (MNS) to pull rendering messages for card text messages (MnsCardVender).
Prerequisites
-
You have registered an Alibaba Cloud account and generated an access key (AccessKey). For more information, see Create an AccessKey for a RAM user.
-
Make sure you can ping the following endpoints from your local machine:
dysmsapi.aliyuncs.com,mns.cn-hangzhou.aliyuncs.com(for the China (Hangzhou) region), ordybaseapi.aliyuncs.com. -
You have created a RAM user and granted it Short Message Service permissions and Lightweight Message Queue permissions.
-
You have read Configure message receipts and understand the receipt message modes, types, and configuration process.
MnsCardVender message body format
Name | Type | Description |
mobile | String | Mobile phone number. |
outId | Integer | The customer-provided outId for the card text message. |
render_status | String | Only success receipts are pushed. The value is 0. |
desc | String | Receipt description. |