List Payment(s)
This endpoint retrieves a collection of payments along with their order details.
### Connection Timeouts
| Timeout | Time (Seconds) |
| ------- | ------------ |
| Open | 10 |
| Read | 20 |
Authentication
AuthorizationBasic
Basic authentication of the form Basic <username:password>.
Path Parameters
environment
Use api-sandbox for AU/NZ, or api.us-sandbox for US.
Headers
User-Agent
Accept
Query Parameters
toCreatedDate
An inclusive end date and time to search, in [ISO 8601](http://www.iso.org/iso/home/standards/iso8601.htm) format.
fromCreatedDate
An inclusive start date and time to search, in [ISO 8601](http://www.iso.org/iso/home/standards/iso8601.htm) format.
limit
The number of results to retrieve. Must be between 1 and 250 (inclusive).
offset
The position to start the results at. The first result has a position of 0.
tokens
One or more order tokens to search for.
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".
orderBy
A field to order results by. If provided, must be one of "createdAt", "id", "totalAmount", "merchantReference" or "email".
ascending
true to order results in ascending order, or false for descending order.
Response
Returns the matching Payment objects, enclosed in a Pagination object.