v1
latestOpenAPI 3.0.12026-07-264182324.3 KBCreate and send an SMS message to the consumer
Request body
Identifies your client site.
The Unix Epoch time of the call
The version of the API. This version must match the version associated with your API key pair.
The HMAC signature that is calculated by running your API Secret Key and the alphabetized, concatenated parameters of the request payload through the SHA256 message digest algorithm.
The mobile phone number where you are sending the text. Use commas to separate numbers when sending the message to multiple recipients. <b>NOTE:</b> Upon request, PayNearMe can configure the <code>/send_sms</code> endpoint to return an error response for numbers blocked due to <code>STOP</code> opt-outs. Contact your Technical Account Manager for configuration details.
The text of the SMS message. This parameter does not support HTML or special characters like emojis.
The text of the SMS message in Spanish. This parameter does not support HTML
Indicates which version of the SMS message should be sent to the specified recipient. Options include <ul><li><code>en</code> - English</li><li><code>sp</code>- Spanish</li></ul><br/>If sending the message in Spanish, the <code>body_spanish</code> parameter must be included.
Response
SMS Sent
Provides the status of the request.
Example response
{
"status": "ok"
}