Saltar al contenido principal
POST
Refund a Received Pix Transfer

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Account-Id
string<uuid>
requerido

Account ID that received the original transfer (UUID format)

X-Reason
enum<string>
requerido

Refund reason code

Opciones disponibles:
BE08,
FR01,
MD06,
SL02
X-Return-End-To-End
string

Optional custom return end-to-end ID (32 chars, D prefix)

Parámetros de ruta

transfer_id
string<uuid>
requerido

Database UUID of the original Pix transfer (cashin)

Cuerpo

application/json
amount
string
requerido
Minimum string length: 1
Ejemplo:

"100.50"

description
string
Maximum string length: 140
Ejemplo:

"Customer reported unauthorized transaction"

metadata
object
operations
object[]
Required array length: 1 - 50 elements

Respuesta

Created

accountId
string
requerido
Ejemplo:

"01989f9e-6508-79f8-9540-835be49fbd0d"

amount
string
requerido
Ejemplo:

"100.50"

createdAt
string
requerido
Ejemplo:

"2024-01-15T10:30:00Z"

id
string
requerido
Ejemplo:

"550e8400-e29b-41d4-a716-446655440001"

originalEndToEndId
string
requerido
Ejemplo:

"E12345678202411241430ABCDEFGHIJK"

returnEndToEndId
string
requerido
Ejemplo:

"D3030629420200808185300887639654"

status
enum<string>
requerido
Opciones disponibles:
PENDING,
PROCESSING,
COMPLETED,
FAILED,
CANCELLED
Ejemplo:

"PENDING"

type
enum<string>
requerido
Opciones disponibles:
CASHOUT,
CASHIN
Ejemplo:

"CASHOUT"

updatedAt
string
requerido
Ejemplo:

"2024-01-15T10:30:00Z"

deletedAt
string
description
string
Ejemplo:

"Customer reported unauthorized transaction"

ledger
object
metadata
object