Submit KYC Documents
Cardholders
Submit KYC Documents
Submit pre-verified KYC documents for a cardholder via Shared KYC. Available only for businesses with Shared KYC enabled. POST /cardholders//kyc.
POST
Submit KYC Documents
Documentation Index
Fetch the complete documentation index at: https://docs.fyatu.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Submit identity documents for a cardholder on their behalf using Shared KYC. This endpoint is only available to businesses that have completed FYATU’s Shared KYC onboarding process. The endpoint responds immediately withkycStatus: PENDING. Documents are processed in the background and a cardholder.kyc_approved webhook is dispatched when complete.
Endpoint
cardholders:write
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
cardholderId | string | Yes | Unique cardholder identifier |
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
idFrontUrl | string | Yes | URL to the front image of the ID document |
selfieUrl | string | Yes | URL to a selfie photo of the cardholder |
idBackUrl | string | No | URL to the back image of the ID document |
documentType | string | No | PASSPORT, NATIONAL_ID, or DRIVER_LICENSE |
Image Requirements
- Format: JPEG, PNG, GIF, or WebP
- Maximum size: 5MB per image
- Accessibility: URLs must be publicly accessible
How It Works
- Your app sends document URLs to this endpoint
- FYATU responds immediately with
PENDINGstatus - FYATU processes the documents in the background
- On success,
kycStatusis set toACCEPTEDand acardholder.kyc_approvedwebhook is dispatched with the final document URLs - On failure,
kycStatusis set toREJECTED— you can re-submit
Prerequisites
- Business must have Shared KYC enabled (contact FYATU via your dedicated Slack channel)
- Cardholder
kycStatusmust beUNSUBMITTEDorREJECTED - All image URLs must be publicly accessible
Example Usage
Example Response
Success (200)
Error Responses
Shared KYC Not Enabled (403)
Already Accepted (409)
Already Processing (409)
Validation Error (400)
Authorizations
JWT access token obtained from /auth/token
Path Parameters
Unique cardholder identifier
Body
application/json
Type of identification document
Available options:
PASSPORT, NATIONAL_ID, DRIVER_LICENSE Document identification number
Required string length:
3 - 50URL to the front image of the ID document
Maximum string length:
500URL to the back image of the ID document (optional for passports)
Maximum string length:
500URL to a selfie photo holding the ID document
Maximum string length:
500
