Skip to main content
POST
Approve proposal
Draft: specification in progress. Endpoints and fields may change.

Authorizations

Authorization
string
header
required

The organization's API key (tesa_live_... in production, tesa_test_... in the sandbox).

Headers

Idempotency-Key
string<uuid>
required

Required for this operation. A network failure must not create two operations.

Path Parameters

id
string
required

Proposal identifier, prefixed with prop_.

Example:

"prop_8f2a1c"

Body

application/json
comentario
string
Example:

"Aprovado pela tesouraria"

Response

Proposal approved, with transactions awaiting signature.

id
string
Example:

"prop_8f2a1c"

tipo
enum<string>
Available options:
alocacao,
rebalanceamento
status
enum<string>
Available options:
pendente,
aprovada,
rejeitada,
executada
origem
enum<string>
Available options:
tesa,
cliente
motivo
string
movimentos
object[]
alocacao_resultante
object[]
transacoes
object[]

Available from the aprovada status onward.

criada_em
string<date-time>
decidida_em
string<date-time> | null
executada_em
string<date-time> | null