cURL
Users
/api/partner/v2/users/{userId}/kyb/verification-link
POST
cURL
Generates a KYB (Know Your Business) verification link for a business user. Redirect the user to complete business verification with the provider.
Important Notes
- Only users created with
type: "BUSINESS"can request KYB verification. Individual users should use KYC verification. - Each link is tied to a unique session. If expired, generate a new one.
- Check results via Get KYB Details.
Error Codes
Common Errors
| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”API Key is missing” |
| 401 | UNAUTHORIZED | ”Invalid API Key format” |
| 401 | UNAUTHORIZED | ”Invalid API Key” |
| 403 | INVALID_PARTNER_FLOW | ”The partner has an invalid flow.” |
User Ownership Errors
| HTTP Status | Code | Message |
|---|---|---|
| 401 | UNAUTHORIZED | ”Partner information is required for this operation” |
| 401 | UNAUTHORIZED | ”User is not associated with the partner” |
Endpoint-Specific Errors
| HTTP Status | Code | Message |
|---|---|---|
| 400 | INVALID_USER_INPUT_ERROR | ”Invalid User Input” |
| 400 | INVALID_VERIFICATION_TYPE_FOR_USER | ” users can only request verification” |
| 400 | KYB_TEMPLATE_NOT_CONFIGURED_ERROR | ”KYB template not configured for “ |
| 404 | NOT_FOUND_ERROR | ”Requested User was not found” |
| 500 | INTERNAL_SERVER_ERROR | ”Failed to create verification link” |
Headers
Api key for the affiliated partner that is performing the request
Path Parameters
The user ID
Body
application/json
The country code for the partner
@description The country must be a valid ISO 3166-1 alpha-2 country code, see: @link https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Available options:
MX, DO, US, AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE, IS, LI, NO, CH, GB, MC, SM, AD, VA Example:
"MX"
The redirect URI for the partner to redirect the user after the KYC process is completed