Skip to main content
POST
/
api
/
v1
/
account
/
business-user
/
{uid}
/
kyb-sessions
/
{sessionId}
/
documents
Upload document
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": "COMPANY_INFO",
  "createdAt": "2024-03-20T10:35:00.000Z",
  "fileName": "articles.pdf",
  "fileSize": 245678,
  "id": "fa6ac4d6-6a39-4112-a47d-5927817d798e",
  "kybSessionId": "5ada78ed-288f-43b5-b98c-890369e04fe3",
  "type": "MEMORANDUM_ARTICLES",
  "updatedAt": "2024-03-20T10:35:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://doc.raliopay.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key for accessing management endpoints

Path Parameters

uid
string
required

Business User ID

sessionId
string
required

Session ID

Body

multipart/form-data
category
string
required

Document category (COMPANY_INFO)

type
string
required

Document type (MEMORANDUM_ARTICLES, BUSINESS_NUMBER, etc)

file
file
required

Document file

Response

Created

category
string
Example:

"COMPANY_INFO"

createdAt
string
Example:

"2024-03-20T10:35:00.000Z"

fileName
string
Example:

"articles.pdf"

fileSize
integer
Example:

245678

id
string
Example:

"fa6ac4d6-6a39-4112-a47d-5927817d798e"

kybSessionId
string
Example:

"5ada78ed-288f-43b5-b98c-890369e04fe3"

type
string
Example:

"MEMORANDUM_ARTICLES"

updatedAt
string
Example:

"2024-03-20T10:35:00.000Z"