API Reference
Features overview
Use the Features API to list features, check a customer's eligibility, and activate the card feature, virtual_cards. Activation creates the customer's card application.
List available features or browse the operations in this category.
Learn how feature discovery, eligibility, and activation work.
How it works
You switch features on per customer. These routes serve cards only. The catalog lists six features, but the one you activate here is virtual_cards. Open accounts, wallets and payouts with their own APIs. The lifecycle has three steps:
- Discover. Call
GET /v1/risk/features. Without acustomer_id, it returns the feature catalog. With acustomer_id, it also shows which features are activated for that customer. - Check eligibility. Call
POST /v1/risk/features/eligibilityto see the customer's outstanding requirements. Forvirtual_cards,eligiblestaysfalseuntil activation, because you sendprovider_dataat activation. Pending items have noproviderfield. - Activate. Call
POST /v1/risk/features/activatewith thefeature_idand the requiredprovider_data. Always send your business's card account asprovider_data.account_id. After a liveness check, send a newIdempotency-Key. See Activate feature.
Endpoints
| Endpoint | Description |
|---|---|
GET /v1/risk/features |
List available features, or a customer's features and activation status |
POST /v1/risk/features/eligibility |
Check a customer's eligibility for a feature and list its requirements |
POST /v1/risk/features/activate |
Activate a feature for a customer |
Authentication
All requests use https://api.gravv.xyz/v1/ and authenticate with the Api-Key header. See Authentication for details.
Was this page helpful?