AI credit client wallets
Assign a client
Puts one of your client accounts on this wallet and returns the wallet. Repeating it for a client already on this wallet returns the same wallet. One client per wallet, one wallet per client: moving a client is an unassign and an assign. Errors: wallet_not_found, account_not_client, account_already_assigned (the client is on another wallet), wallet_has_account, invalid_value.
post/api/ai-credits/wallets/{wallet_id}/accounts
Request
- Base URLhttps://api.duda.co
- URLhttps://api.duda.co/api/ai-credits/wallets/{wallet_id}/accounts
- AuthHTTP basic
Path parameters
wallet_idstring required
Request body
Example request
{
"account_name": "acme-corp"
}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.