GET/v1/transactions

List transactions

Returns a paginated list of transactions for your merchant account.

Authentication

Secret Key — send Authorization: Bearer YOUR_KEY header.

Query parameters

ParameterTypeRequiredDescription
typestringNopayment | refund | payout
statusstringNopending | completed | failed
currencystringNoUSD | ZWG
from_datestringNoISO 8601 start date
to_datestringNoISO 8601 end date
gatewaystringNoFilter by gateway name
searchstringNoSearch reference or customer
cursorstringNoPagination cursor
limitintegerNoPage size (default 25, max 100)

Response fields

FieldTypeDescription
itemsarrayArray of transaction objects
next_cursorstring | nullCursor for next page
has_morebooleanWhether more results exist

Code examples

bash
curl https://api.watenga.africa/v1/transactions?limit=25&status=completed \
  -H "Authorization: Bearer sk_test_YOUR_KEY"

Response example

json
{
  "success": true,
  "data": {
    "items": [{ "id": "txn_01HQXYZ", "status": "completed", "amount": "25.00", "currency": "USD" }],
    "next_cursor": "cursor_abc",
    "has_more": false
  }
}