Accounts
What an account is, how you open one with the accounts API, and the words the account pages use.
API version: v2.
An account holds money for one of your customers. It has bank details that payers send money to, and it can send money out with a transfer. Many accounts also have a wallet address, because they hold the balance as a stablecoin.
A money example. Ada, a freelancer in London, invoices a US client 1,200.00 USD.
POST /v2/accounts. It starts pending.active and gets a US account number and routing number.How you open an account
GET /v1/accounts/capabilities. The route is under /v1, but it is the first step of a v2 account.GET /v2/accounts/requirements.POST /v2/accounts.Accounts v2 walks through each step.
Which API do I use?
POST /v2/accounts, for any bank, currency or country.POST /v1/accounts only to open your business's card account, the one account that backs every card you issue. v1 opens it in USD at lead_bank or cross_river_bank. See the Card account reference and Set up your card account.Before any account: the customer and KYC
Every account belongs to a customer. Create the customer first, then verify them:
GET /v1/customers/{customer_id} and check that the kyc entry with type basic has status completed.The API refuses to open an account until that entry is completed.
Internal accounts
Internal accounts are the accounts Gravv holds: your business's own accounts and the accounts you open for your customers. External accounts are the bank accounts and mobile wallets outside Gravv that you pay out to. External accounts covers them.
Customer accounts
A customer account is one you open for a customer after their KYC is complete. All money the customer receives or sends moves through it.
Wallet-backed and fiat-only
You choose the kind by choosing the account option. An option with a non-empty token_wallets list is wallet-backed.
Account types
Every option offers the same four account types:
| account_type | Who can hold it | Limit |
|---|---|---|
operating | Any customer. The default | max_accounts_per_customer |
regular | Any customer | max_accounts_per_customer |
card | Your business's own customer only | One per customer |
default | Your business's own customer only, with category main | One per business |
deleted, frozen, failed, rejected or closed card account frees the card slot.frozen default account still holds the default slot.yield, revenue, auto_sweep, collection or non_custodial accounts. An older account can still show one of these types when you read it.Open the card account that backs your cards with v1 for now. See Set up your card account.
Main accounts
A main account is your business's own account. A customer account is one you open for one of your customers. The category field of an account says which it is, main or sub_account. These are the only two categories you can open. Send category sub_account for a customer account. If you leave category out, it is main for your business's own customer and sub_account for any other customer.
Older accounts can show the category virtual or multi_currency when you read or list them.
To find your business's own account, and the customer id it belongs to, call GET /v2/accounts?category=main.
Statuses
| Status | Meaning |
|---|---|
pending | Being opened. There are no bank details yet |
active | Open, with bank details. It can receive and send money |
rejected, failed | The bank refused it, or opening failed. Read status_reason |
frozen | Suspended |
closed | Closed |
deleted, manual_review | Appear only on older accounts |