Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Features List available features

List available features

Returns the feature catalogue. With `customer_id`, `activated` shows which features are active for that customer. The order is not fixed. Every error on this route is HTTP 400.

GEThttps://api.gravv.xyz/v1/risk/featuresTry it
Api-Key

Query parameters

NameDescription
customer_id:string
A customer in your tenant. An unknown customer is a 400 CUSTOMER_NOT_FOUND error.
country:string
Country code. It has no effect today, because every feature is available in every country.
status:string

Filter by activation. It needs customer_id. Without it, every feature is inactive. Other values act as all.

Possible values: active, inactive, all

Default"all"

Response

Returns 200 OK. The feature catalogue

NameDescription
data:objectRequired
Show 3 child attributesobject
error:nullRequired

Errors

StatusMeaning
200The feature catalogue
400Invalid or unknown customer
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request GET \
--url 'https://api.gravv.xyz/v1/risk/features?customer_id=302dabcb-d4fd-4a00-a80b-afad70982614&country=NG&status=all' \
--header 'Api-Key: <api-key>'
Responseapplication/json
200400OK
{
"data": {
"features": [
{
"feature_id": "crypto_wallet",
"name": "Wallet",
"description": "Create and manage wallets",
"activated": false
},
{
"feature_id": "eur_account",
"name": "EUR Account",
"description": "Create and manage EUR currency accounts",
"activated": false
},
{
"feature_id": "gbp_account",
"name": "GBP Account",
"description": "Create and manage GBP currency accounts",
"activated": false
},
{
"feature_id": "international_transfers",
"name": "Payout",
"description": "Send and receive international wire transfers",
"activated": false
},
{
"feature_id": "usd_account",
"name": "USD Account",
"description": "Create and manage USD currency accounts",
"activated": false
},
{
"feature_id": "virtual_cards",
"name": "Cards",
"description": "Issue and manage debit/credit cards",
"activated": false
}
]
},
"error": null
}