1.2 Sms Callback
Descrption
- This interface is implemented by the merchant. Its function is that when the SMS is successfully sent, Bluepay will call this interface to notify the merchant of the SMS sending details.
URL
Method
| Parameter name | Required | Type of data | Description |
| Content-Type | Y | string | application/json |
equest Params
| Parameter name | Required | Type of data | Length | Example | description |
| param | Y | string | - | - | Parameter Body |
| sign | Y | string | - | - | Sign |
Request param
| parameter name | required | type | description |
| eventName | Y | string | Event Name( sms.send.success ) |
| requestId | Y | string | Merchant Sms request ID |
| smsId | Y | string | Bluepay Sms ID |
| bizType | Y | string | Business Type: OTP、MARKETING |
| mobileNum | Y | string | Thai mobile phone |
| templateCode | Y | string | Sms Template ID |
| smsContent | Y | string | Sms Content |
| smsStatus | Y | string | SMS Send status PENDING, SUCCESS, FAIL |
Response parameters
| paramter name | type | description |
| code | integer | Response code, fixed value 10000 |
| message | string | Response message, fixed value Success |
Request example
param content
How Bluepay construct request body
Request body
Response example