AI credit client wallets
Update a wallet
Send any subset; omitted fields are left alone. Raising recurrence_amount adds the difference to recurrence_balance now; lowering it clamps recurrence_balance to the new amount. Errors: wallet_not_found, invalid_value.
put/api/ai-credits/wallets/{wallet_id}
Request
- Base URLhttps://api.duda.co
- URLhttps://api.duda.co/api/ai-credits/wallets/{wallet_id}
- AuthHTTP basic
Path parameters
wallet_idstring required
Request body
Example request
{
"name": "Acme Corp",
"recurrence_amount": "150.0",
"recurrence_day": 1
}Response
OK
Example response
{
"assigned_accounts": [
{
"account_name": "acme-corp"
}
],
"id": "3f9c1a7e-4b21-4d9a-9f0e-8c2d1a5b7e33",
"name": "Acme Corp",
"recurrence_amount": "500.0",
"recurrence_balance": "320.0",
"recurrence_day": 15,
"topup_balance": "100.0"
}Changes
No recorded changes to this operation across all 1 revision of this API.