List Payments
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>
.
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.
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 Cash App Afterpay Order IDs to search for.
merchantReferences
One or more Merchant Reference IDs to search for.
statuses
One or more Cash App 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.
totalResults
Total number of results
offset
The offer of the pagination
limit
The number of payments to include in the results
results