Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Card KYC Start cardholder KYC verification

Start cardholder KYC verification

Starts hosted verification for a cardholder, with a liveness check, and returns a link. The link expires after one hour.

POSThttps://api.gravv.xyz/v1/risk/start-kycTry it
Api-Key

Starts hosted verification for a cardholder, with a liveness check, and returns a link. The link expires after one hour.

Do not call this for a customer whose KYC is already completed. It sets the customer's KYC back to pending until the new review ends, which can block accounts and cards. To get only a liveness check, use the link that feature activation returns.

Every error on this route 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 to verify. Other fields are ignored.

Response

Returns 200 OK. Link issued

NameDescription
data:objectRequired
Show 6 child attributesobject
error:nullRequired

Errors

StatusMeaning
200Link issued
400Any error, including an unknown customer and a start already in progress.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request POST \
--url 'https://api.gravv.xyz/v1/risk/start-kyc' \
--header 'Api-Key: <api-key>' \
--header 'Idempotency-Key: card-kyc-b84d9a52-attempt-1' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "d2581d3c-7c55-4607-9717-546694194636"
}'
Responseapplication/json
200400OK
{
"data": {
"status": "success",
"applicant_id": "66f0c2a1b3d4e5f6a7b8c9d0",
"kyc_level": "basic",
"review_status": "pending",
"external_user_id": "d2581d3c-7c55-4607-9717-546694194636",
"web_url": "https://verify.gravv.xyz/websdk/p/example_token"
},
"error": null
}