Skip to content

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

  • currencystringoptional

    Always NGN.

  • main_walletobjectoptional
    • available_balance_kobointegeroptional

      Spendable now, in kobo.

    • reserved_balance_kobointegeroptional

      Held for orders that have not finished.

    • ledger_balance_kobointegeroptional

      Available plus reserved.

    • is_lockedbooleanoptional
    • is_testbooleanoptional

      Test key only.

  • bonus_walletobjectoptional
    • available_balance_kobointegeroptional

      Spendable now, in kobo.

    • reserved_balance_kobointegeroptional

      Held for orders that have not finished.

    • ledger_balance_kobointegeroptional

      Available plus reserved.

    • is_lockedbooleanoptional
    • is_testbooleanoptional

      Test key only.

  • commission_walletobjectoptional
    • available_balance_kobointegeroptional

      Spendable now, in kobo.

    • reserved_balance_kobointegeroptional

      Held for orders that have not finished.

    • ledger_balance_kobointegeroptional

      Available plus reserved.

    • is_lockedbooleanoptional
    • is_testbooleanoptional

      Test key only.

  • cashback_walletobjectoptional
    • available_balance_kobointegeroptional

      Spendable now, in kobo.

    • reserved_balance_kobointegeroptional

      Held for orders that have not finished.

    • ledger_balance_kobointegeroptional

      Available plus reserved.

    • is_lockedbooleanoptional
    • is_testbooleanoptional

      Test key only.

  • daily_limit_summaryobjectoptional

    Live 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_testbooleanoptional

    Test key only.

  • available_balance_kobointegeroptional

    Test key only: the test wallet's spendable balance.

  • reserved_balance_kobointegeroptional

    Test key only.

  • ledger_balance_kobointegeroptional

    Test key only.

Errors

HTTPerror_codeWhen
401UNAUTHORIZEDThe key is missing, invalid or revoked.
404WALLET_NOT_FOUNDNo live wallet exists for the account.
GET /wallets/me
curl "https://api.abokidata.com/api/v1/wallets/me" \
  -H "Authorization: Bearer $ABOKI_API_KEY"
Wallet retrieved.
200
{
  "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"
  }
}
Sandbox test wallet retrieved.
200
{
  "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

  • limitintegeroptional

    Number of entries to return. Between 1 and 100. Default 20.

  • cursorstringoptional

    The next_cursor (or prev_cursor) from the previous page's meta.pagination.

  • directionstringoptional

    next for older entries, prev for newer ones. One of next, prev. Default "next".

  • typestringoptional

    Only credits or only debits. One of CREDIT, DEBIT.

  • service_categorystringoptional

    Only entries for one service, e.g. AIRTIME or DATA (any case). Up to 40 characters.

  • date_fromstringoptional

    Only entries on or after this date: YYYY-MM-DD or an ISO 8601 timestamp.

  • date_tostringoptional

    Only entries up to the end of this date: YYYY-MM-DD or an ISO 8601 timestamp. Must not be before date_from.

  • qstringoptional

    Free-text search in the narration and reference. Up to 100 characters.

Errors

HTTPerror_codeWhen
400INVALID_CURSORThe cursor is not one this API issued.
401UNAUTHORIZEDThe key is missing, invalid or revoked.
GET /transactions
curl "https://api.abokidata.com/api/v1/transactions?limit=20" \
  -H "Authorization: Bearer $ABOKI_API_KEY"
Transactions retrieved.
200
{
  "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)required

    The transaction id (a UUID) from List transactions.

Returns: data

  • idstring (uuid)optional
  • transaction_idstring (uuid)optional
  • referencestringoptional
  • typestringoptional
  • wallet_typestringoptional
  • directionstringoptional

    One of DEBIT, CREDIT.

  • amount_kobointegeroptional
  • currencystringoptional
  • old_balance_kobointegeroptional

    Wallet balance before this entry.

  • new_balance_kobointegeroptional

    Wallet balance after this entry.

  • order_statusstringoptional

    For purchases, a display label: Successful, Failed, Refunded, Under Review or Processing. Branch on the order's status, not this.

  • narrationstringoptional
  • created_atstring (date-time)optional

Errors

HTTPerror_codeWhen
404NOT_FOUNDNo transaction with that id on your account.
GET /transactions/{id}
curl "https://api.abokidata.com/api/v1/transactions/0199f2a4-6c1e-7b3a-9d42-5e8f1a2b3c4d" \
  -H "Authorization: Bearer $ABOKI_API_KEY"
Transaction retrieved.
200
{
  "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