Pular para o conteúdo principal
POST
Propose an operation-approval resolution (maker)

Autorizações

Authorization
string
header
obrigatório

JWT bearer token issued by the identity provider.

Cabeçalhos

Authorization
string

Bearer JWT. Must be a normal-user principal (the MAKER): an application token is refused with 403, and any other token type is refused with 401 at the gate.

Corpo

application/json

Propose a four-eyes resolution for an SPI operationId. The Cabine API validates shape only, never regulatory meaning.

action
enum<string>
obrigatório

The opaque resolution proposed.

Opções disponíveis:
ATTACH_BACEN_RESOURCE,
CONFIRM_NOT_APPLIED
digest
string
obrigatório

Hex SHA-256 (64 lowercase hex chars) — the SPI operation's requestFingerprint.

operationId
string
obrigatório

The SPI DICT/MED operationId this approval concerns (UUID).

bacenResourceId
string

Required (UUID) when action=ATTACH_BACEN_RESOURCE; must be absent when action=CONFIRM_NOT_APPLIED.

note
string

Optional maker-authored reason.

Resposta

Created

action
enum<string>
obrigatório

The opaque resolution proposed; the Cabine API never interprets it.

Opções disponíveis:
ATTACH_BACEN_RESOURCE,
CONFIRM_NOT_APPLIED
Exemplo:

"ATTACH_BACEN_RESOURCE"

approvalId
string
obrigatório

The workflow's own identity — use this in GET and decision paths.

Exemplo:

"9b2f6c1e-4d7a-4e83-a5c0-3f1d8e2b7a46"

at
string<date-time>
obrigatório

When the latest event was recorded (RFC 3339).

decisionDeadline
string<date-time>
obrigatório

Past this instant only 'expired' may follow 'requested'.

digest
string
obrigatório

Hex SHA-256 the maker echoed (the SPI operation's requestFingerprint).

maker
object
obrigatório

Server-extracted proposer identity.

operationId
string
obrigatório

The SPI DICT/MED operationId this approval concerns.

Exemplo:

"5c8e1a47-2b9d-4f60-8e3a-d1f47b09c625"

state
enum<string>
obrigatório

Latest workflow lifecycle action.

Opções disponíveis:
requested,
approved,
rejected,
expired
Exemplo:

"requested"

bacenResourceId
string

Set only when action=ATTACH_BACEN_RESOURCE.

checker
object

Server-extracted decider identity, once decided.

delivery
object

The delivery status of the decision sent to Lerian SPI, once at least one attempt has run.

note
string

Optional operator-authored reason.