Skip to main content
POST
Approve redemption
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

Redemption identifier, prefixed with res_.

Example:

"res_4t7x"

Body

application/json
comentario
string
Example:

"Aprovado pela tesouraria"

Response

Redemption approved.

id
string
Example:

"res_4t7x"

valor
string

USDC amount, a decimal string with two decimal places.

Pattern: ^\d+\.\d{2}$
Example:

"842110.00"

carteira_destino_id
string
referencia_interna
string | null
status
enum<string>
Available options:
pendente,
aprovado,
aguardando_assinatura,
concluido,
falhou
transacoes
object[]
criado_em
string<date-time>
concluido_em
string<date-time> | null