Send Silent OBS Billing Message Example

This document will go over how to send silent OBS Billing Message via HTTP (MT).

GET /srs/api/sendsms

Send a silent OBS billing message and charge your end-user for it.

This may not be available due to network regulations. For example, MTN hand their own billing requests.

curl -XGET -H "Content-type: application/json" 'https://hostname/srs/api/sendsms?USER_NAME=<account_id>&PASSWORD=<api_key>&ORIGINATOR=<SHORT CODE>&RECIPIENT=<MSISDN>&PR OVIDER=<Network Provider>&VALUE=<Amount>&KEYWORD=<Keyword>&MESSAGE_TEXT=SILENT%20BILLING%20MESSAGE'

Headers

NameValue

Content-Type

application/json

Authorization

No Auth

Body

ParameterTypeExampleDescription

account_id

string

43e36f50aaf111e272639171000000a9

Your unique Mobivate account id.

password

string

3b41d767316541bacef19d1382ac1e12

Your unique associated Mobivate account api-key.

originator

integer

12345

The associated shortcode for your service.

recipient

integer

XX7432104492

The recipient you want to send this message to.

provider

string

Safaricom

The network you plan to send the SMS message via.

keyword

string

mv-100620006

Your unique Mobivate keyword for your service.

message_text

string

SILENT%20BILLING%20MESSAGE

Should be Silent Billing Message, end user will not see this.

value

integer

10

The cost of receiving this SMS message.

Response

{
  "MT-aabbccddeeff00112233445566778899"
}

Last updated