Skip to main content
POST
Close a wallet and settle its balance

Path parameters

Closing is irreversible. The remaining balance is settled in one step:
  • Paid balance (top-ups the customer funded) is refunded to the customer.
  • Promotional balance (granted credit) is forfeited.
Each movement posts its own ledger leg, and a closed wallet rejects further top-ups and drains.

Example request

No request body is required.

Example response

This can’t be undone. Once closed, the wallet’s balance is zero and it can no longer be topped up or drained. Amounts are in the wallet currency’s smallest unit.

Errors

Errors use the standard envelope — see Errors.

Authorizations

Authorization
string
header
required

Tenant API key obtained from POST /auth/register or POST /v1/developer/keys.

Path Parameters

id
string<uuid>
required

Response

The settled amounts

data
object
message
string