Pular para o conteúdo principal
POST
Record a guarantee execution receipt

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string

Idempotency key of the receipt: 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-1712). X-Request-ID is never read as the key.

Parâmetros de caminho

id
string
obrigatório

The executed guarantee (a UUID).

Corpo

application/json
allocations
object[] | null
obrigatório

1 to 50 allocations, one per contract.

receivedAt
string

RFC 3339 instant the money arrived; its São Paulo day dates the entry. Required (LENDER-1712 when blank), so a resend with the same key replays.

Exemplo:

"2027-03-10T13:00:00Z"

Resposta

Created

guaranteeId
string<uuid>
obrigatório

The executed guarantee.

receipts
object[] | null
obrigatório

One per contract, ordered by contract.

receivedAt
string<date-time>
obrigatório

RFC 3339 instant the money arrived.

recordedAt
string<date-time>
obrigatório

RFC 3339 instant the receipt was recorded.

recordedBy
string
obrigatório

Subject that recorded it.

requestId
string
obrigatório

X-Idempotency key the receipt was recorded under.