Skip to main content

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

Create a KYC verification session for a cardholder. Returns a short-lived URL that you redirect your user to for identity verification. KYC must be approved before cards can be issued to the cardholder.

Path Parameters

ParameterTypeDescription
cardholderIdstringThe cardholder ID

Request Body

FieldTypeRequiredDescription
redirectUrlstringYesURL to redirect the user to after KYC is complete

KYC Flow

1

Create Session

Call this endpoint to get a kycUrl
2

Redirect User

Redirect your user to the kycUrl — they complete identity verification on FYATU’s hosted KYC page
3

User Redirected Back

After completion, the user is sent to your redirectUrl with ?status=pending
4

Receive Webhook

Once verification is processed (typically within minutes), a cardholder.kyc.approved or cardholder.kyc.rejected webhook is sent to your webhook URL

KYC Status Values

StatusDescription
UNSUBMITTEDKYC session not yet started
PENDINGUser completed submission — awaiting review
APPROVEDIdentity verified — cardholder can be issued cards
REJECTEDVerification failed — cardholder cannot be issued cards

Response Fields

FieldTypeDescription
sessionIdstringUnique session identifier
kycUrlstringShort-lived URL to redirect the user to (expires in 30 minutes)
expiresAtstringSession expiry timestamp

Error Codes

CodeDescription
RESOURCE_NOT_FOUNDCardholder not found
KYC_ALREADY_APPROVEDCardholder KYC is already approved
KYC_SESSION_PENDINGA KYC session is already in progress
The kycUrl is single-use and expires in 30 minutes. If your user doesn’t complete KYC in time, create a new session.