Get all wallets for a customer
curl --request GET \
--url https://api.cloud.flexprice.io/v1/customers/{id}/wallets \
--header 'x-api-key: <api-key>'[
{
"alert_config": {
"threshold": {
"type": "amount",
"value": 123
}
},
"alert_enabled": true,
"alert_state": "<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"
}
]Enter your API key in the format x-api-key <api-key>*
Customer ID
OK
disabled, balance_below_threshold active, frozen, closed PROMOTIONAL, PRE_PAID curl --request GET \
--url https://api.cloud.flexprice.io/v1/customers/{id}/wallets \
--header 'x-api-key: <api-key>'[
{
"alert_config": {
"threshold": {
"type": "amount",
"value": 123
}
},
"alert_enabled": true,
"alert_state": "<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"
}
]