Ttushe / docs
nsk_test_Operational

Transition a dispute

under_review · won (credits the funding account back, idempotent) · lost · withdrawn. In a scheme-integrated flow the provider drives this; today it is partner/operator-driven. Send an Idempotency-Key so a retried win replays the result rather than 409-ing on the now-resolved dispute.

PATCHhttps://api.trytushe.com/v1/cards/{id}/disputes/{disputeId}
PATCH/v1/cards/{id}/disputes/{disputeId}

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

id*string
disputeId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "cardId": "f16ba382-eb42-481a-b08f-c57bdc9aae24",    "authorizationId": "fd01ce3c-0799-43be-b4cd-b95dd107d4d8",    "amount": "250000",    "currency": "NGN",    "reason": "fraud",    "status": "open",    "refundTxnId": "88a81fee-4629-4e52-b144-ca3521d4b1d0",    "filed": false,    "providerDisputeRef": "string",    "filingError": "string",    "resolvedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z"  }}