POST Ussd/SendPaymentNotification

Request Information

URI Parameters

None.

Body Parameters

UssdPaymentRequest
NameDescriptionTypeAdditional information
CustomerReference

string

Required

Amount

decimal number

Required

ProductCode

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Amount": 2,
  "ProductCode": "sample string 3",
  "CustomerReference": "sample string 1"
}

application/xml, text/xml

Sample:
<UssdPaymentRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerReference>sample string 1</CustomerReference>
  <Amount>2</Amount>
  <ProductCode>sample string 3</ProductCode>
</UssdPaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UssdPaymentResponse
NameDescriptionTypeAdditional information
Status

integer

None.

StatusMessage

string

None.

TransactionReference

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "TransactionReference": 3,
  "StatusMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<UssdPaymentResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Status>1</Status>
  <StatusMessage>sample string 2</StatusMessage>
  <TransactionReference>3</TransactionReference>
</UssdPaymentResponse>