Gravv
/Docs
Search docs or ask a question⌘K
DocsAgent
ChangelogTry sandbox
Recipes Customers and KYC Customers and KYC

Customers and KYC

Choose the recipe for creating a person or a business, verifying them, fixing a rejection, downloading a document, and the limits that apply once KYC passes.

3 min read

Use these recipes to get a customer ready to hold and move money. You create the customer, verify their identity (KYC) and fix what goes wrong. Every account and every payout starts here, because Gravv opens an account only for a customer whose basic KYC is completed.

Money example. Amara, a nurse in Lagos, signs up with your app. Before KYC, the standard limits let her move 500.00 USD a day. She passes the hosted ID check, her KYC is completed, and the limit becomes 50,000.00 USD a day. You can now open the USD account that her employer pays her 1,200.00 USD salary into.

Choose your recipe

You want toStatusRecipe
Create a person and verify them on Gravv's hosted page, with a liveness checkAvailableVerify a person on a hosted page
Verify a person with an ID and selfie you already holdAvailableVerify a person with documents you upload
Create a company with its owners and directors, and verify all of themAvailableOnboard a business and its owners
Try again after KYC failedAvailableResubmit KYC after a rejection
Get a copy of an uploaded ID for a compliance reviewAvailableDownload a KYC document
Know how much a customer can send, and raise itAvailableRaise a customer's limits with KYC
A payout paused for the sender's name or date of birthAvailableAvoid a payout pause for sender details

The intermediate KYC level is Not yet available. Every customer has the row, but no API call starts it. Card KYC with liveness is in the card KYC flow.

Which way to verify

CustomerHosted page (/kyc/start)Documents you upload (/kyc/upload-document + /kyc/start-s2s)
A personAvailable, with a liveness checkAvailable, no liveness check
A business's associated personAvailable, with the person's own idAvailable, with the person's own id
A businessAvailable, after every associated person is verifiedAvailable, with four company documents, after every person is verified
On a business Gravv set up for automatic verificationNot supported. The API refuses the startAvailable. KYC completes from the documents

Gravv bills a hosted start once, and a restart after a failure or an expired link is free. Gravv bills every server-to-server start again, except one it refuses before submission, such as a start with documents missing or one made while the review is still running.

Rules every recipe relies on

•
Send every request to one host, https://api.gravv.xyz, with the Api-Key header. A key that starts with grvSec_sandbox_ reaches sandbox; any other key is live. Sandbox and live data are separate, so an id from one is "not found" in the other.
•
Every POST needs its own new Idempotency-Key. Gravv replays a 4xx response for 24 hours under its key, so use a new key after you fix a request. Keep the same key only after a timeout or a 5xx.
•
Customer and KYC errors return {"data": null, "error": "<text>"}, with error as a string. KYC error texts start with a code such as INVALID_REQUEST:. When you skip a verification step or call one out of order, the code names the step, such as DOCUMENTS_MISSING or ASSOCIATED_PERSONS_INCOMPLETE, and the text names the customer and the next call. Gateway errors, such as a reused key, carry an object instead.
•
A scoped key needs customer:create to create, customer:update to update, upload or download, and customer:update or customer:kyc_override to start KYC.
•
The decision that counts is kyc[type=basic].status on GET /v1/customers/{customer_id}, or the customer.kyc.status.* webhook. Deduplicate webhooks on the body's event_id.
•
Sandbox KYC completes every finished review. The basic row becomes completed about 3 minutes after submission, whatever you upload, so you cannot test a rejection in sandbox.
Was this page helpful? Yes No