Accounts

Open an account

Open a sub-account, self-serve, in one call. It holds the currencies your main account holds, starts empty, and is ready at once: name it as `account` on a charge to collect into it, on a payout to pay from it, or in `POST /transfers` to fund it. Sub-accounts are for splitting your own money - Collections, Salary, Cashbook. They are not for holding money on behalf of your customers.

Before you call this endpoint

  • An API key needs the accounts:write scope.
  • A live key: your main account exists, which it does once your business is verified.
  • Once your business has an IP allowlist, every live key must call from an address on it.
  • Guide: Open an account
POST
/api/b/v1/accounts

Open a sub-account, self-serve, in one call.

It holds the currencies your main account holds, starts empty, and is ready at once: name it as account on a charge to collect into it, on a payout to pay from it, or in POST /transfers to fund it.

Sub-accounts are for splitting your own money - Collections, Salary, Cashbook. They are not for holding money on behalf of your customers.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

A new account.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/b/v1/accounts" \  -H "Content-Type: application/json" \  -d '{    "label": "Salary"  }'
{  "reference": "acct_4f1c9a2b7d3e8f6a0b1c2d3e",  "label": "Salary",  "kind": "payroll",  "is_main": true,  "status": "active",  "frozen_by": "string",  "is_test": true,  "currencies": [    "USD",    "RWF"  ],  "balances": [    {      "currency": "string",      "balance_minor": 0    }  ],  "created_at": "2019-08-24T14:15:22Z",  "closed_at": "2019-08-24T14:15:22Z"}