GET/v1/transactions/:id

Get single transaction

Retrieves full details for one transaction.

Authentication

Secret Key — send Authorization: Bearer YOUR_KEY header.

Response fields

FieldTypeDescription
idstringTransaction ID
statusstringTransaction status
amountstringGross amount
net_amountstringAmount after fees
currencystringUSD or ZWG
gatewaystringPayment gateway used
merchantTransactionIdstringYour reference

Code examples

bash
curl https://api.watenga.africa/v1/transactions/txn_01HQXYZ \
  -H "Authorization: Bearer sk_test_YOUR_KEY"

Response example

json
{
  "success": true,
  "data": {
    "id": "txn_01HQXYZ",
    "status": "completed",
    "amount": "25.00",
    "net_amount": "24.13",
    "currency": "USD",
    "gateway": "eftpay",
    "merchantTransactionId": "INV-001"
  }
}