MCPBundler Docs
MCPBundler Docs
Volver al marketplacePrimeros PasosAutenticacionTutorial - De un Bundle a un Agente Conectado
API Reference
Agent A2A Tools
Agent Channels
Agent Configuration (Staging)
Agent Configuration (Versions)
Agent Tools
Agents
Auth
Billing
Get Token BalanceGet Usage By CategoryStripe Webhook - Record Verified Top-UpRecord x402 Token Top-Up
Bundler
Bundler Tool
Bundles
Call Campaigns
Catalog
Conversations
Credentials
Deployments
Discover
Embedding
Fleet
Knowledge Bases
LLM
MCP Listings
Media
OAuth Clients
OAuth2
Observability
Organisations
Realtime
Reviews
Roadmap
SCIM
STT
Suppression
Triggers
TTS
Users
Utils
Voices
Webhooks
Workflows
API ReferenceBilling

Record x402 Token Top-Up

POST
/v1/billing/ledger/topup/x402

Credits a fixed 500-token top-up. Reachable only once app.main's x402 payment middleware has already cryptographically verified a $5.00 payment for this exact route via the configured facilitator - this handler never reads an amount from the request, because there is no amount in the request at all. The on-chain settlement itself completes after this handler returns, so a payment that verifies but later fails to settle (a narrow, accepted window) is still credited; see topup_ledger_x402's own docstring.

Authorization

OAuth2AuthorizationCodeBearer
AuthorizationBearer <token>

In: header

Query Parameters

verify_locally?Verify Locally
Defaulttrue

Response Body

application/json

application/json

curl -X POST "https://example.com/v1/billing/ledger/topup/x402"
{  "balance": 0}
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string"    }  ]}
Empty
Empty

Stripe Webhook - Record Verified Top-Up

Previous Page

Bundler

Endpoints in the Bundler group.