Uploads one file: a PDF, JPG or PNG of at most 10 MB, sent in base64.
The file belongs to nothing until you submit it with a request
(POST …/document-requests/{requestId}/submit); a file is submitted
once. Up to 25 uploaded files may wait unsubmitted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
companyId |
path | string (uuid) |
yes | Your company that Payca enabled for Virtual IBAN. |
Request body
application/json
· object
· required
| Field | Type | Required | Description |
|---|---|---|---|
content |
string (byte) |
yes | The file, base64-encoded; at most 10 MB decoded. It must be what |
contentType |
string |
yes | |
fileName |
string |
yes |
Responses
| Status | Body | Description |
|---|---|---|
201 |
VirtualIbanDocumentFile |
The file, to name in a submission. |
400 |
VirtualIbanError |
The request was refused; |
401 |
— | Missing or invalid |
403 |
VirtualIbanError |
The request was refused; |
404 |
VirtualIbanError |
The request was refused; |
Specification
This page is generated from the OpenAPI specification, which remains the authoritative machine-readable source.