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

Get account capabilities

Lists the accounts a customer can open from their country: bank, currency, account types, token wallets, rails and the per-customer limit. Call it before you create an account. Send `customer_id`, or `country` with `customer_type`. If you send `customer_id` without `customer_type`, the response lists options for both types. The accepted query parameters are `customer_id`, `country`, `subdivision`, `customer_type`, `currency` and `account_type`.

GEThttps://api.gravv.xyz/v1/accounts/capabilitiesTry it
Api-Key

Lists the accounts a customer can open from their country: bank, currency, account types, token wallets, rails and the per-customer limit. Call it before you create an account. Send customer_id, or country with customer_type. If you send customer_id without customer_type, the response lists options for both types. The accepted query parameters are customer_id, country, subdivision, customer_type, currency and account_type.

The route is under /v1, but it is the first step of a v2 account. The API rejects unknown query parameters.

Query parameters

NameDescription
customer_id:string
Customer to check. Their profile address gives the country when you do not send country.
country:string
Residence country as an ISO 3166-1 alpha-2 or alpha-3 code
subdivision:string
Residence state, such as US-NY or NY
customer_type:string

Customer type to list options for

Possible values: individual, business

currency:string
Three-letter ISO 4217 code to filter by
account_type:string

Keeps only the options that offer this account type. With card or default, each option reports max_accounts_per_customer 1.

Possible values: operating, regular, card, default

Response

Returns 200 OK. Account options

NameDescription
data:objectRequired
Show 5 child attributesobject
error:nullRequired

Errors

StatusMeaning
200Account options
400Invalid filter, unknown parameter, or no country to use
503Gravv could not read the customer profile. Retry.
504The request took more than 10 seconds. Retry.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/accounts/capabilities?customer_id=550e8400-e29b-41d4-a716-446655440178&country=US&subdivision=US-CA&customer_type=individual&currency=USD&account_type=operating' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"country": "US",
"subdivision": "US-CA",
"customer_type": "individual",
"options": [
{
"bank_name": "Example Bank",
"bank_code": "lead_bank",
"currency": "USD",
"account_types": [
"operating",
"regular",
"card",
"default"
],
"categories": [
"main",
"sub_account"
],
"features": {
"collections": true,
"fx_conversion": true,
"internal_transfers": true,
"balance_lookup": true,
"negative_balance": false,
"fbo_account": false
},
"token_wallets": [
{
"network": "polygon",
"asset": "usdc"
}
],
"max_accounts_per_customer": null,
"requires_customer_record": true,
"rails": [
{
"rail": "ach",
"title": "ACH",
"description": "US bank transfer",
"currency": "USD",
"settlement_time": "1-3 business days",
"cost": "low"
}
],
"excluded_countries": [
"CU",
"IR",
"KP",
"SY"
],
"excluded_subdivisions": []
}
]
},
"error": null
}