Skip to navigation

List payment allocations

Lists where one payment went (payment) or what paid one invoice (invoice), newest first, voided allocations included.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Headers

Paid-BetaenumRequired

This endpoint is in the payments=v1 beta. Send this header to use it.

Allowed values:

Query parameters

cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

expandlist of enumsOptional
References to return as full objects instead of IDs. Repeat it for several, up to 4. A reference that cannot be read with this key stays an ID.
Allowed values:
invoicestringOptional1-255 characters

What paid this inv_. Send exactly one of payment and invoice.

limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.
paymentstringOptional1-255 characters

Where this pay_ went. Send exactly one of payment and invoice.

statusenumOptional

active while the money is applied to the invoice, voided once void reverses it, which is final. Expect new values.

Allowed values:

Response

200
objectenum

The type of object. Always list.

Allowed values:
datalist of objects
The allocations on this page, newest first.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error