API reference
Wallet and transactions
Read your wallet balance (or your test wallet, with a test key) and the ledger of credits and debits on your live wallet.
Get wallet balance
GET/wallets/me
With a live key, returns your Aboki Data wallets; purchases are paid from main_wallet.available_balance. With a test key, returns your test wallet instead, with is_test: true and the balance also at the top level.
Returns: data
currencystringoptionalAlways
NGN.main_walletobjectoptionalavailable_balance_kobointegeroptionalSpendable now, in kobo.
reserved_balance_kobointegeroptionalHeld for orders that have not finished.
ledger_balance_kobointegeroptionalAvailable plus reserved.
is_lockedbooleanoptionalis_testbooleanoptionalTest key only.
bonus_walletobjectoptionalavailable_balance_kobointegeroptionalSpendable now, in kobo.
reserved_balance_kobointegeroptionalHeld for orders that have not finished.
ledger_balance_kobointegeroptionalAvailable plus reserved.
is_lockedbooleanoptionalis_testbooleanoptionalTest key only.
commission_walletobjectoptionalavailable_balance_kobointegeroptionalSpendable now, in kobo.
reserved_balance_kobointegeroptionalHeld for orders that have not finished.
ledger_balance_kobointegeroptionalAvailable plus reserved.
is_lockedbooleanoptionalis_testbooleanoptionalTest key only.
cashback_walletobjectoptionalavailable_balance_kobointegeroptionalSpendable now, in kobo.
reserved_balance_kobointegeroptionalHeld for orders that have not finished.
ledger_balance_kobointegeroptionalAvailable plus reserved.
is_lockedbooleanoptionalis_testbooleanoptionalTest key only.
daily_limit_summaryobjectoptionalLive key only: your daily spend limit and what is left today (
daily_limit_kobo,daily_spent_today_kobo,daily_remaining_kobo,resets_at). API Partner accounts are not held to it.is_testbooleanoptionalTest key only.
available_balance_kobointegeroptionalTest key only: the test wallet's spendable balance.
reserved_balance_kobointegeroptionalTest key only.
ledger_balance_kobointegeroptionalTest key only.
Errors
| HTTP | error_code | When |
|---|---|---|
| 401 | UNAUTHORIZED | The key is missing, invalid or revoked. |
| 404 | WALLET_NOT_FOUND | No live wallet exists for the account. |
curl "https://api.abokidata.com/api/v1/wallets/me" \
-H "Authorization: Bearer $ABOKI_API_KEY"{
"success": true,
"status_code": 200,
"message": "Wallet retrieved.",
"data": {
"currency": "NGN",
"main_wallet": {
"available_balance_kobo": 12500050,
"reserved_balance_kobo": 49000,
"ledger_balance_kobo": 12549050,
"is_locked": false
},
"bonus_wallet": {
"available_balance_kobo": 0,
"reserved_balance_kobo": 0,
"ledger_balance_kobo": 0,
"is_locked": false
},
"commission_wallet": {
"available_balance_kobo": 0,
"reserved_balance_kobo": 0,
"ledger_balance_kobo": 0,
"is_locked": false
},
"cashback_wallet": {
"available_balance_kobo": 1200,
"reserved_balance_kobo": 0,
"ledger_balance_kobo": 1200,
"is_locked": false
}
},
"meta": {
"request_id": "01JAAXH6Z9R3M2K8Q4T7V5W1YB",
"timestamp": "2026-10-17T12:00:00.123456Z"
}
}{
"success": true,
"status_code": 200,
"message": "Sandbox test wallet retrieved.",
"data": {
"currency": "NGN",
"is_test": true,
"available_balance_kobo": 89951000,
"reserved_balance_kobo": 0,
"ledger_balance_kobo": 89951000,
"main_wallet": {
"available_balance_kobo": 89951000,
"reserved_balance_kobo": 0,
"ledger_balance_kobo": 89951000,
"is_locked": false,
"is_test": true
},
"bonus_wallet": {
"available_balance_kobo": 0,
"reserved_balance_kobo": 0,
"ledger_balance_kobo": 0,
"is_locked": false
},
"commission_wallet": {
"available_balance_kobo": 0,
"reserved_balance_kobo": 0,
"ledger_balance_kobo": 0,
"is_locked": false
},
"cashback_wallet": {
"available_balance_kobo": 0,
"reserved_balance_kobo": 0,
"ledger_balance_kobo": 0,
"is_locked": false
}
},
"meta": {
"request_id": "01JAAXH6Z9R3M2K8Q4T7V5W1YB",
"timestamp": "2026-10-17T12:00:00.123456Z"
}
}Base URL https://api.abokidata.com/api/v1
List transactions
GET/transactions
Returns ledger entries (credits and debits) on your live wallets, newest first, using cursor pagination. Test-mode orders do not create ledger entries, so they never appear here, even with a test key; use List orders for those.
Query parameters
limitintegeroptionalNumber of entries to return. Between 1 and 100. Default
20.cursorstringoptionalThe
next_cursor(orprev_cursor) from the previous page'smeta.pagination.directionstringoptionalnextfor older entries,prevfor newer ones. One ofnext,prev. Default"next".typestringoptionalOnly credits or only debits. One of
CREDIT,DEBIT.service_categorystringoptionalOnly entries for one service, e.g.
AIRTIMEorDATA(any case). Up to 40 characters.date_fromstringoptionalOnly entries on or after this date:
YYYY-MM-DDor an ISO 8601 timestamp.date_tostringoptionalOnly entries up to the end of this date:
YYYY-MM-DDor an ISO 8601 timestamp. Must not be beforedate_from.qstringoptionalFree-text search in the narration and reference. Up to 100 characters.
Errors
| HTTP | error_code | When |
|---|---|---|
| 400 | INVALID_CURSOR | The cursor is not one this API issued. |
| 401 | UNAUTHORIZED | The key is missing, invalid or revoked. |
curl "https://api.abokidata.com/api/v1/transactions?limit=20" \
-H "Authorization: Bearer $ABOKI_API_KEY"{
"success": true,
"status_code": 200,
"message": "Transactions retrieved.",
"data": [
{
"id": "0199f2a4-6c1e-7b3a-9d42-5e8f1a2b3c4d",
"reference": "RES-20261017-3F9A1C2B7D4E",
"batch_reference": "RES-20261017-3F9A1C2B7D4E",
"type": "VTU Purchase",
"wallet_type": "MAIN",
"direction": "DEBIT",
"amount_kobo": 49000,
"currency": "NGN",
"narration": "MTN Airtime VTU to 08031234560 (VTU-20261017-9A8B7C6D5E4F)",
"description": "MTN Airtime VTU — 08031234560",
"service_category": "AIRTIME",
"created_at": "2026-10-17T12:00:00.000Z"
}
],
"meta": {
"request_id": "01JAAXH6Z9R3M2K8Q4T7V5W1YB",
"timestamp": "2026-10-17T12:00:00.123456Z",
"pagination": {
"limit": 20,
"has_more": true,
"next_cursor": "eyJjcmVhdGVkX2F0IjoxNzYwNzAyNDAwMDAwLCJpZCI6IjAxOTlmMmE0In0",
"prev_cursor": null
}
}
}Base URL https://api.abokidata.com/api/v1
Get a transaction
GET/transactions/{id}
Returns one ledger entry with the wallet balance before and after it.
Path parameters
idstring (uuid)requiredThe transaction
id(a UUID) from List transactions.
Returns: data
idstring (uuid)optionaltransaction_idstring (uuid)optionalreferencestringoptionaltypestringoptionalwallet_typestringoptionaldirectionstringoptionalOne of
DEBIT,CREDIT.amount_kobointegeroptionalcurrencystringoptionalold_balance_kobointegeroptionalWallet balance before this entry.
new_balance_kobointegeroptionalWallet balance after this entry.
order_statusstringoptionalFor purchases, a display label:
Successful,Failed,Refunded,Under RevieworProcessing. Branch on the order'sstatus, not this.narrationstringoptionalcreated_atstring (date-time)optional
Errors
| HTTP | error_code | When |
|---|---|---|
| 404 | NOT_FOUND | No transaction with that id on your account. |
curl "https://api.abokidata.com/api/v1/transactions/0199f2a4-6c1e-7b3a-9d42-5e8f1a2b3c4d" \
-H "Authorization: Bearer $ABOKI_API_KEY"{
"success": true,
"status_code": 200,
"message": "Transaction retrieved.",
"data": {
"id": "0199f2a4-6c1e-7b3a-9d42-5e8f1a2b3c4d",
"transaction_id": "0199f2a4-6c1e-7b3a-9d42-5e8f1a2b3c4d",
"reference": "RES-20261017-3F9A1C2B7D4E",
"type": "VTU Purchase",
"wallet_type": "MAIN",
"direction": "DEBIT",
"amount_kobo": 49000,
"currency": "NGN",
"old_balance_kobo": 12549050,
"new_balance_kobo": 12500050,
"order_status": "Successful",
"narration": "MTN Airtime VTU to 08031234560 (VTU-20261017-9A8B7C6D5E4F)",
"created_at": "2026-10-17T12:00:00.000Z"
},
"meta": {
"request_id": "01JAAXH6Z9R3M2K8Q4T7V5W1YB",
"timestamp": "2026-10-17T12:00:00.123456Z"
}
}Base URL https://api.abokidata.com/api/v1