GET/v1/checkout/:id/status

Get payment status

Returns the current status of a checkout session.

Authentication

Secret Key — send Authorization: Bearer YOUR_KEY header.

Response fields

FieldTypeDescription
statusstringpending | completed | failed | expired
transaction_idstringWatenga transaction ID when completed
merchantTransactionIdstringYour reference
amountstringPayment amount
currencystringUSD or ZWG

Code examples

bash
curl https://api.watenga.africa/v1/checkout/chk_01HQXYZ/status \
  -H "Authorization: Bearer sk_test_YOUR_KEY"

Response example

json
{
  "success": true,
  "data": {
    "status": "completed",
    "transaction_id": "txn_01HQXYZ",
    "merchantTransactionId": "INV-001",
    "amount": "25.00",
    "currency": "USD"
  }
}