Credits
Add credit with x402 or a Shared Payment Token
Pays usd in USDC with one x402 payment and adds it to the caller's balance. With a body {"sharedPaymentToken": "spt_..."} it charges the agent's card through Stripe instead. Without an API key, creates an account and returns a new key holding the credit (shown once).
post/v1/credits/topup
Request
- Base URL: http://api.huebr.net
- URL: http://api.huebr.net/v1/credits/topup
- Auth: none declared
Query parameters
usdinteger required
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.