Skip to main content
POST
Create a PIX refund

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Cuerpo

application/json
accountId
string
requerido

The requesting account (the original payee).

Ejemplo:

"acc-123"

amount
integer<int64>
requerido

Refund amount in centavos (must be greater than zero).

Ejemplo:

5000

code
string
requerido

PIX return reason (BE08/FR01/MD06/SL02).

Ejemplo:

"MD06"

endToEndId
string
requerido

The original transaction's end-to-end id.

Ejemplo:

"E1234567890"

transactionId
string
requerido

The original transaction id (UUID).

Ejemplo:

"d1f9c0a2-..."

clientRequestId
string

Optional client idempotency token. A retry carrying the same value replays the existing refund instead of creating a duplicate (intra-PSP double-refund protection); omit to opt out.

Ejemplo:

"req-2025-01-01-abc123"

description
string

Free-text refund description.

Ejemplo:

"Wrong amount"

Respuesta

Created

accountId
string
requerido

The refunding account id.

Ejemplo:

"ext-acc-123"

amount
integer<int64>
requerido

Refund amount in centavos.

Ejemplo:

5000

code
string
requerido

The PIX return reason.

Ejemplo:

"MD06"

endToEndId
string
requerido

The original transaction's end-to-end id.

Ejemplo:

"E1234567890"

endToEndRefundId
string
requerido

The refund's own end-to-end id.

Ejemplo:

"D1234567890"

id
string
requerido

The created refund id.

Ejemplo:

"a2f9c0d1-..."

status
string
requerido

eTransactionStatus name.

Ejemplo:

"EXECUTED"

description
string

Refund description.

Ejemplo:

"Wrong amount"