Create a refund
Opens a MED 2.0 refund for a contested transaction. If an OPEN refund already exists for the same transaction, organization, and requesting participant, a sequential retry returns the existing refund with HTTP 200. Idempotency-Key is required and deduplicates retries, including concurrent requests. The transaction amount is validated against the SPI; a successful creation returns HTTP 201 with status OPEN. The requesting participant is determined by the authenticated tenant. participant, requestingParticipant, contestedParticipant, and organizationId are rejected when included in the body.
Autorizaciones
JWT bearer token issued by the identity provider.
Encabezados
Client-generated key used to retry exactly the same request safely.
1 - 64Best-effort business correlation id (observability only; never fabricated).
Cuerpo
"1000.00"
FRAUD, OPERATIONAL_FLAW, PIX_AUTOMATICO, REFUND_CANCELLED "OPERATIONAL_FLAW"
"E12345678202601011200abcdef01234"
"refund due to operational failure"
Respuesta
Created
"87654321"
"2026-01-01T12:00:00Z"
"018f8c1d-1234-7abc-9def-000000000001"
"2026-01-01T12:30:00Z"
false
"1000.00"
FRAUD, OPERATIONAL_FLAW, PIX_AUTOMATICO, REFUND_CANCELLED "OPERATIONAL_FLAW"
"12345678"
OPEN, CLOSED, CANCELLED "OPEN"
"E12345678202601011200abcdef01234"
TOTALLY_ACCEPTED, PARTIALLY_ACCEPTED, REJECTED "3d48532f-1a2b-4422-81c3-b7dc852e262b"
"9f3a8b7e2c1d4e5a8b6f1a2b3c4d5e6f"
"refund due to operational failure"
NO_BALANCE, ACCOUNT_CLOSURE, INVALID_REQUEST, OTHER, PARTICIPANT_EXCLUSION REFUND, MANUAL 
