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

NameInTypeRequiredDescription
companyId path string (uuid) yes

Your company that Payca enabled for Virtual IBAN.

Request body

application/json · object · required

FieldTypeRequiredDescription
content string (byte) yes

The file, base64-encoded; at most 10 MB decoded. It must be what contentType says.

contentType string yes
fileName string yes

Responses

StatusBodyDescription
201 VirtualIbanDocumentFile

The file, to name in a submission.

400 VirtualIbanError

The request was refused; code says why (see errors).

401 —

Missing or invalid x-client-id / x-client-secret (no body).

403 VirtualIbanError

The request was refused; code says why (see errors).

404 VirtualIbanError

The request was refused; code says why (see errors).

Specification

This page is generated from the OpenAPI specification, which remains the authoritative machine-readable source.