Skip to main content
POST
Close a Refund Request

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

refund_id
string
obrigatório

Unique identifier of the refund request (UUID format).

Corpo

application/json
effectiveRefundedAmount
string
obrigatório

Amount effectively refunded in BRL.

Exemplo:

"50.25"

refundAnalysisResult
enum<string>
obrigatório

Analysis result.

Opções disponíveis:
TOTALLY_ACCEPTED,
PARTIALLY_ACCEPTED,
REJECTED
Exemplo:

"TOTALLY_ACCEPTED"

refundAnalysisDetails
string

Analysis comments.

Exemplo:

"Analysis confirms fraud. Refund approved."

refundRejectionReason
enum<string>

Rejection reason (if rejected).

Opções disponíveis:
NO_BALANCE,
ACCOUNT_CLOSURE,
INVALID_REQUEST,
OTHER
refundTransactionId
string

Transaction ID for executing refund.

Exemplo:

"E98765432202411241500REFUNDTRANS"

Resposta

Refund request closed successfully.

id
string

Unique identifier.

Exemplo:

"019c96a0-0c6b-7166-8510-b262039b4838"

transactionId
string

Original transaction ID.

Exemplo:

"E12345678202411241430ABCDEFGHIJK"

amount
string

Refund amount.

Exemplo:

"150.00"

status
enum<string>

Current status.

Opções disponíveis:
OPEN,
CLOSED,
CANCELLED
Exemplo:

"OPEN"

analysisResult
string

Analysis result.

Exemplo:

"TOTALLY_ACCEPTED"

createdAt
string<date-time>
Exemplo:

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

updatedAt
string<date-time>
Exemplo:

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