Pular para o conteúdo principal
POST
Reverse loan account transaction

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Request-ID
string

Canonical idempotency request ID. Falls back to X-Idempotency when absent.

Exemplo:

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

X-Idempotency
string

Fallback idempotency request ID used when X-Request-ID is absent.

Exemplo:

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

Parâmetros de caminho

id
string<uuid>
obrigatório

Loan account identifier (UUID).

Exemplo:

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

transactionId
string<uuid>
obrigatório

Original repayment transaction identifier (UUID).

Exemplo:

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

Corpo

application/json
reason
string
obrigatório

Operator-supplied reversal reason.

Minimum string length: 1
jurisdictionCode
string

Optional jurisdiction code.

Exemplo:

"BR"

profileVersion
string

Product profile version applied to the reversal.

Exemplo:

"1.0.0"

Resposta

OK

amount
string
obrigatório

Reversed amount (2 d.p. string).

Exemplo:

"125.00"

destination
enum<string>
obrigatório

Where the reversed money went: 'revived' (the debt returned to this contract, its schedule is back) or 'returned_payment_receivable' (the contract stayed discharged and the money opened a separate debt of the borrower, outside the credit operation and with no payroll deduction behind it).

Opções disponíveis:
revived,
returned_payment_receivable
Exemplo:

"revived"

effectiveDate
string
obrigatório

ISO-8601 effective date of the reversal.

Exemplo:

"2026-06-14"

loanAccountId
string
obrigatório

Loan account UUID.

Exemplo:

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

originalTransactionId
string
obrigatório

Reversed original transaction UUID.

Exemplo:

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

profileVersion
string
obrigatório

Product profile version applied to the reversal.

Exemplo:

"1.0.0"

reason
string
obrigatório

Operator-supplied reversal reason.

transactionId
string
obrigatório

Compensating reversal transaction UUID.

Exemplo:

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

jurisdictionCode
string

Jurisdiction code applied to the reversal.

Exemplo:

"BR"

requestId
string

Idempotency request ID echoed from the request.

Exemplo:

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

returnedPaymentReceivableId
string<uuid>

Identifier of the returned-payment receivable this reversal opened. Present only when destination is 'returned_payment_receivable'.

Exemplo:

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