Skip to main content
POST
Credit a received Pix refund whose ledger credit is parked

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

REQUIRED. Client-supplied replay key, at most 64 bytes. A request without it is refused with PIX-0030 @ 400 before the handler runs. An identical resend within 1 hour returns the original response, status included, with X-Idempotency-Replayed: true. Reusing the key with a divergent method, URL or body is PIX-0031 @ 412.

Required string length: 1 - 64
X-Account-Id
string
required

The credited account UUID: the accountId of the refund.credit_parked event (the original payment's source account). It finds the refund; it does not authorize the call

Example:

"019cadd4-5620-7c2d-8e3f-4a5b6c7d8e9f"

X-Actor-Id
string

Who is acting. Declared by the caller; not verified against the access token

Example:

"backoffice.ops@example.com"

X-Override-Reason
string

Why the caller is acting

Example:

"manual devolution paid by Pix"

X-Override-Ticket
string

Ticket reference

Example:

"MED-4821"

X-Correlation-Id
string

Correlation id

Example:

"med-2026-000123"

X-Request-Id
string

Request id

Example:

"01a17e29-5302-7c0a-b5e1-94d2f6a83c17"

Path Parameters

id
string
required

Refund UUID: the id of the refund.credit_parked event

Example:

"019a3c41-7e2b-7d10-9c4a-5b6e7f805678"

Response

OK

amount
string
required
Example:

"100.00"

createdAt
string<date-time>
required
Example:

"2026-05-06T10:45:00Z"

id
string
required
Example:

"019606b1-3b4c-7d8e-9f01-234567890dee"

originalEndToEndId
string
required
Example:

"E12345678202605061030abcdef12345"

reasonCode
string
required
Example:

"MD06"

status
string
required
Example:

"COMPLETED"

type
string
required
Example:

"OUTBOUND"

updatedAt
string<date-time>
required
Example:

"2026-05-06T10:45:30Z"

accountId
string
Example:

"019606a0-1a2b-7c3d-8e4f-567890123abc"

deletedAt
string<date-time>
description
string
Example:

"Estorno solicitado pelo pagador"

ledger
object
metadata
object
returnEndToEndId
string
Example:

"D12345678202605061045fedcba54321"

feeCharge
object

Fee the ledger reported on the create that moved the refund's money. Absent when no fee answer was recorded for this refund (its ledger create never landed, an error was logged at the time, or the refund was created before fees were read back); {"applied": false} when the ledger reported that no fee was charged; the full object when it charged one. A refund carries no ledger.revert field and needs none here: a FAILED refund that carries feeCharge was reverted first -- every path that writes a refund FAILED after its ledger create landed reverts the debit before marking it (a revert that does not complete leaves the refund PROCESSING), and every other path fails before any create -- so the fee was returned with the amount; applied reports what the create did and the object records the create.