Wallets
Update a wallet
Customers
Wallets
Invoices
Entitlements
Environments
Events
Features
Payments
Integrations
Subscriptions
Tenants
Users
Wallets
Update a wallet
Update a wallet’s details including auto top-up configuration
PUT
/
wallets
/
{id}
curl --request PUT \
--url https://api.cloud.flexprice.io/v1/wallets/{id} \
--header 'Content-Type: application/json' \
--data '{
"auto_topup_amount": 123,
"auto_topup_min_balance": 123,
"auto_topup_trigger": "disabled",
"config": {
"allowed_price_types": [
"ALL"
]
},
"description": "<string>",
"metadata": {},
"name": "<string>"
}'
{
"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
Wallet ID
Body
application/json
Update wallet request
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
curl --request PUT \
--url https://api.cloud.flexprice.io/v1/wallets/{id} \
--header 'Content-Type: application/json' \
--data '{
"auto_topup_amount": 123,
"auto_topup_min_balance": 123,
"auto_topup_trigger": "disabled",
"config": {
"allowed_price_types": [
"ALL"
]
},
"description": "<string>",
"metadata": {},
"name": "<string>"
}'
{
"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"
}