Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Features Activate a feature

Activate a feature

Turns on a feature for a customer. For `virtual_cards` it creates a card application and, when the application is approved, issues a virtual card. Cards need completed KYC with a liveness check, a card-type account, and `provider_data` with `annual_remuneration` and `estimated_monthly_limit`. If the customer has no liveness check, the status is `pending_liveness`. Give the cardholder `websdk_url`, then call again.

POSThttps://api.gravv.xyz/v1/risk/features/activateTry it
Api-Key

Turns on a feature for a customer. For virtual_cards it creates a card application and, when the application is approved, issues a virtual card. Cards need completed KYC with a liveness check, a card-type account, and provider_data with annual_remuneration and estimated_monthly_limit. If the customer has no liveness check, the status is pending_liveness. Give the cardholder websdk_url, then call again.

crypto_wallet and international_transfers become active at once. An activation that already exists is returned unchanged. Every error is HTTP 400.

Headers

NameDescription
Idempotency-Key:stringRequired
Required for POST requests. 1 to 255 printable ASCII characters. A retry with the same key and body within 24 hours returns the first response.

Body parameters

NameDescription
customer_id:stringRequired
ID of the customer
feature_id:stringRequired

The catalogue lists six features: virtual_cards (Cards), usd_account, eur_account and gbp_account (accounts), crypto_wallet (Wallet) and international_transfers (Payout). These routes serve cards, so send virtual_cards. Open accounts, wallets and payouts with their own APIs.

Possible values: crypto_wallet, virtual_cards, eur_account, usd_account, gbp_account, international_transfers

activated_by:string
Optional ID of the user who made the request. An invalid value is ignored.
provider_data:object
Data the feature needs. Only virtual_cards reads it today, and that feature requires it. Send numbers as JSON numbers.
Show 6 child attributesobject

Response

Returns 200 OK. Activated, or a liveness check is needed first

NameDescription
data:objectRequired
Show 6 child attributesobject
error:nullRequired

Errors

StatusMeaning
200Activated, or a liveness check is needed first
400Any error
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request POST \
--url 'https://api.gravv.xyz/v1/risk/features/activate' \
--header 'Api-Key: <api-key>' \
--header 'Idempotency-Key: activate-cards-302dabcb-1' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "302dabcb-d4fd-4a00-a80b-afad70982614",
"feature_id": "virtual_cards",
"provider_data": {
"annual_remuneration": 12000,
"estimated_monthly_limit": 200,
"account_id": "5d9e677f-f071-4881-a861-7cdcebacd9d5"
}
}'
Responseapplication/json
200400OK
{
"data": {
"customer_id": "302dabcb-d4fd-4a00-a80b-afad70982614",
"feature_id": "virtual_cards",
"status": "active",
"activated_at": "2026-10-13T11:20:05Z"
},
"error": null
}