Create a payment allocation
Applies a succeeded payment to a finalized invoice of the same customer, in the payment’s currency. Leave out amount to pay what the invoice still owes, up to what’s left of the payment. Paid spreads it across the invoice’s open lines, and an invoice paid in full becomes paid.
Authentication
Headers
This endpoint is in the payments=v1 beta. Send this header to use it.
Request
The inv_ to pay. It must be finalized.
The pay_ to apply. It must have succeeded.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Response
The type of object. Always paymentAllocation.
Minor units of currency.
Lowercase ISO 4217 currency code, e.g. usd.
The inv_ it pays.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
The pay_ whose money it applies. Expandable: expand=payment returns the payment. The full payment object when the request expands payment.
active while the money is applied to the invoice, voided once void reverses it, which is final. Expect new values.
When the allocation was voided, or null.