Start server-to-server KYC verification
Sends the documents you uploaded for review, with no hosted page. This is step 2 of server-to-server verification. Upload every required document first.
Sends the documents you uploaded for review, with no hosted page. This is step 2 of server-to-server verification. Upload every required document first.
For a business, every associated person must complete verification first, and the business needs each COMPANY_DOC subtype. Gravv sends the result in the customer.kyc.status.* webhooks.
When a step is missing, the error names it and the call that fixes it. DOCUMENTS_MISSING names the customer (an associated person together with its business) and lists each missing document with its idDocType and idDocSubType. For a business, ASSOCIATED_PERSONS_INCOMPLETE names every associated person whose KYC is not completed, with their step: no documents uploaded, not started, waiting for review, or rejected with the reviewer's remark. The same message lists any company documents the business still lacks.
A repeat call while the review is running returns 409 KYC_IN_PROGRESS. At any other time, a repeat call submits again. If the review refuses the submission, the call returns 400 SUBMISSION_INCOMPLETE or DOCUMENT_REJECTED with the reason, and the KYC stays unsubmitted so you can fix it and start again. Gravv replays a 4xx response for the same Idempotency-Key, so use a new key after you fix the step.
This flow records no liveness check. A customer verified this way must still complete a liveness step before a card can be issued.
Headers
Idempotency-KeyBody parameters
customer_idResponse
Returns 200 OK. Documents sent for review, or verification completed at once
datastatuspending when the documents were sent for review. completed on tenants with automatic document verification.
Possible values: pending, completed
messageerrorErrors
| Status | Meaning |
|---|---|
| 200 | Documents sent for review, or verification completed at once |
| 400 | Invalid request, a missing step, or a submission the review refused |
| 404 | Customer or KYC record not found |
| 409 | KYC is already completed for this customer, the review of an earlier submission is still running (review status queued, pending or prechecked), or a request with the same Idempotency-Key is still running. |
| 422 | The Idempotency-Key was used before with a different body. |
| 500 | The documents or the review request could not be sent. The KYC stays unsubmitted. Retry with the same Idempotency-Key. |
| 503 | The service is not configured or not reachable. Retry later. |