Transfers
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.
Before you call this endpoint
- An API key needs the
accounts:writescope. - Both accounts are yours, in the key's mode, and hold the currency. The one paying is active.
- Once your business has an IP allowlist, every live key must call from an address on it.
- Guide: Move money between 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.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Money to move between two of your own accounts.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/b/v1/transfers" \ -H "Content-Type: application/json" \ -d '{ "idempotency_key": "transfer-2026-11-0042", "from_account": "acct_4f1c9a2b7d3e8f6a0b1c2d3e", "to_account": "acct_9b8a7c6d5e4f3a2b1c0d9e8f", "amount_minor": 250000000, "currency": "RWF" }'{ "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"}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.
Fetch a transfer
One transfer. Someone else's and one that does not exist are the same 404.