Skip to main content
POST
Open MED case

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

Idempotency-Key
string

Idempotency key, max 255 characters

Body

application/json
caseId
string
required

Caller-assigned business identifier for the MED dispute case.

Example:

"MED-2025-001"

originalEndToEndId
string
required

PIX EndToEndID of the original disputed transaction, format E{ISPB}{YYYYMMDD}{uniqueID}.

Example:

"E1234567820250307ABCDEFGHIJKLMNO"

reason
string
required

Motivation for the dispute: FRAUD (suspected fraud), OPERATIONAL_FLAW (operational error), or CANCELLED (payer cancellation).

Example:

"FRAUD"

Response

Created

analysisDeadlineAt
string
required

UTC deadline for the initial analysis window (7 days), RFC 3339 format.

Example:

"2025-03-17T14:30:00Z"

caseId
string
required

Caller-assigned business identifier for the MED dispute case.

Example:

"MED-2025-001"

completionDeadlineAt
string
required

UTC deadline for full case completion (10 days), RFC 3339 format.

Example:

"2025-04-06T14:30:00Z"

createdAt
string
required

UTC timestamp when the case was created, RFC 3339 format.

Example:

"2025-03-07T14:30:00Z"

evidenceReferences
object[] | null
required

Evidence attachments supporting the dispute.

id
string
required

Server-assigned UUID of the MED case.

Example:

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

originalEndToEndId
string
required

PIX EndToEndID of the original disputed transaction, format E{ISPB}{YYYYMMDD}{uniqueID}.

Example:

"E1234567820250307ABCDEFGHIJKLMNO"

reason
string
required

Motivation for the dispute: FRAUD, OPERATIONAL_FLAW, or CANCELLED.

Example:

"FRAUD"

status
string
required

Lifecycle state: INITIATED, UNDER_ANALYSIS, AWAITING_RESPONSE, APPROVED, REJECTED, EXPIRED, or COMPLETED.

Example:

"INITIATED"

updatedAt
string
required

UTC timestamp of the last update to the case, RFC 3339 format.

Example:

"2025-03-07T14:30:00Z"

refundAmount
integer<int64>

Refund amount in centavos (BRL minor units); zero unless the case was resolved with a refund.

Example:

0

resolution
string

Outcome once resolved: APPROVED, REJECTED, CANCELLED_BY_OPENER, DEADLINE_EXPIRED, or AUTO_APPROVED; empty while unresolved.

Example:

""

resolvedAt
string

UTC timestamp when the case was resolved, RFC 3339 format; empty while unresolved.

Example:

""