Takes the amount off the account as a bookkeeping correction (`withdraw_correction`). Nothing is paid out and nothing is credited anywhere else: the money leaves the ledger. Restricted to the clients allowed to top up through `offramp-deposit`. Repeating a request with the same `idempotencyKey` returns the first result and does not debit again.
Request body
application/json
· AdminAccountWithdrawalRequest
· required
| Field | Type | Required | Description |
|---|---|---|---|
accountId |
string (uuid) |
yes | Account to debit (user or primary). |
amount |
string (decimal) |
yes | Amount to write off. Must not exceed the available balance. |
comment |
string |
no | Why the amount was written off, and by whom on the caller's side. |
idempotencyKey |
string |
yes | Caller's key for this write-off; a repeat does not debit twice. |
Responses
| Status | Body | Description |
|---|---|---|
200 |
AdminAccountWithdrawalResponse |
Amount written off. |
Specification
This page is generated from the OpenAPI specification, which remains the authoritative machine-readable source.