POST
Get somewhere to upload a payout confirmation document

Authorizations

Authorization
string
header
required

By route: the id_token of the client's server login or of the customer, or a back-office user's token. The gateway authorizer rejects any other token before the route runs.

Path Parameters

customerId
string
required

The paying customer

Minimum string length: 1
accountId
string
required

The customer's EUR account

Minimum string length: 1
paymentRequestId
string<uuid>
required

The intermediary payment

Query Parameters

programId
string
required

Required for the client's server login and back office: the program to act on. Every handler bounds it.

Minimum string length: 1
sandbox
enum<string>

Back office only, when the token carries no sandbox claim

Available options:
true,
false

Body

application/json
fileName
string
required

The file's name; kept, sanitised, on the record and never in a key

Required string length: 1 - 255
contentType
string
required

One of the program's allowed types (default application/pdf, image/jpeg, image/png, image/heic, image/webp). Signed: the upload must send exactly this.

Required string length: 1 - 100
contentLength
integer
required

The exact size in bytes, up to the program's maximum size (default 10 MB). Signed: the upload must send exactly this.

Response

Somewhere to upload

success
enum<boolean>
required
Available options:
true
data
object
required