Saltar al contenido principal
GET
Get a Refund

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Account-Id
string
requerido

Unique identifier of the Midaz Ledger Account (UUID format)

Parámetros de ruta

refund_id
string
requerido

Refund ID (UUID format)

Respuesta

OK

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