Accounts
/ledger/accounts/{accountId}/deactivate
Authorization
ApiKey X-Api-Key<token>
Tenant API key (sk_live_…), minted from the platform console.
In: header
Path Parameters
accountId*string
Header Parameters
Idempotency-Key*string
Unique key for this write. Retrying with the same key replays the original response instead of applying the write twice.
Format
uuidResponse Body
curl -X POST "https://example.com/api/v1/ledger/accounts/string/deactivate" \ -H "Idempotency-Key: 497f6eca-6276-4993-bfeb-53cbbbba6f08"Empty
Edit on GitHub
Last updated on
/ledger/accounts/{accountId}/rename-code POST
Repair an account's code within this tenant. Exists for the mis-templated-product incident class: an account created under a wrong AccountCodeTemplate breaks every code-addressed posting (e.g. a payout capture) AFTER money has moved. Balances, journal lines and holds reference the account by ID, so renaming the code is safe: only future code lookups change. Codes stay unique per tenant.
/ledger/accounts/{accountId}/balance GET
Next Page