Transfers
Fetch a transfer
One transfer. Someone else's and one that does not exist are the same 404.
Before you call this endpoint
- An API key needs the
accounts:readscope. - Once your business has an IP allowlist, every live key must call from an address on it.
- Guide: Move money between accounts
One transfer. Someone else's and one that does not exist are the same 404.
Path Parameters
uuidResponse Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/b/v1/transfers/497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "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"}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.
List webhook endpoints
Next Page