Create Refund
Creates a refund request for a PIX transaction. The transaction_id must be provided in the request body. The refund will be processed asynchronously - validation and execution are performed by a worker process. If amount_in_cents is not provided, it defaults to 0 and will be determined during processing.
Authorizations
UUID of the service account (e.g., 550e8400-e29b-41d4-a716-446655440000)
Unix timestamp in milliseconds (e.g., 1704636800000). Must be within 5 minutes of server time.
Must be 'service-account' for service account authentication
EdDSA signature of the request in base64 format. Signs: uri:method:body:timestamp
Headers
Optional idempotency key for safe retries. When provided, requests with the same key and payload return the same result. Without this header, duplicate external_reference_id values will fail with 400 Bad Request.
Body
Identifier of the original PIX transaction to refund.
123456789
Refund amount in centavos. Optional — if omitted, defaults to 0 and is determined during async processing.
x >= 115000
Client-provided unique reference for this refund within the account (1–127 characters).
"refund-001"
Message sent to the original payer (1–255 characters).
"Devolução parcial"
Response
Refund request created successfully and will be processed asynchronously
Refund creation timestamp (UTC, RFC 3339).
"2026-05-28T14:30:00Z"
Refund amount and payer message.
Refund identifier.
Current refund status.
awaiting_approval, pending, processing, success, cancelled, failed Original transaction identifier.
Last update timestamp (UTC, RFC 3339).
"2026-05-28T14:30:00Z"
Beneficiary details, populated after processing.
- Chave Pix
- Transferência manual
Cancellation timestamp (UTC, RFC 3339), if cancelled.
"2026-05-28T14:30:00Z"
Client-provided reference identifier.
