Pay with USSD
Starts a USSD payment and returns the dial string. The customer dials it on their phone, with no data connection or app, and authorises the payment through their bank’s USSD menu.
Show data.ussdCode clearly, ideally as a tap-to-dial link on mobile, and tell the customer to dial it from the phone number they entered. The channel is asynchronous. Wait for the checkout.completed event or the payment.completed webhook, then confirm with verify before you fulfil.
Without phoneNumber the call fails with ussd.phone_required. If the request cannot be started, ussd.failed tells you to check the number and try again.
Authorizations
The accessCode returned by initialise. Scoped to one payment and valid for 60 minutes.
Safe to give to the customer's browser.
Body
The customer's phone number. They should dial the code from this number.
"08012345678"