Description
The sendSMS request will queue an SMS to be sent to via integrated rails on DPO 3G i.einfobip
or nexmo
. The message routing will happen internally as per configuration and using the MID to map Merchant Phone and or provided customer phone.
Resource endpoint
HTTP METHOD | URI | ENV | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| |||||||||||||
|
|
|
Request
Variables to send:
Parameter | Data type | Description | |
Request | Text | sendSMS | Mandatory |
CompanyToken | Token | Token you got from 3G to operate this API | Mandatory |
MerchantID | Text | The MID for the Merchant to receive the SMS | Mandatory |
MessageContent | Text | Message body content containing a short bit url that is clickable to allow receipt downloading | Mandatory |
CustomerPhone | Text | The customers phone number to used. | Optional |
Request Sample:
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Response
The response body will be in the format below.
success
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Error - Wrong CompanyToken
Expand | ||
---|---|---|
| ||
|
Error - Missing Mandatory field.
Expand | ||
---|---|---|
| ||
|