Copy Page/send_smspost https://api.paynearme-sandbox.com/json-api/send_smsCreate and send an SMS message to the consumerRecent RequestsLog in to see full request historyTimeStatusUser Agent Retrieving recent requests…LoadingLoading…Body ParamsCreates and sends a new SMS messageCreates and sends an SMS messagesite_identifierstringrequiredDefaults to S2411573363Identifies your client site.timestampstringrequiredThe Unix Epoch time of the callversionstringrequiredDefaults to 3.0The version of the API. This version must match the version associated with your API key pair.signaturestringThe 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. NOTE: This field is required when authenticating with the HMAC signature method; it is not required when authenticating with OAuth 2.0.recipientsstringrequiredDefaults to 2145589687The 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.body_textstringrequiredDefaults 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.body_spanishstringDefaults 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 HTMLlanguagestringenumIndicates which version of the SMS message should be sent to the specified recipient. Options include en - Englishsp- SpanishIf sending the message in Spanish, the body_spanish parameter must be included.enspAllowed:enspResponses 200SMS Sent 401OAuth 2.0 requests only. The Authorization header has no Bearer token, the access token is invalid, expired, or issued for a different site, or the site_identifier does not match any site. The response does not say which. If the request is rejected before it reaches PayNearMe, the body may not be JSON, so detect this error by the HTTP status. HMAC-signed requests never receive this status.Updated about 1 month ago /agent_sso/send_mailDid this page help you?YesNo