Skip to main content
POST
Empty a wallet
Each category with a balance — except BLOCKED and CASHBACK, which stay — is transferred to the main wallet’s FLEX_INTERNATIONAL balance. The wallet’s status doesn’t change. A wallet with no balance, or one still being created, is left as it is. Organization admins can empty every wallet; other users only the wallets shared with them as OWNER or USER.

Headers

x-environment
enum<string>

Environment of the wallet: LIVE (production) or TEST (sandbox). When you omit it, the request runs in TEST; any other value is rejected.

Available options:
LIVE,
TEST

Path Parameters

realmId
string<uuid>
required

ID of your realm.

Format: UUID

organizationId
string<uuid>
required

ID of the organization the wallet belongs to.

Format: UUID

accountId
string
required

ID of the organization's account (24 hexadecimal characters).

Pattern: ^[0-9a-fA-F]{24}$
walletId
string
required

ID of the wallet (24 hexadecimal characters).

Pattern: ^[0-9a-fA-F]{24}$

Response

No Content. The operation succeeded and the response has no body.