bill_msisdn

The bill_msisdn call is used to bill a mobile subscriber once-off for provided content/services.

URL: https://tms.flashmedia.co.za/api/obs/bill_msisdn

HTTP Method: POST

Input Parameters

msisdn
The MSISDN of the mobile subscriber to bill.
item_id
The ID of the item to bill for.
once_only
Only request payment once for this transaction, even if the request fails. Default: true. Optional.

Data Returned

transaction_id
The ID generated for this transaction.
payment_status
The status of the payment/billing request.

Example API call using cURL

JSON

curl -X POST https://tms.flashmedia.co.za/api/obs/bill_msisdn \
-u 'username:password' -H 'Accept: application/json' \
-d 'msisdn=27820000001' -d 'item_id=1234'

Example Successful Response

{
  "transaction_id" : 1234567890,
  "payment_status" : "PROCESSED"
}