Skip to main content
POST
Upload an evidence file to a dispute

Authorizations

Authorization
string
header
required

Bearer token authentication (format: "Bearer {token}")

Headers

Content-Type
string

Evidence media type: application/pdf, image/png, image/jpeg, or text/csv

Example:

"application/pdf"

Path Parameters

disputeId
string<uuid>
required

Dispute ID (UUID)

Example:

"550e8400-e29b-41d4-a716-446655440001"

Query Parameters

comment
string

Comment describing the uploaded evidence

Required string length: 1 - 1000
Example:

"Bank statement showing correct amount"

Body

application/octet-stream

The body is of type file.

Response

Created

category
enum<string>
required

Dispute category: BANK_FEE_ERROR (incorrect fee), UNRECOGNIZED_CHARGE, DUPLICATE_TRANSACTION, AMOUNT_MISMATCH, or OTHER

Available options:
BANK_FEE_ERROR,
UNRECOGNIZED_CHARGE,
DUPLICATE_TRANSACTION,
AMOUNT_MISMATCH,
OTHER
Example:

"BANK_FEE_ERROR"

createdAt
string
required

Creation timestamp as an RFC 3339 timestamp

Example:

"2025-01-15T10:30:00Z"

description
string
required

Description of the dispute

Example:

"Transaction amount differs from expected"

exceptionId
string
required

Identifier of the exception this dispute is for (UUID)

Example:

"550e8400-e29b-41d4-a716-446655440001"

id
string
required

Unique identifier for the dispute (UUID)

Example:

"550e8400-e29b-41d4-a716-446655440000"

openedBy
string
required

User who opened the dispute

Example:

"user@example.com"

state
enum<string>
required

Dispute state: DRAFT, OPEN, PENDING_EVIDENCE (awaiting evidence), WON, or LOST

Available options:
DRAFT,
OPEN,
PENDING_EVIDENCE,
WON,
LOST
Example:

"OPEN"

updatedAt
string
required

Last update timestamp as an RFC 3339 timestamp

Example:

"2025-01-15T10:30:00Z"

evidence
object[] | null

Evidence items submitted for this dispute (max 50)

Maximum array length: 50
reopenReason
string

Reason recorded when the dispute was reopened

Example:

"New evidence discovered"

resolution
string

Resolution description recorded when the dispute was closed

Example:

"Counterparty confirmed error"