Buy credit for the workspace wallet with your own saved card [write, owner or admin]
Changed onCharges the caller's own saved card the credit plus the card processing fee and adds the credit to the workspace wallet. The caller's own balance, card and auto top-up are not changed. amount is 1000, 2000, 5000 or 10000 cents. request_id makes a repeat of the same request charge once (200 instead of 201). 409 card_required when the caller has no saved card (add one to your own account first), 402 card_declined, 409 workspace_wallet_missing before the wallet exists, 503 payments_unavailable where card payments are not set up. A workspace key or a restricted credential cannot buy credit.
post/universes/{slug}/wallet/topups
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/universes/{slug}/wallet/topups
- AuthHTTP bearer
Path parameters
slugstring required
The universe slug
Request body
Response
Bought
Changes
- info
endpoint added
- info