Saltar al contenido principal
POST
/
v1
/
transfers
/
cashout
/
process
Procesar una Transferencia Pix
curl --request POST \
  --url https://plugin-pix-indirect.api.lerian.net/v1/transfers/cashout/process \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Account-Id: <x-account-id>' \
  --data '
{
  "initiationId": "550e8400-e29b-41d4-a716-44665544i001"
}
'
{
  "id": "550e8400-e29b-41d4-a716-44665544t001",
  "endToEndId": "E123456789BR1234567890123456789",
  "amount": "100.00",
  "status": "COMPLETED",
  "type": "CASHOUT",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Encabezados

X-Account-Id
string
requerido

Identificador único de la Cuenta del Ledger Midaz (formato UUID).

Cuerpo

application/json
initiationId
string
requerido

ID de iniciación del paso de inicio.

Ejemplo:

"550e8400-e29b-41d4-a716-44665544i001"

Respuesta

Transferencia Pix procesada exitosamente.

id
string

Identificador único de la transferencia.

Ejemplo:

"550e8400-e29b-41d4-a716-44665544t001"

endToEndId
string

Identificador end-to-end.

Ejemplo:

"E123456789BR1234567890123456789"

amount
string

Monto de la transferencia.

Ejemplo:

"100.00"

status
enum<string>

Estado de la transferencia.

Opciones disponibles:
PENDING,
PROCESSING,
COMPLETED,
FAILED,
CANCELLED
Ejemplo:

"COMPLETED"

type
enum<string>

Tipo de transferencia.

Opciones disponibles:
CASHOUT,
CASHIN
Ejemplo:

"CASHOUT"

createdAt
string<date-time>
Ejemplo:

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

updatedAt
string<date-time>
Ejemplo:

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