Skip to main content
POST
Reverse a recovery of a written-off contract

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string

Idempotency key of the reversal: 1 to 255 bytes of UTF-8. The route refuses a request without it, or with a blank, longer or non-UTF-8 one (LENDER-0976). X-Request-ID is never read as the key.

Parâmetros de caminho

id
string<uuid>
obrigatório

Written-off direct-credit loan account.

recoveryId
string<uuid>
obrigatório

Recovery to give back.

Resposta

Created

amount
string
obrigatório

Money received (2 d.p. string).

Exemplo:

"9000.00"

controlReleased
string
obrigatório

Written-off control the recovery released (2 d.p. string).

Exemplo:

"8650.00"

currency
string
obrigatório

ISO 4217 currency of the amounts.

Exemplo:

"BRL"

id
string<uuid>
obrigatório

Recorded recovery.

loanAccountId
string<uuid>
obrigatório

Written-off loan account.

receivedAt
string<date-time>
obrigatório

RFC 3339 instant the money arrived, with fractional seconds.

recordedAt
string<date-time>
obrigatório

RFC 3339 instant the recovery was recorded.

recordedBy
string
obrigatório

Subject of the validated identity that recorded it; empty when none reached the route.

recoveredBefore
string
obrigatório

Recovered by the recoveries recorded before this one (2 d.p. string).

Exemplo:

"1200.00"

remainingAfter
string
obrigatório

Debt still standing after this recovery (2 d.p. string).

Exemplo:

"1400.00"

requestId
string
obrigatório

X-Idempotency key the recovery was recorded under.

taxAmount
string
obrigatório

PIS/COFINS booked on the taxed part; 0.00 when nothing is taxed (2 d.p. string).

Exemplo:

"16.28"

taxedAmount
string
obrigatório

Part above W: new revenue, taxed by PIS/COFINS (2 d.p. string).

Exemplo:

"350.00"

untaxedAmount
string
obrigatório

Part that settles the written-off amount W first: untaxed (2 d.p. string).

Exemplo:

"8650.00"

writeOffId
string<uuid>
obrigatório

Write-off the recovery pays down.

reversedAt
string<date-time>

RFC 3339 instant the recovery was reversed, with fractional seconds; absent while it stands. A reversed recovery no longer counts in recoveredTotal, remainingDebt or controlOpen.

reversedBy
string

Subject that reversed it.