API referencePayments
List payments
Newest first.
GET
Newest first.
bearerAuthheader
AuthorizationBearer <token>A secret key, sk_test_… or sk_live_….
limit?integerPage size, 1 to 100.
Range
1 <= value <= 100Default
20starting_after?stringAn object id from the previous page; the page starts after it.
status?stringValue in
"created""pending""succeeded""failed""canceled""partially_refunded""refunded""disputed""charged_back"created[gte]?stringCreated at or after, unix seconds.
Match
^\d{1,11}$created[lte]?stringCreated at or before, unix seconds (the whole second counts).
Match
^\d{1,11}$Success.
application/json- response
data*array<>has_more*booleanWhether another page follows.
curl -X GET 'https://runepay.co/api/v1/payments' \ -H 'Authorization: Bearer sk_test_...'Example Response
{ "data": [ { "id": "pay_01KA4Y0Z9V3T6N8Q2W5E7R1T3Y", "object": "payment", "livemode": false, "status": "succeeded", "amount": 1999, "amount_refunded": 0, "amount_tax": 0, "customer": null, "currency": "USD", "fee": 88, "description": "Pro plan, 1 month", "customer_email": "buyer@example.com", "metadata": { "order_id": "1042" }, "checkout_session": "cs_01KA4XZY8T2R5M7P1Q4W6E8R0T", "card": { "brand": "visa", "last4": "4242" }, "decline_code": null, "decline_message": null, "outcome": { "risk_level": "normal", "risk_score": 12 }, "available_on": 1767830400, "created": 1767225600 } ], "has_more": false}