POST
Create an intermediary payment

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.

Headers

idempotency-key
string<uuid>
required

Required. A UUID: the same key with the same body returns the stored result; with a different body it is a 409 IDEMPOTENCY_KEY_REUSED.

Path Parameters

customerId
string
required

The paying customer

Minimum string length: 1
accountId
string
required

The customer's EUR account

Minimum string length: 1

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
beneficiaryId
string<uuid>
required

One of the program's intermediary beneficiaries

amount
string
required

The amount to debit, a decimal string with up to 2 decimals

currency
string
required

EUR: must equal the account's and the beneficiary's currency

Pattern: ^[A-Z]{3}$
reference
string
required

The payment reference shown to the customer, 1-140 SEPA characters. Whitespace is collapsed.

ultimateBeneficiary
object
required
quote
object
required
clientReference
string

The client's own reference, 1-64 of A-Z a-z 0-9 . : -. Sent with the release as {clientReference} ORD {paymentRequestId}.

Pattern: ^[A-Za-z0-9.:-]{1,64}$

Response

A replay with the same Idempotency-Key and body: the original payment, as it is now

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