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

Start KYC verification

Starts hosted verification and returns a link for the person or business to complete. The link expires after one hour. Call again with a new Idempotency-Key for a fresh link. The same key returns the old link.

POSThttps://api.gravv.xyz/v1/customers/kyc/startTry it
Api-Key

Starts hosted verification and returns a link for the person or business to complete. The link expires after one hour. Call again with a new Idempotency-Key for a fresh link. The same key returns the old link.

A customer who is already verified gets review_status: completed and no link. For a business, every associated person must complete verification first. Otherwise the start returns 400 ASSOCIATED_PERSONS_INCOMPLETE, which names each person whose KYC is not completed, with the step they need and the call that finishes it. Tenants with automatic document verification get a 400 and must use the upload route instead.

Gravv sends the result in the customer.kyc.status.* webhooks. Each first start charges one KYC fee.

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 individual, business or UBO customer to verify. Other fields are ignored.

Response

Returns 200 OK. Link issued, or the customer is already verified

NameDescription
data:objectRequired
Show 3 child attributesobject
error:nullRequired

Errors

StatusMeaning
200Link issued, or the customer is already verified
400Invalid request or unmet precondition
404Customer or KYC record not found
409A request with the same Idempotency-Key is still running. Retry after the Retry-After header.
422The Idempotency-Key was used before with a different body.
500Verification could not start. Retry with a new Idempotency-Key.
503The service is not configured or not reachable. Retry later.
Was this page helpful? Yes No
Request
cURLJavaScriptPythonGoRubyPHPJavaC#cURL
curl --request POST \
--url 'https://api.gravv.xyz/v1/customers/kyc/start' \
--header 'Api-Key: <api-key>' \
--header 'Idempotency-Key: kyc-start-b84d9a52-attempt-1' \
--header 'Content-Type: application/json' \
--data '{
"customer_id": "d2581d3c-7c55-4607-9717-546694194636"
}'
Responseapplication/json
200400404409422500503OK
{
"data": {
"status": "success",
"review_status": "pending",
"web_url": "https://verify.gravv.xyz/websdk/p/example_token"
},
"error": null
}