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-Beta
This endpoint is in the payments=v1 beta. Send this header to use it.
Allowed values:
Query parameters
cursor
The nextCursor of the previous page. Omit it for the first page.
expand
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:
invoice
What paid this inv_. Send exactly one of payment and invoice.
limit
How many objects to return, 1 to 100. Defaults to 10.
payment
Where this pay_ went. Send exactly one of payment and invoice.
status
active while the money is applied to the invoice, voided once void reverses it, which is final. Expect new values.
Allowed values:
Response
200
object
The type of object. Always list.
Allowed values:
data
The allocations on this page, newest first.
hasMore
Whether another page follows this one.
nextCursor
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