Skip to navigation

Create payment allocations

Allocates a payment across one or more invoice lines of posted invoices, in the payment's currency. When an invoice becomes fully paid, its credit entitlements are processed. Returns 409 when a concurrent allocation has already spent the balance.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Request

Body
paymentIdstringRequired>=1 character
The payment to allocate from.
allocationslist of objectsRequired
Invoice lines to allocate the payment to.

Response

201
datalist of objects

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error