curl -X GET "https://api.stablepay.global/v2/users/{userId}/kyc/document" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"documentId": "doc_abc123def456",
"documentType": "passport",
"fileName": "passport_scan.pdf",
"fileSize": 2048576,
"verified": false,
"verifiedAt": null,
"uploadedAt": "2024-01-15T10:35:00.000Z",
"viewUrl": "https://stablepay-kyc-documents.s3.ap-south-1.amazonaws.com/..."
}
}
Retrieve the user’s uploaded KYC document information
curl -X GET "https://api.stablepay.global/v2/users/{userId}/kyc/document" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"documentId": "doc_abc123def456",
"documentType": "passport",
"fileName": "passport_scan.pdf",
"fileSize": 2048576,
"verified": false,
"verifiedAt": null,
"uploadedAt": "2024-01-15T10:35:00.000Z",
"viewUrl": "https://stablepay-kyc-documents.s3.ap-south-1.amazonaws.com/..."
}
}
Show properties
passport, driving_license, aadhaar, or voter_idcurl -X GET "https://api.stablepay.global/v2/users/{userId}/kyc/document" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"success": true,
"data": {
"documentId": "doc_abc123def456",
"documentType": "passport",
"fileName": "passport_scan.pdf",
"fileSize": 2048576,
"verified": false,
"verifiedAt": null,
"uploadedAt": "2024-01-15T10:35:00.000Z",
"viewUrl": "https://stablepay-kyc-documents.s3.ap-south-1.amazonaws.com/..."
}
}