Pular para o conteúdo principal
GET
Get a Refund

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Account-Id
string
obrigatório

Unique identifier of the Midaz Ledger Account (UUID format)

Parâmetros de caminho

refund_id
string
obrigatório

Refund ID (UUID format)

Resposta

OK

accountId
string
obrigatório
Exemplo:

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

amount
string
obrigatório
Exemplo:

"100.50"

createdAt
string
obrigatório
Exemplo:

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

id
string
obrigatório
Exemplo:

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

originalEndToEndId
string
obrigatório
Exemplo:

"E12345678202411241430ABCDEFGHIJK"

returnEndToEndId
string
obrigatório
Exemplo:

"D3030629420200808185300887639654"

status
enum<string>
obrigatório
Opções disponíveis:
PENDING,
PROCESSING,
COMPLETED,
FAILED,
CANCELLED
Exemplo:

"PENDING"

type
enum<string>
obrigatório
Opções disponíveis:
CASHOUT,
CASHIN
Exemplo:

"CASHOUT"

updatedAt
string
obrigatório
Exemplo:

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

deletedAt
string
description
string
Exemplo:

"Customer reported unauthorized transaction"

ledger
object
metadata
object