Orders

List an order’s disputes

The order’s chargebacks, newest first: the amount disputed, what the reversal took and what it left owing.

Authorization

bearer orders:read
AuthorizationBearer <token>

A v1 API key; the scope named is the one the route needs.

In: header

Scope: orders:read

Path Parameters

orderId*string
Match^[A-Za-z0-9_-]{1,64}$
Length1 <= length <= 64

Response Body

application/json

application/problem+json

GET
/v1/orders/{orderId}/disputes
curl -X GET "https://example.com/v1/orders/string/disputes"
{  "orderId": "string",  "data": [    {      "id": "string",      "state": "string",      "disputed": {        "amount": -9007199254740991,        "currency": "string"      },      "collectible": {        "amount": -9007199254740991,        "currency": "string"      },      "reversed": {        "amount": -9007199254740991,        "currency": "string"      },      "debts": [        {          "leg": "string",          "amount": {            "amount": -9007199254740991,            "currency": "string"          },          "state": "string"        }      ],      "evidenceDueAt": "2019-08-24T14:15:22Z",      "reservedAt": "2019-08-24T14:15:22Z",      "closedAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z"    }  ]}