Search payments
Search for payments, including charges and payouts, using a variety of criteria. This endpoint supports advanced sorting and filtering options.
Query parameters
Results page number. Starts at page 1.
Results page number. Starts at page 1.
Results page size. Max value: 1000
Results page size. Max value: 1000
The field to sort the results by.
Payment type.
Search by the type of a charge or payout.
Payment status.
Search by the status of a charge or payout.
Payment id.
Search using the id of a charge or payout.
External id.
Search using the external_id of a charge or payout.
Customer id.
Search using the customer_id of a charge or payout.
Paykey id.
Search using the paykey_id of a charge or payout.
Paykey.
Search using the paykey of a charge or payout.
Minimum amount.
Search using the minimum amount of a chargeorpayout`.
Maximum amount.
Search using a maximum amount of a charge or payout.
Minimum payment date.
Search using the earliest of a charge or payout.
Maximum payment date.
Search using the latest payment_date of a charge or payout.
Minimum created at.
Search using the earliest created_at date of a charge or payout.
Maximum created at.
Search using the latest created_at date of a charge or payout.
Minimum effective at.
Search using the earliest effective_date of a charge or payout.
Maximum effective at.
Search using the latest effective_date of a charge or payout.
Funding id.
Search using the funding_id of a charge or payout.
Search text.
Search using a text string associated with a charge or payout.
The field to sort the results by.
Reason for latest payment status change.
Reason for latest payment status change.
Source of latest payment status change.
Source of latest payment status change.
Include the metadata for payments in the returned data.
Include the metadata for payments in the returned data.
Headers
For use by platforms to specify an account id and set scope of a request.
Optional client generated identifier to trace and debug a request.
Optional client generated identifier to trace and debug a series of requests.
Response
OK
Example response
{
"data": [
{
"description": "Invoice payment for 100 widgets",
"amount": 10000,
"customer_details": {
"name": "Ron Swanson",
"email": "ron@swanson.com",
"phone": "+1234567890"
},
"paykey_details": {
"label": "Bank of America ****1234"
},
"status_details": {
"message": "Payment successfully created and awaiting validation."
}
}
]
}