Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejson
{
    "requestSuccessful": true,
    "responseMessage": "success",
    "responseCode": "0",
    "responseBody": {
        "responseCode": "00",
        "responseDescription": "Success",
        "ussdCode": "3617",
        "paymentCode": "*737*000*3617#",
        "providerReference": "22082492407553903617",
        "authorizedAmount": 20.00,
        "transactionReference": "MNFY|57|20220824191001|413442"
    }
}

Sample Error Response

Code Block
{
    "requestSuccessful": false,
    "responseMessage": "Could not find transaction with the specified transaction reference",
    "responseCode": "99"
}

The above error response is returned when a wrong transaction reference is used to generate a USSD code.

Field Reference

(M) indicates fields that are mandatory in the request body. (m) Indicates fields that are mandatory only if the parent object is not empty.

...