API referenceDisputes
Retrieve a dispute
GET
bearerAuthheader
AuthorizationBearer <token>A secret key, sk_test_… or sk_live_….
id*stringThe object id.
Success.
application/json- response
id*stringobject*stringlivemode*booleanpayment*stringamount*integerDisputed amount in minor units.
currency*stringThree-letter ISO 4217 code, uppercase.
status*stringValue in
"unknown""needs_response""under_review""won""lost"reason*string|nullfinancial_effect*stringValue in
"chargeback""nonfinancial""unknown"chargeback_fee*|The chargeback fee in minor units, once known.
evidence_due_by*|Unix timestamp in seconds, or null.
closed_at*|Unix timestamp in seconds, or null.
created*integerUnix timestamp in seconds.
curl -X GET 'https://runepay.co/api/v1/disputes/string' \ -H 'Authorization: Bearer sk_test_...'Example Response
{ "id": "dp_01KA6C3D5E7F9G1H3J5K7M9N1P", "object": "dispute", "livemode": false, "payment": "pay_01KA4Y0Z9V3T6N8Q2W5E7R1T3Y", "amount": 1999, "currency": "USD", "status": "needs_response", "reason": "fraudulent", "financial_effect": "chargeback", "chargeback_fee": 1500, "evidence_due_by": 1768435200, "closed_at": null, "created": 1767398400}