GET
/v1/transactions/:id/mobile-statusPoll mobile money status
Polls EcoCash, InnBucks, or OneMoney payment confirmation. Used by Watenga.js for wallet tabs.
Authentication
Public Key or Secret Key — send Authorization: Bearer YOUR_KEY header.
Response fields
| Field | Type | Description |
|---|---|---|
transaction_status | string | Internal status |
is_success | boolean | Payment confirmed |
is_pending | boolean | Still awaiting USSD approval |
gateway_status | string | Raw provider status code |
Code examples
bash
curl https://api.watenga.africa/v1/transactions/txn_01HQXYZ/mobile-status \
-H "Authorization: Bearer pk_test_YOUR_KEY"Response example
json
{
"success": true,
"data": {
"transaction_status": "completed",
"is_success": true,
"is_pending": false,
"gateway_status": "SUCCESS"
}
}