Skip to main content
POST
Submit evidence to a dispute

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

X-Request-Id
string

A unique identifier for tracing the request across services.

X-Idempotency-Key
string

Optional idempotency key for safe retries. Also accepts Idempotency-Key as an alternative header name. If the same key is sent again and the original request was already processed, the cached response is returned with X-Idempotency-Replayed: true.

See Retries and idempotency for details.

Parámetros de ruta

disputeId
string
requerido

Dispute ID

Cuerpo

application/json

Submit evidence payload

Submit evidence request payload

comment
string
requerido

Comment describing the evidence

Maximum string length: 1000
Ejemplo:

"Attached bank statement showing correct amount"

fileUrl
string

Optional URL to evidence file

Maximum string length: 2048
Ejemplo:

"https://storage.example.com/evidence/doc123.pdf"

Respuesta

Indicates that the request was successful and the response contains the expected data.

The response includes the X-Idempotency-Replayed header.

If the value is false, the request was just processed. If the value is true, the response is a replay of a previously processed request.

See Retries and idempotency for more details.

Dispute details

category
enum<string>

Category of the dispute

Opciones disponibles:
BANK_FEE_ERROR,
UNRECOGNIZED_CHARGE,
DUPLICATE_TRANSACTION,
OTHER
Ejemplo:

"BANK_FEE_ERROR"

createdAt
string

Creation timestamp in RFC3339 format

Ejemplo:

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

description
string

Description of the dispute

Ejemplo:

"Transaction amount differs from expected"

evidence
object[]

Evidence submitted for this dispute

exceptionId
string

Exception ID this dispute is for

Ejemplo:

"019c96a0-10d2-7134-ba5f-664142ee7052"

id
string

Unique identifier for the dispute

Ejemplo:

"019c96a0-10d2-7193-8841-0d7347efd09a"

openedBy
string

User who opened the dispute

Ejemplo:

"user@example.com"

reopenReason
string

Reason for reopening if reopened

Ejemplo:

"New evidence discovered"

resolution
string

Resolution description when closed

Ejemplo:

"Counterparty confirmed error"

state
enum<string>

Current state

Opciones disponibles:
DRAFT,
OPEN,
PENDING_EVIDENCE,
WON,
LOST
Ejemplo:

"OPEN"

updatedAt
string

Last update timestamp in RFC3339 format

Ejemplo:

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