Skip to main content
POST
Register a guarantee on its first contract

Authorizations

Authorization
string
header
required

JWT bearer token issued by the identity provider.

Headers

X-Idempotency
string
required

Canonical idempotency request ID. Required: a duplicate registers a second guarantee and opens a second compensation control.

Example:

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

Body

application/json
description
string
required

The asset or the aval in general terms. Never a chassis, a plate, a registry number or a CPF: those go in identification and guarantor.

Example:

"Alienação fiduciária de veículo, Fiat Strada 2024"

scr
object
required
externalReference
string

The client's number for the guarantee, unique per institution, 1 to 64 characters with no leading or trailing space.

Example:

"GAR-000123"

guarantor
object

Makes the guarantee personal.

identification
string

Gar.Ident of a real guarantee: up to 21 characters (chassis, registry).

Example:

"9BD27805MP7123456"

originalValue
string

Gar.VlrOrig of a real guarantee, 2 decimal places.

Example:

"85000.00"

revaluation
object

The first reassessment, when there is one.

Response

Created

createdAt
string<date-time>
required

When it was registered.

createdBy
string
required

Who registered it.

currency
string
required

The currency of its first contract.

description
string
required

The asset or the aval in general terms.

id
string<uuid>
required

The guarantee.

The standing links.

midazOrganizationId
string
required

The institution the guarantee belongs to.

receipts
object[] | null
required

One item per contract of each execution.

scr
object
required
executedAt
string<date-time>

The first execution receipt's instant; absent until one executes it.

externalReference
string

The client's number for the guarantee.

guarantorHolderId
string<uuid>

The guarantor's CRM holder; absent on an asset.

identification
string

Gar.Ident of a real guarantee.

originalValue
string

Gar.VlrOrig.

revaluation
object

The reassessment in force.