cURL
Kyb
/api/partner/v2/kyb/details
GET
cURL
Retrieves the latest KYB (Know Your Business) verification details for a business user. Use this to check verification status and retrieve business profile data.
Important Notes
- The
sessionUrlfield contains a URL to resume an in-progress KYB session, if available. - KYB status values:
NOT_STARTED,IN_PROGRESS,VERIFIED,REJECTED,REVIEW_NEEDED.
Use Cases
- Verification status check: Determine whether a business user has completed KYB before allowing transactions.
- Resume verification: Use
sessionUrlto redirect users with an in-progress session.
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 |
|---|---|---|
| 404 | NOT_FOUND_ERROR | ”Requested KYB verification was not found” |
| 500 | INTERNAL_SERVER_ERROR | ”Failed to get user KYB details” |