cURL
curl --request POST \ --url https://sandbox-revo-api.raliopay.com/api/v1/account/business-user/{uid}/kyb-sessions/{sessionId}/documents \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'category=<string>' \ --form 'type=<string>' \ --form file='@example-file'
{ "category": "<string>", "createdAt": "<string>", "fileName": "<string>", "fileSize": 123, "id": "<string>", "kybSessionId": "<string>", "mimeType": "<string>", "rejectionReason": "<string>", "reviewState": "<string>", "reviewedAt": "<string>", "reviewedBy": "<string>", "type": "<string>", "updatedAt": "<string>" }
Upload a document to a KYB session using multipart form
API Key for accessing management endpoints
Business User ID
Session ID
Document category (COMPANY_INFO, KYB)
Document type (MEMORANDUM_ARTICLES, BUSINESS_NUMBER, etc)
Document file
Created