POST
/
wallets
/
{id}
/
terminate
curl --request POST \
  --url https://api.cloud.flexprice.io/v1/wallets/{id}/terminate
{
  "auto_topup_amount": 123,
  "auto_topup_min_balance": 123,
  "auto_topup_trigger": "disabled",
  "balance": 123,
  "config": {
    "allowed_price_types": [
      "ALL"
    ]
  },
  "conversion_rate": 123,
  "created_at": "<string>",
  "credit_balance": 123,
  "currency": "<string>",
  "customer_id": "<string>",
  "description": "<string>",
  "id": "<string>",
  "metadata": {},
  "name": "<string>",
  "updated_at": "<string>",
  "wallet_status": "active",
  "wallet_type": "PROMOTIONAL"
}

Path Parameters

id
string
required

Wallet ID

Response

200
application/json
OK
auto_topup_amount
number
auto_topup_min_balance
number
auto_topup_trigger
enum<string>
Available options:
disabled,
balance_below_threshold
balance
number
config
object
conversion_rate
number
created_at
string
credit_balance
number
currency
string
customer_id
string
description
string
id
string
metadata
object
name
string
updated_at
string
wallet_status
enum<string>
Available options:
active,
frozen,
closed
wallet_type
enum<string>
Available options:
PROMOTIONAL,
PRE_PAID