This api handles debiting users account with USSD dial code. A request is initiated and a dial code is returned upon success. The customer dials the short code, upon successful completion of the dial code , the merchant gets a notification of this transaction . The transaction can either be success or failed . Please note, the customer is expected to complete the transaction with 5 mins else the code would expire.
The banks we currently support can be found Get Supported USSD Banks.
<aside> ℹ️ POST /transaction/ussd
</aside>
Header
publicKey: xxxxx
Request Body
{
"amount": 1000,
"bankCode": "058",
"uniqueReference": "324563245679"
}
Response Body
{
"status": true,
"data": {
"amount": 1000,
"status": "pending",
"bill": "*737*000*3154#",
"uniqueIdentifier": "324563245679",
"transactionReference": "LUWDL-cab5880d-f098-4b41-b9f2-621b927deefb-1626904483686",
"timeCreated": 1626904484490
}
}