/send_sms

Create and send an SMS message to the consumer

Body Params

Creates and sends a new SMS message

string
required
Defaults to S2411573363

Identifies your client site.

string
required

The Unix Epoch time of the call

string
required
Defaults to 3.0

The version of the API. This version must match the version associated with your API key pair.

string
required

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.

string
required
Defaults to 2145589687

The mobile phone number where you are sending the text. Use commas to separate numbers when sending the message to multiple recipients. NOTE: Upon request, PayNearMe can configure the /send_sms endpoint to return an error response for numbers blocked due to STOP opt-outs. Contact your Technical Account Manager for configuration details.

string
required
Defaults to Your bill was due yesterday. Please remit payment as soon as possible.

The text of the SMS message. This parameter does not support HTML or special characters like emojis.

string
Defaults to Tu factura vencía ayer. Por favor envíe el pago lo antes posible.

The text of the SMS message in Spanish. This parameter does not support HTML

string
enum

Indicates which version of the SMS message should be sent to the specified recipient. Options include

  • en - English
  • sp- Spanish

If sending the message in Spanish, the body_spanish parameter must be included.

Allowed:
Responses

Language
URL
Response
Choose an example:
application/json