transactionId. Use data.transactionId as the paymentReference for Complete USSD payment, and expect that id, not your original reference, in the webhook.| code | HTTP | message | when |
|---|---|---|---|
| 26 | 400 | Invalid BankCode | bankCode longer than 10 characters. |
| 26 | 400 | Unable to initiate ussd payment | Provider failure. |
curl --location 'https://merchantapi-dev.vantpay.io/api/v1/checkout/ussd/initiate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"accessCode": "K7Q2ZP9X4M",
"paymentReference": "ORDER-2026-1122-0001",
"bankCode": "058",
"amount": 2500
}'{
"isSuccessful": true,
"code": "00",
"message": "Operation successful",
"data": {
"responseCode": "00",
"responseMessage": "Successful",
"reference": "CP-REF-001",
"ussdString": "*737*000*1234#",
"transactionId": "CP20261122110512345"
}
}