Transfers

List transfers between your accounts

Most recent first, scoped to your business and your key's mode. Paged with a cursor: pass the response's `next_cursor` as `before` to get the next, older page, and stop when `next_cursor` is null. Paging is exact: a transfer made while you page never shifts a page, so nothing is shown twice or skipped. Keep `account`, `since` and `until` the same on every page of one walk.

Before you call this endpoint

  • An API key needs the accounts:read scope.
  • Once your business has an IP allowlist, every live key must call from an address on it.
  • Guide: Move money between accounts
GET
/api/b/v1/transfers

Most recent first, scoped to your business and your key's mode.

Paged with a cursor: pass the response's next_cursor as before to get the next, older page, and stop when next_cursor is null. Paging is exact: a transfer made while you page never shifts a page, so nothing is shown twice or skipped. Keep account, since and until the same on every page of one walk.

Query Parameters

account?|

Only transfers into or out of this account (acct_…).

limit?Limit
Range1 <= value <= 200
Default50
since?|

Only transfers made at or after this time, RFC 3339.

until?|

Only transfers made at or before this time, RFC 3339.

before?|

The previous page's next_cursor. Omit for the newest page.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/b/v1/transfers"
{  "transfers": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "from_account": "acct_4f1c9a2b7d3e8f6a0b1c2d3e",      "to_account": "acct_9b8a7c6d5e4f3a2b1c0d9e8f",      "amount_minor": 0,      "currency": "string",      "reference": "string",      "narration": "string",      "status": "string",      "is_test": true,      "initiated_by": "9f5ebe27-153d-4963-8417-06d50be356ec",      "initiated_by_name": "Aline Uwase",      "initiated_by_api_key_id": "b3e666e2-4967-42f0-ac3d-11cc9c196ca9",      "created_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}

An account's statement

Entries for a period on one account, with the balances that bracket it. The same statement `GET /statements` gives for the main account: opening plus credits minus debits equals closing, from the ledger. A transfer shows on both accounts, as a debit on one and a credit on the other. A test account's statement is always empty. One currency per statement, as `GET /statements`: a running balance exists only within a currency. For every currency's totals in one call, `GET /accounts/{reference}/statement/summary`.

Move money between your accounts

Move money between two of your own accounts, in one currency. Instant: the whole amount is in `to_account` when this returns. The money never leaves your business, so a live key with `accounts:write` (and not `payouts:write`) is not refused while your API IP allowlist is empty. Once the list has entries, every live key, this one included, must call from an address on it. A repeated `idempotency_key` returns the original transfer with 201. With a test key, both accounts are test accounts and nothing moves. The key may come in the body, the `Idempotency-Key` header, or both, and the two need not match. The header is checked first: the same header with the same body replays the stored response (`Idempotent-Replay: true`), and with a different body is refused. Then `idempotency_key` is: the same key with the same transfer returns it, and with a different transfer is refused. Either refusal is 422 `IDEMPOTENCY_KEY_REUSED`, and nothing moves.