Cancel a refund
Cancels a refund opened by the authenticated tenant, changing its status from OPEN to CANCELLED. Only the requesting participant that opened the refund may cancel it; a tenant acting as the contested participant receives 403. Refunds in CLOSED or CANCELLED return 409. Reusing the original Idempotency-Key returns the first attempt response; using a different key evaluates the current state and returns 409 for a terminal refund.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Client-generated key used to retry exactly the same request safely.
1 - 64Best-effort business correlation id (observability only; never fabricated).
Path Parameters
Refund internal ID (UUID format)
"018f8c1d-1234-7abc-9def-000000000001"
Response
OK
"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 
