Kyc verification

Initiate customer KYC

Generate a KYC verification link for identity verification.

POST
/api/v2/customers/{customerId}/kyc

Generates a KYC flow link for a customer. The link is stable and can be reused to resume verification until the customer is approved. Organizations using Sumsub-hosted verification links instead receive a Sumsub-hosted link that expires after 7 days; call this endpoint again to get a fresh link for the same verification. For these organizations, a verified customer receives a link to their completed verification, and the endpoint returns 400 when that is unavailable or when the customer's identity matches an already verified identity.

Authorization

bearerAuth
AuthorizationBearer <token>

Organization API key obtained on Settings > API Keys page in Compose UI.

In: header

Path Parameters

customerId*string

Unique identifier of the customer

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST 'https://compose.finance/api/v2/customers/{customerId}/kyc' \  -H 'Authorization: Bearer YOUR_API_KEY'
{
  "kycVerified": false,
  "kycFlowLink": "https://www.auth.compose.finance/en/signup?c={customerId}"
}

{
  "error": "KYC link generation is not available for corporate customers. You will receive an email from [email protected] to complete corporate customer onboarding."
}

{
  "error": "Unauthorized - Invalid or missing API key or session"
}
{
  "error": "Customers feature is not enabled for your organization"
}
{
  "error": "Customer not found"
}
{
  "error": "Internal server error"
}