Skip to main content

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​

  1. Before you start
  2. KYC Process Overview
  3. Verification Statuses
  4. Step 1: Create the customer
  5. Step 2: Open the KYC record
  6. Step 3: Write the applicant's details
  7. Step 4: Upload the identity documents
  8. Step 5: Request verification
  9. Step 6: Read the outcome
  10. External verification
  11. Webhook Events
  12. Document Requirements
  13. Testing
  14. Card verification (v2)
  15. 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 accountId claim) or a dashboard session. An account-scoped key is refused with 401. 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_supported for 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:

statusMeansDetails and documents editableWhat to do
pendingOpen; verification not requested yet.YesWrite the details, upload the documents, request verification.
in_reviewHanded to the verification provider.NoWait, and read the record.
approvedVerified. The customer's status becomes active.NoNothing: the customer can transact.
needs_updateSent back for changes. status_reason says why.YesCorrect 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.
rejectedRefused. Final: it cannot be resubmitted.NoTell 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"]
}
FieldNeeded to request verificationFormat
first_name, last_nameYesAt most 255 characters each.
date_of_birthYesYYYY-MM-DD.
identity_document.numberYes2 to 20 characters.
identity_document.typeYespassport, driver_license, national_id, ssn, itin, ein or other.
identity_document.issue_date, expiry_dateNoYYYY-MM-DD.
identity_document.country_of_issueNoISO 3166-1 alpha-2.
emailNoA valid email.
phoneNoE.164, e.g. +14155550123.
nationalityNoISO 3166-1 alpha-2, e.g. US.
addressNoEither 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_titleNoAt most 255 characters each.
source_of_fundsNoAny 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:

slotIsNeeded to request verification
faceA selfie of the applicant.Yes
document-frontThe front of the identity document.Yes
document-backThe 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:

  1. Presign: POST /v3/customers/{customer_id}/kyc/documents/presign (reference) with the slot, the content_type (application/pdf, image/jpeg or image/png), the size_bytes and, optionally, the file_name. The answer carries a document_id, a url and a set of form fields.

    {
    "slot": "document-front",
    "content_type": "image/png",
    "size_bytes": 524288,
    "file_name": "passport-front.png"
    }
  2. Upload: POST a multipart/form-data request to url, with every entry of fields as is, then the file last, in a part named file. No Authorization header: 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"
  3. 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 document ready. Only ready documents 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_bytes and remaining_bytes): read them there rather than hard-coding them. A file over the per-file limit answers 400 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 is pending until 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 pending or needs_update, not once it is in_review, approved or rejected.

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​

StatusmessageWhyWhat to fix
404customer_not_foundThe id is not a customer of this workspace.Check the customer_id.
404kyc_not_foundThe customer has no record.Open it first.
409kyc_needs_updateThe record was sent back for changes.Correct what status_reason asks for, then contact BlockWyre support.
409kyc_rejectedThe record was rejected. It cannot be resubmitted.Contact BlockWyre support.
422kyc_incomplete_applicantfirst_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.
422kyc_missing_documentsThe 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.
422kyc_business_not_supportedThe customer is a business.Verify it through KYB.

Step 6: Read the outcome​

Endpoint: GET /v3/customers/{customer_id}/kyc (reference)

AnswerMeans
200 with the recordRead status, status_reason and event_history (newest first).
204 No ContentThe customer has no record yet. Reading never creates one.
404 customer_not_foundThe 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"
}
}
  • provider is your provider's name (free text, cut at 60 characters); raw is its result, a JSON object or array (or a string holding one), stored as sent.
  • It carries no files. Upload face and document-front first (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 (blank provider) and 400 invalid_external_raw (raw is not JSON). On 422 kyc_missing_documents the 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:

EventSent when
kyc_status_updatedThe verification's status changed.
kyc_needs_updateThe status changed to needs_update. It is sent instead of kyc_status_updated for that change.
kyc_verification_submittedThe verification was submitted.
kyc_verification_signedThe applicant accepted the terms and conditions or the privacy policy (signedVia: terms_and_conditions or privacy_policy).
kyc_document_upload_receivedA document upload was received from the verification provider.
kyc_document_uploadedDocuments were uploaded.
kyc_verification_completedThe 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_type you 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​

  1. A record refused for each reason: missing details (kyc_incomplete_applicant), missing documents (kyc_missing_documents), a business customer (kyc_business_not_supported).
  2. A retried open (200, same record) and a retried request (already_running: true).
  3. A document replaced in its slot, and an expired upload URL presigned again.
  4. Your handling of every status, including needs_update and rejected.

Card verification (v2)​

Card services take their own verification, on v2 only:

EndpointReference
POST /api/v2/kyc/card-verificationSubmit Account Verification
GET /api/v2/kyc/card-verification/{accountId}Card Verification Status
POST /api/v2/kyc/card-verification/{accountId}/request-verificationRequest 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:

v2v3
POST /api/v2/kyc/banking-verification/individualOpen and write the details
GET /api/v2/kyc/banking-verification/individual/{accountId}GET …/kyc
POST …/individual/{accountId}/request-verificationPOST …/kyc/request-verification
POST …/individual/{accountId}/submit-external-verificationPOST …/kyc/submit-external-verification

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:

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!