Pular para o conteúdo principal
POST
Close a short retained instalment from the desk

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

Canonical idempotency request ID. Required: this request moves money, and without a key a retry cannot be told apart from a second instruction.

Parâmetros de caminho

id
string<uuid>
obrigatório

The retained instalment.

Corpo

application/json
reason
string
obrigatório

Why the rest is the client's loss, kept with the close.

Required string length: 1 - 512

Resposta

Created

carvedOutAt
string<date-time>
obrigatório

RFC 3339 instant the instalment was carved out at the sale.

cash
string
obrigatório

The cash on the desk the close applies to it (2 d.p. string).

Exemplo:

"187.40"

closedAt
string<date-time>
obrigatório

RFC 3339 instant of the close, which dates the posting.

competencia
string
obrigatório

YYYYMM payroll cycle of the instalment.

currency
string
obrigatório

ISO 4217 currency code.

id
string<uuid>
obrigatório

The retained instalment; the id the close route takes.

numeroContrato
string
obrigatório

Consignado contract number.

owed
string
obrigatório

What the instalment owes the client (2 d.p. string).

Exemplo:

"250.00"

rest
string
obrigatório

What the close books as the client's credit loss (2 d.p. string).

Exemplo:

"62.60"