Pular para o conteúdo principal
PATCH
Attach a cession document to the lot that took the contract

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

X-Idempotency
string
obrigatório

Required idempotency key. Absent is 422, never a generated default.

Exemplo:

"idem-endorsement-1"

Parâmetros de caminho

originador_id
string<uuid>
obrigatório

The originador's register id, as returned in the id field of GET /v1/consignado/originadores. It must be in the partner credential's scope.

Exemplo:

"6f1c2a3b-4d5e-4f60-8a7b-9c0d1e2f3a4b"

numero_contrato
string
obrigatório

The contract a fund took into a lot.

Exemplo:

"99999999999AN1"

Corpo

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

Exactly one cession-phase document: endorsed_credit_instrument, application/pdf, up to 5 MiB. An origination type is refused 422 DOCUMENT_PHASE_MISMATCH.

Required array length: 1 element

Resposta

OK

assignmentSetId
string<uuid>
obrigatório

The lot the contract's latest take belongs to.

Exemplo:

"0193a6f2-7c4e-7b1a-9d2e-5f8c3a1b2c3d"

documents
object[] | null
obrigatório

The documents retained for the lot and type sent: the stored record, new or replayed.

fundoRef
string
obrigatório

The fund that took the contract in that lot.

Exemplo:

"0192f1d0-4a2b-7c3d-8e9f-0a1b2c3d4e5f"

numeroContrato
string
obrigatório

The contract number the call was addressed to.

Exemplo:

"99999999999AN1"