Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Guides Accounts Accounts v2

Accounts v2

Open a bank account for a customer at the bank option you choose, follow it until it has bank details, and receive deposits.

3 min read

API version: v2.

Use Accounts v2 to open a bank account for a customer. You choose the bank option, read what that bank needs, open the account in one call, and follow it until it has bank details. Each step has its own page, linked below.

A money example. Ada, a UK freelancer, wants to be paid 1,200.00 USD by a US client.

1.
Capabilities says which USD options a GB individual can open. You pick a wallet-backed one.
2.
Requirements lists the fields and documents that option needs.
3.
POST /v2/accounts returns {"account_id": "…", "status": "pending"}.
4.
You wait for applications.accounts.completed (Track activation), then read the account for its account and routing numbers.
5.
The client sends 1,200.00 USD by ACH, and you see it with the deposit webhooks (Receive deposits).

The flow

flowchart LR
    A[Customer KYC completed] --> B[GET /v1/accounts/capabilities]
    B --> C[GET /v2/accounts/requirements]
    C --> D[POST /v2/accounts]
    D --> E{Account status}
    E -- active --> F[Show bank details]
    E -- pending, requires_user_action --> G[PATCH the application]
    G --> E
    E -- rejected or failed --> H[Choose another option]

Account and application

Opening a v2 account creates two records:

•
The account (id), which payers send money to once it is active.
•
The application (application_id), which tracks the bank's review. The create response does not include its id, so read it from GET /v2/accounts/{id}.

Account statuses:

flowchart LR
    pending --> active
    pending --> rejected
    pending --> failed
    pending --> frozen
    active --> frozen
    frozen --> active
    active --> closed

Application statuses:

StatusMeaning
processingThe bank is working on the application
blockedThe application waits on you or the customer
manual_reviewGravv holds the application
approved, rejectedThe final outcome, after the statuses above
expired, cancelledThese also end an application
draft, submittedThese appear only on applications not made with POST /v2/accounts

What you can open

For any one customer, capabilities gives the current answer. Today, the options are:

CurrencyWallet-backed (USDC behind the account)Fiat-only (money stays in the currency)
USDAvailable for individuals and businessesAvailable for US residents and US companies, and for Kenya residents
EURAvailableAvailable. One IBAN per customer, EUR or GBP
GBPAvailableAvailable. One IBAN per customer, EUR or GBP
NGNNot supportedAvailable for Nigeria
CNY, RWFNot supportedAvailable for Kenya residents
MXN, BRL, COP and othersNot supportedNot supported

Each option excludes some countries. The lists change, so read excluded_countries from capabilities for each customer rather than storing them.

For a wallet-backed account, Gravv supports stellar, polygon, ethereum, avalanche_c_chain and solana. Send one of these that the option's token_options in requirements also lists. An option can list other networks too. Treat those as not supported. If in doubt, use polygon, which every wallet-backed option offers.

Before you start

•
A customer whose basic KYC is completed. Otherwise the API refuses the create call with CUSTOMER_KYC_INCOMPLETE.
•
If you use a scoped API key, it needs account:create for create and PATCH.
•
A webhook URL for applications.accounts.* events, or a plan to poll GET /v2/accounts/{id}.

Pages

Was this page helpful? Yes No