Skip to Content
RunePayDocs

Retrieve a dispute

GET
/disputes/{id}

Authorization

bearerAuth
headerAuthorizationBearer <token>

A secret key, sk_test_… or sk_live_….

Path Parameters

id*string

The object id.

Response Body

Success.

application/json
  1. response
id*string
object*string
livemode*boolean
payment*string
amount*integer

Disputed amount in minor units.

currency*string

Three-letter ISO 4217 code, uppercase.

status*string
Value in"unknown""needs_response""under_review""won""lost"
reason*string|null
financial_effect*string
Value 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*integer

Unix timestamp in seconds.

Example Request
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}