setup_billing
ActiveTool of run.domani/domani
Get a checkout URL for the user to add a payment card. Returns a URL - tell the user to open it in their browser. After they complete the form, call get_account to verify has_payment_method is true. Only needed for card payments - agents with crypto wallets can skip this and pay with USDC on Base via x402 protocol.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"mode": {
"enum": [
"checkout",
"setup_intent"
],
"type": "string",
"description": "'checkout' (default) returns a URL for the user to open in browser. 'setup_intent' returns a client_secret for Stripe.js integration."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
run.domani/domani
https://github.com/gwendall/domani
1/7 registries