List Payments
This endpoint retrieves a collection of payments along with their order details.
Connection Timeouts
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Headers
User-Agent
Accept
Query parameters
toCreatedDate
An inclusive end date and time to search, in ISO 8601 format.
fromCreatedDate
An inclusive start date and time to search, in ISO 8601 format.
tokens
One or more order tokens to search for.
includeNextLink
Returns a modified pagination object which includes a URL to return the next page. The default value is false.
ids
One or more Afterpay Order IDs to search for.
merchantReferences
One or more Merchant Reference IDs to search for.
statuses
One or more Afterpay Order Statuses to search for. Possible values include "APPROVED" and "DECLINED".
Allowed values:
orderBy
A field to order results by. If provided, must be one of "createdAt", "id", "amount", "merchantReference" or "email".
Allowed values:
ascending
true to order results in ascending order, or false for descending order.
limit
The maximum number of results to return. Must be between 1 and 250.
offset
The number of results to skip before returning results.
Response
Returns the matching Payment objects, enclosed in a Pagination object.
totalResults
Total number of results
offset
The offset of the pagination
limit
The number of payments to include in the results
nextPageUrl
The URL of the next page of results
results
Errors
422
Unprocessable Entity Error
500
Internal Server Error