Skip to navigation

Submit a dispute

Send the draft and its evidence to the issuer. Retries with the same key never file twice. A timeout returns OPERATION_OUTCOME_UNKNOWN; retry the same key. Recovery reads the transaction’s disputes at the issuer and settles the dispute’s state from them, so a retry never files a second dispute. A submission the issuer still shows no dispute for 23 hours after the first attempt may be held for investigation rather than sent again. If the issuer already holds a dispute for the transaction filed outside the API, the draft adopts it and submission returns INVALID_STATE.

Authentication

AuthorizationBearer

Access token from POST /access-token. Valid for at most 30 minutes.

Path parameters

disputeIdstringRequiredformat: "uuid"
Dispute ID.

Headers

Account-HolderstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

The account holder a platform API key acts on. Platform keys must send it on account holder operations. A company API key acts on its own account holder; it may omit the header or send its own account holder ID.

X-Request-IdstringOptionalformat: "^[A-Za-z0-9._:-]+$"1-128 characters

Your own correlation ID for this request. It is recorded with the request. The X-Request-Id response header is always generated by the server.

Idempotency-KeystringRequiredformat: "^(?:[!#-~][!-~]{0,254}|"[!#-\[\]-~]{1,255}")$"1-257 characters

Your unique key for this operation: 1 to 255 visible ASCII characters, ideally a new UUID v4 for each operation. A value in double quotes is accepted and the quotes are removed. Retrying with the same key and the same request returns the first response with Idempotent-Replayed: true; the same key with a different request is refused with IDEMPOTENCY_KEY_REUSED. A key can be used again 30 days after its operation completes.

Request

This endpoint expects an object.

Response headers

X-Request-Idstringformat: "uuid"
Unique ID of this request. Quote it when you contact support.
RateLimitstringOptional

Remaining budget for each rate limit policy, for example "burst"; r=57; t=6 (requests remaining and seconds until the window resets).

RateLimit-PolicystringOptional

The rate limit policies applied to this request, for example "burst"; q=60; w=10 (requests allowed per window of seconds).

Response

Committed resource state.
idstringformat: "uuid"
Dispute ID.
object"dispute"

Always dispute.

livemodeboolean

true on a live platform in production, false on a Sandbox platform and outside production.

accountHolderIdstringformat: "uuid"
Account holder that owns the card.
transactionIdstringformat: "uuid"
The disputed card purchase.
statusenum

DRAFT: not sent to the issuer. INFORMATION_REQUIRED: the issuer refused the evidence; update it and submit again. UNDER_REVIEW: submitted. CANCELED: the issuer canceled the submitted dispute, which ended without a decision; the cancellation moves no money. WON, LOST, EXPIRED, WITHDRAWN and CANCELED are final.

reasonenum
Dispute reason.
amountobject
evidenceUploadedboolean
Whether a supporting file is attached.
submissionDeadlinedatetime

Submit before this time. Counted from the purchase date by the card issuer’s window for the reason: 180 days for every reason, or 110 days, 65 for no_valid_authorization and 80 for Mastercard duplicate and no_valid_authorization. Dispute eligibility reports it. The issuer may allow longer.

monetaryTransactionslist of objects

Credits and reversals posted for this dispute. Each is also a transaction; count it once.

createdAtdatetime
When the dispute was created.
updatedAtdatetime
When the dispute last changed.
cardProgramIdstringOptionalformat: "uuid"
Card program of the disputed card. Absent when unknown.
submittedAtdatetimeOptional
When the dispute was sent to the issuer.
resolvedAtdatetimeOptional
When the dispute reached a final status.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
415
Unsupported Media Type Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error