Skip to main content
POST
/
v1
/
ledger
/
commit
curl -X POST https://api.lavendly.ai/v1/ledger/commit \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer $LAVENDLY_API_KEY' \
  -d '{ "token": "rsv_lq3z9m_8fa1c0" }'
{ "balance": 732 }
token
string
required
Reserve token from POST /ledger/reserve.
curl -X POST https://api.lavendly.ai/v1/ledger/commit \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer $LAVENDLY_API_KEY' \
  -d '{ "token": "rsv_lq3z9m_8fa1c0" }'
{ "balance": 732 }
Committing an unknown token is a no-op (returns 200 with the current balance); this keeps client retries idempotent.