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
status:stringRequired
Always success.
Possible values: success
review_status:stringRequired
pending when a link was issued. completed when the customer is already verified.
Possible values: pending, completed
web_url:string
Hosted verification link. It expires after one hour. Omitted when review_status is completed.
error:nullRequired
Errors
Status
Meaning
200
Link issued, or the customer is already verified
400
Invalid request or unmet precondition
404
Customer or KYC record not found
409
A request with the same Idempotency-Key is still running. Retry after the Retry-After header.
422
The Idempotency-Key was used before with a different body.
500
Verification could not start. Retry with a new Idempotency-Key.
503
The service is not configured or not reachable. Retry later.