API Reference
List payments
Authorization
apiKey AuthorizationBearer <token>
A secret API key, e.g. Authorization: Bearer sk_test_....
In: header
Query Parameters
limit?integer
Range
value <= 200Default
50offset?integer
Default
0status?string
Exact status match.
from?string
RFC3339 or YYYY-MM-DD lower bound.
to?string
RFC3339 or YYYY-MM-DD upper bound.
q?string
Search public id, email, or last4.
min_amount?integer
Format
int64max_amount?integer
Format
int64Response Body
application/json
application/json
curl -X GET "https://example.com/v1/payments"{ "data": [ { "id": "string", "amount": 0, "currency": "string", "status": "string", "fee_amount": 0, "refunded_amount": 0, "customer_email": "string", "connector": "string", "card": { "brand": "string", "last4": "string", "funding": "string" }, "created_at": "2019-08-24T14:15:22Z" } ], "total": 0, "next_cursor": 0}{ "error": { "code": "unauthorized", "message": "unauthorized" }}