List Payments
This endpoint retrieves a collection of payments along with their order details.
Successful Response (200)
Returns the matching Payment objects, enclosed in a Pagination object.
Connection Timeouts
Errors
In addition to the GET Errors applicable to all GET endpoints, the following errors are specific to List Payments:
Example Request 1
The following example searches for all Clearpay Orders placed within two timestamps, using a local timezone. Note that the plus character must be URL-encoded.
The request that is automatically generated by Readme appears as though it URL-encodes the Query Params. However, the request that is actually delivered to Clearpay when clicking the “Try It” button does not include any URL-encoding.
Please specifically replace ”+” characters with “%2b” when testing a fromCreatedDate or toCreatedDate with a timezone ahead of UTC.
Example Request 2
The following example searches for all Clearpay Orders matching a list of tokens. Note that the tokens parameter is included several times, once for each token.
Authentication
Basic authentication of the form Basic <base64(username:password)>.
Headers
Query parameters
An inclusive end date and time to search, in ISO 8601 format.
An inclusive start date and time to search, in ISO 8601 format.
The number of results to retrieve from a query. Must be between 1 and 250 (inclusive).
true to order results in ascending order, or false for descending order.