KYC Guide
Overview
Know Your Customer (KYC) verifies an individual customer's identity before the customer can move money. On v3, each individual customer has one KYC record, under /v3/customers/{customer_id}/kyc. You fill it in through the API (the applicant's details and identity documents), then hand it to the verification provider, and read the verdict on the same record.
First, create an individual customer with Create Blockwyre Account. Business customers are verified through the KYB Guide instead.
Table of Contents
- Before you start
- KYC Process Overview
- Verification Statuses
- Step 1: Create the customer
- Step 2: Open the KYC record
- Step 3: Write the applicant's details
- Step 4: Upload the identity documents
- Step 5: Request verification
- Step 6: Read the outcome
- External verification
- Webhook Events
- Document Requirements
- Testing
- Card verification (v2)
- v2 (deprecated)
Before you start
- A workspace-scoped API key. KYC is the workspace's own operation: every endpoint here takes a workspace-scoped key (no
accountIdclaim) or a dashboard session. An account-scoped key is refused with401. See Key types and permissions. - Signed requests. Every request carries
Authorization: APIKey <signed JWT>, as described in the Authentication guide. - The base URL of the environment you are calling: see Environments.
- An individual customer. These endpoints answer
422 kyc_business_not_supportedfor a business customer.
No KYC endpoint takes an Idempotency-Key: opening the record again returns the one already there, writing the details replaces them, and requesting verification again while it runs starts nothing.
KYC Process Overview
The applicant never leaves your platform: v3 has no verification link. You collect the details and the documents and send them through the API.
Verification Statuses
The record's status:
status | Means | Details and documents editable | What to do |
|---|---|---|---|
pending | Open; verification not requested yet. | Yes | Write the details, upload the documents, request verification. |
in_review | Handed to the verification provider. | No | Wait, and read the record. |
approved | Verified. The customer's status becomes active. | No | Nothing: the customer can transact. |
needs_update | Sent back for changes. status_reason says why. | Yes | Correct what status_reason asks for. Verification cannot be requested again through the API (409 kyc_needs_update): contact BlockWyre support once the record is corrected. |
rejected | Refused. Final: it cannot be resubmitted. | No | Tell the applicant, and contact BlockWyre support for details. |
The provider settles a record as approved or rejected. BlockWyre's compliance team can also settle a record, or send it back as needs_update.
The customer itself carries a summary of this record in verification_status: incomplete (no record, or needs_update), pending (pending or in_review), approved or failed (rejected). See Customer statuses.
Step 1: Create the customer
Create it with POST /v3/customers and customer_type: "individual", with an Idempotency-Key: see Create Blockwyre Account. Keep its id (cst_…): every KYC endpoint takes it in the path.
Step 2: Open the KYC record
Endpoint: POST /v3/customers/{customer_id}/kyc (reference)
No request body. It creates the record, empty and pending, and answers 201 Created. A customer has one record: opening it again answers 200 OK with the record as it is, so a retry is safe.
{
"id": "kyc_01k8x494z0e2escqpt6bde8hag",
"customer_id": "cst_01k8x40x9gfx6sv8a99hswy9bd",
"type": "banking",
"status": "pending",
"status_reason": "verification record created",
"ready": false,
"event_history": [
{
"status": "pending",
"status_reason": "verification record created",
"date": "2025-10-31T12:36:04Z"
}
],
"created_at": "2025-10-31T12:36:04Z",
"updated_at": "2025-10-31T12:36:04Z"
}
It answers 404 customer_not_found for an id that is not a customer of the workspace, and 422 kyc_business_not_supported for a business.
Step 3: Write the applicant's details
Endpoint: PATCH /v3/customers/{customer_id}/kyc (reference)
It writes the applicant's details onto the record. It does not change the status and does not start verification.
The body replaces the whole set: a field you leave out is cleared. Send every field you have, every time. Every field is optional here, so a form can be saved half filled; the required ones are checked when you request verification.
{
"email": "samantha@example.com",
"first_name": "Samantha",
"last_name": "Reyes",
"phone": "+14155550123",
"date_of_birth": "1990-04-12",
"nationality": "US",
"address": {
"line1": "742 Evergreen Terrace",
"line2": "Apt 2",
"city": "Springfield",
"state": "OR",
"postal_code": "97477",
"country": "US"
},
"identity_document": {
"number": "X1234567",
"type": "passport",
"issue_date": "2018-03-01",
"expiry_date": "2028-03-01",
"country_of_issue": "US"
},
"occupation": "Engineer",
"employed_company_name": "Northwind Traders",
"employed_job_title": "Staff Engineer",
"source_of_funds": ["salary"]
}
| Field | Needed to request verification | Format |
|---|---|---|
first_name, last_name | Yes | At most 255 characters each. |
date_of_birth | Yes | YYYY-MM-DD. |
identity_document.number | Yes | 2 to 20 characters. |
identity_document.type | Yes | passport, driver_license, national_id, ssn, itin, ein or other. |
identity_document.issue_date, expiry_date | No | YYYY-MM-DD. |
identity_document.country_of_issue | No | ISO 3166-1 alpha-2. |
email | No | A valid email. |
phone | No | E.164, e.g. +14155550123. |
nationality | No | ISO 3166-1 alpha-2, e.g. US. |
address | No | Either left out, or with line1, city, state, postal_code and country all filled in (line2 optional). postal_code must fit the country. |
occupation, employed_company_name, employed_job_title | No | At most 255 characters each. |
source_of_funds | No | Any of salary, savings, investments, loans, self_employed, other. |
The response is the whole record. ready turns true once the five fields marked "Yes" are in. Documents are not counted in ready.
The details can be written while the record is pending or needs_update. Once it is in_review, approved or rejected they are locked: 409 kyc_verification_in_flight, kyc_already_approved or kyc_rejected. A partly filled address or identity_document answers 400 (invalid_address, invalid_country, invalid_id_number, invalid_id_document_type).
Step 4: Upload the identity documents
An individual's record has three document slots:
slot | Is | Needed to request verification |
|---|---|---|
face | A selfie of the applicant. | Yes |
document-front | The front of the identity document. | Yes |
document-back | The back of the identity document. | Only when the document has one. |
Each file goes from your client straight to storage, never through the API, in three steps:
-
Presign:
POST /v3/customers/{customer_id}/kyc/documents/presign(reference) with theslot, thecontent_type(application/pdf,image/jpegorimage/png), thesize_bytesand, optionally, thefile_name. The answer carries adocument_id, aurland a set of formfields.{"slot": "document-front","content_type": "image/png","size_bytes": 524288,"file_name": "passport-front.png"} -
Upload:
POSTamultipart/form-datarequest tourl, with every entry offieldsas is, then the file last, in a part namedfile. NoAuthorizationheader: the signature travels in the fields.curl -X POST "$URL" \-F "key=$KEY" -F "Content-Type=image/png" -F "policy=$POLICY" \-F "X-Amz-Algorithm=$ALGORITHM" -F "X-Amz-Credential=$CREDENTIAL" \-F "X-Amz-Date=$DATE" -F "X-Amz-Security-Token=$TOKEN" -F "X-Amz-Signature=$SIGNATURE" \-F "file=@passport-front.png" -
Complete:
POST /v3/customers/{customer_id}/kyc/documents/{document_id}/complete(reference), no body. It reads the file's real size from storage and marks the documentready. Onlyreadydocuments count when you request verification, so call it after every upload.
Things to know:
- Limits. Each file has a size limit, and all of a record's documents together share a total, because the provider receives them in one request. List Documents returns both (
max_document_bytesandremaining_bytes): read them there rather than hard-coding them. A file over the per-file limit answers400 document_too_large; one that does not fit next to the others,409 document_budget_exceeded. - Expiry. The upload URL is valid for a short time (15 minutes). If it lapses, presign again.
- Replacing a file. Presign the same slot again: it keeps the same
document_id, and the document ispendinguntil you complete the new upload. To free a slot, delete the document. - A file that never arrived. Complete answers
409 document_not_uploaded: upload it (presign again if the URL expired), then complete. - Locked. Documents can be changed while the record is
pendingorneeds_update, not once it isin_review,approvedorrejected.
Step 5: Request verification
Endpoint: POST /v3/customers/{customer_id}/kyc/request-verification (reference)
No request body. It hands the record to the verification provider and moves it to in_review. The provider takes a record once, so the request checks everything first: the five required details (see ready) and completed face and document-front documents.
{
"kyc": {
"id": "kyc_01k8x494z0e2escqpt6bde8hag",
"customer_id": "cst_01k8x40x9gfx6sv8a99hswy9bd",
"type": "banking",
"status": "in_review",
"status_reason": "verification requested",
"first_name": "Samantha",
"last_name": "Reyes",
"date_of_birth": "1990-04-12",
"identity_document": {
"number": "X1234567",
"type": "passport"
},
"ready": true,
"event_history": [
{
"status": "in_review",
"status_reason": "verification requested",
"date": "2025-10-31T12:47:10Z"
},
{
"status": "pending",
"status_reason": "verification record created",
"date": "2025-10-31T12:36:04Z"
}
],
"created_at": "2025-10-31T12:36:04Z",
"updated_at": "2025-10-31T12:47:10Z"
},
"already_running": false
}
Requesting again while the record is in_review or approved is a retry, not an error: it answers 200 with already_running: true and starts nothing.
Refusals and what to fix
| Status | message | Why | What to fix |
|---|---|---|---|
404 | customer_not_found | The id is not a customer of this workspace. | Check the customer_id. |
404 | kyc_not_found | The customer has no record. | Open it first. |
409 | kyc_needs_update | The record was sent back for changes. | Correct what status_reason asks for, then contact BlockWyre support. |
409 | kyc_rejected | The record was rejected. It cannot be resubmitted. | Contact BlockWyre support. |
422 | kyc_incomplete_applicant | first_name, last_name, date_of_birth, identity_document.number or identity_document.type is missing. | Write the details again with them, the whole set, and check that ready is true. |
422 | kyc_missing_documents | The face or document-front document is missing, or its upload was never completed. | Upload and complete it; List Documents shows each document's state, which must be ready. |
422 | kyc_business_not_supported | The customer is a business. | Verify it through KYB. |
Step 6: Read the outcome
Endpoint: GET /v3/customers/{customer_id}/kyc (reference)
| Answer | Means |
|---|---|
200 with the record | Read status, status_reason and event_history (newest first). |
204 No Content | The customer has no record yet. Reading never creates one. |
404 customer_not_found | The id is not a customer of this workspace. |
The verdict arrives some time after the request, so read the record again until status leaves in_review. When it is approved, the customer's status becomes active and its verification_status approved: Get Customer shows both.
External verification
If you already verified the applicant with your own identity provider, send its result with the verification request instead of a plain request.
Endpoint: POST /v3/customers/{customer_id}/kyc/submit-external-verification (reference)
{
"provider": "sumsub",
"raw": {
"applicantId": "abc123",
"reviewResult": "GREEN"
}
}
provideris your provider's name (free text, cut at 60 characters);rawis its result, a JSON object or array (or a string holding one), stored as sent.- It carries no files. Upload
faceanddocument-frontfirst (Step 4). - It does not approve the record. It records the provider and result, then runs the same checks and the same hand-off as request verification: the record goes
in_review, the provider decides, and the response is the same{ kyc, already_running }. - It refuses with the same codes as request verification, plus
400 invalid_external_provider(blankprovider) and400 invalid_external_raw(rawis not JSON). On422 kyc_missing_documentsthe provider and result are kept: upload the documents and send the request again.
Webhook Events
The v3 verification flow sends no webhooks yet: follow it by reading the record. GET /v3/customers/{customer_id}/kyc is the source of truth for the status.
The KYC events of the compliance webhook category are sent by the deprecated v2 flow:
| Event | Sent when |
|---|---|
kyc_status_updated | The verification's status changed. |
kyc_needs_update | The status changed to needs_update. It is sent instead of kyc_status_updated for that change. |
kyc_verification_submitted | The verification was submitted. |
kyc_verification_signed | The applicant accepted the terms and conditions or the privacy policy (signedVia: terms_and_conditions or privacy_policy). |
kyc_document_upload_received | A document upload was received from the verification provider. |
kyc_document_uploaded | Documents were uploaded. |
kyc_verification_completed | The applicant finished the verification flow. It carries no outcome: read the status. |
The account events of the accounts category (account_created, account_status_updated) also come from the v2 flow: creating a customer with POST /v3/customers, or activating it after an approved v3 record, sends neither.
When each one is sent, and its payload, are described in Account, KYC & KYB Webhooks. Setting up a target and verifying signatures are in the Webhooks Guide.
Document Requirements
- Identity document types (
identity_document.type):passport,driver_license,national_id,ssn,itin,ein,other. - Files: PDF, JPEG or PNG. The upload must carry exactly the
content_typeyou presigned. - Size: within the per-file limit and the record's total; List Documents returns both.
- Legibility: images must be clear and the document current, not expired.
- Formats: dates
YYYY-MM-DD; countries ISO 3166-1 alpha-2; phone numbers E.164.
Testing
Sandbox
Run the whole flow against the sandbox API (https://api-sandbox.blockwyre.xyz) with a sandbox key, exactly as above. A v3 record has no verification link and no simulator: request verification hands the record to the verification provider, and its verdict lands on the record as in production. Read it with GET …/kyc.
The provider only answers approved or rejected; it never sends a record back as needs_update. That status, and any other outcome you need to test on purpose, comes from a BlockWyre staff review: staff can set a sandbox record's status, and an approval set that way activates the customer exactly as the provider's would. Contact BlockWyre support when you need one, or when a sandbox record stays in review.
The verification simulator belongs to the v2 flow (see v2 (deprecated)): v2 answers a verificationUrl, and in sandbox that link leads, after the terms and privacy pages, to the simulator at https://api-sandbox.blockwyre.xyz/v2/verification/simulator/<token>. There you choose the outcome: approved, declined or resubmission_requested. Open the verificationUrl the API returns; do not build it.
What to test
- A record refused for each reason: missing details (
kyc_incomplete_applicant), missing documents (kyc_missing_documents), a business customer (kyc_business_not_supported). - A retried open (
200, same record) and a retried request (already_running: true). - A document replaced in its slot, and an expired upload URL presigned again.
- Your handling of every status, including
needs_updateandrejected.
Card verification (v2)
Card services take their own verification, on v2 only:
| Endpoint | Reference |
|---|---|
POST /api/v2/kyc/card-verification | Submit Account Verification |
GET /api/v2/kyc/card-verification/{accountId} | Card Verification Status |
POST /api/v2/kyc/card-verification/{accountId}/request-verification | Request Card Verification from Banking: creates the card verification, approved, from an approved KYC. |
They are signed like every other request (Authorization: APIKey <signed JWT>) and take a workspace-scoped key; an account-scoped key is refused with 403. accountId is the customer's id in UUID form (for a customer created in v3, that is its reference).
v2 (deprecated)
The v2 individual verification endpoints keep working while integrations move, but they are deprecated:
The main difference: v2 answers a verificationUrl and the applicant uploads the documents there; v3 takes the documents through the API. A v2 verificationUrl has the form https://verify.blockwyre.com/v2/verification/<token> in production; in sandbox it leads to the simulator described under Testing. The v2 endpoints take a workspace-scoped key too; an account-scoped key is refused with 403.
Support
For questions about the KYC process, or a record sent back or rejected: support@blockwyre.com.
Support and Resources
If you need assistance or have any questions, our support team is here to help. You can contact our support team at support@blockwyre.com.
Stay Updated
Stay up-to-date with the latest news, updates, and features from BlockWyre by following us on social media:
- Instagram: BlockWyre Instagram
- Twitter: BlockWyre Twitter
- Facebook: BlockWyre Facebook
- LinkedIn: BlockWyre LinkedIn
We are excited to have you on board and look forward to seeing how you leverage BlockWyre's powerful tools to enhance your financial operations. Happy integrating!