Ana içeriğe atla
POST
Preview a bulk collection

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Yol Parametreleri

id
integer
gerekli

The customer identifier

Gövde

application/json
transaction_ids
integer[]
gerekli

The customer's transactions to preview settling. Each must be a debt (remaining_debit above 0, not a purchase invoice) and all must share one currency.

Required array length: 1 - 200 elements

A transaction of this customer.

amount
number | null

Amount to split over the transactions, in their currency; at most their outstanding total. Omit it to get only the outstanding total.

Gerekli aralık: x >= 0.01

Yanıt

The response is of type object.