Saltar al contenido principal
POST
Reverse loan account transaction

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string

Idempotency key of the reversal: 1 to 128 characters of letters, digits and - _ . :. The route refuses a request without it, or with a blank or unusable one (LENDER-0317). X-Request-ID is never read as the key.

Ejemplo:

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

Parámetros de ruta

id
string<uuid>
requerido

Loan account identifier (UUID).

Ejemplo:

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

transactionId
string
requerido

Identifier of the payment or partial prepayment to reverse: up to 128 characters, 141 for the arrears payments a prepayment settled first (id + -arrears, id + -arrears-held).

Required string length: 1 - 141
Ejemplo:

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

Cuerpo

application/json
reason
string
requerido

Operator-supplied reversal reason.

Minimum string length: 1
jurisdictionCode
string

Optional jurisdiction code.

Ejemplo:

"BR"

profileVersion
string

Product profile version applied to the reversal.

Ejemplo:

"1.0.0"

Respuesta

OK

amount
string
requerido

Reversed amount (2 d.p. string).

Ejemplo:

"125.00"

destination
enum<string>
requerido

Where the reversed money went: always 'revived', the debt returned to this contract and its schedule is back.

Opciones disponibles:
revived
Ejemplo:

"revived"

effectiveDate
string
requerido

YYYY-MM-DD São Paulo day of the payment the reversal undoes.

Ejemplo:

"2026-06-14"

loanAccountId
string
requerido

Loan account UUID.

Ejemplo:

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

originalTransactionId
string
requerido

Reversed original transaction UUID.

Ejemplo:

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

profileVersion
string
requerido

Product profile version applied to the reversal.

Ejemplo:

"1.0.0"

reason
string
requerido

Operator-supplied reversal reason.

transactionId
string
requerido

Compensating reversal transaction UUID.

Ejemplo:

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

jurisdictionCode
string

Jurisdiction code applied to the reversal.

Ejemplo:

"BR"

requestId
string

X-Idempotency key echoed from the request.

Ejemplo:

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

returnedPaymentReceivableId
string<uuid>

Identifier of the returned-payment receivable this reversal opened for the held cash the client had already refunded the borrower. Absent when no held cash was refunded.

Ejemplo:

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