Connect the Stripe API
Integrate the Stripe API through Modiva’s unified REST API and hosted MCP server. Manage customers, products, prices, subscriptions, invoices, payments, balance and checkout sessions in Stripe. OAuth, token refresh, rate limits and 19 typed tools are handled for you — connect once and call Stripe from any agent or app through a single endpoint.
What you can do with the Stripe API
- ✓ Customers
- ✓ Products, prices & subscriptions
- ✓ Invoices & payments
- ✓ Checkout sessions
- — Webhooks (Poll via the payment/subscription tools)
Stripe MCP tools & scopes
- customers_
- list · get · create · update
- products_prices
- list · create
- subscriptions_
- list · get · create · cancel
- invoices_
- list · create
- payments_
- list · get · create
- balance_checkout
- balance · checkout sessions
OAuth scopes requested
- Read & write customers
- Read & write products, prices and subscriptions
- Read & write invoices and payments
- Read balance and create checkout sessions
Connect Stripe in your agent
# Add Modiva's MCP server to your agent
{
"mcpServers": {
"modiva": {
"url": "https://mcp.modiva.ai",
"headers": { "Authorization": "Bearer $MODIVA_MCP_KEY" }
}
}
}
# Then connect Stripe and call its tools, e.g.
accounts_list(provider="stripe")Frequently asked questions
How do I connect the Stripe API with Modiva?
Create a Modiva account, generate an MCP key, and connect Stripe from your dashboard. Modiva runs the full OAuth flow and stores the encrypted token for you — no client secrets in your code.
What can I do with the Stripe API through Modiva?
Manage customers, products, prices, subscriptions, invoices, payments, balance and checkout sessions in Stripe. You get 19 typed tools grouped by resource (customers_, products_prices, subscriptions_, invoices_, payments_, balance_checkout), callable over REST or the MCP server.
Do I need to handle OAuth or token refresh myself?
No. Modiva handles the Stripe OAuth handshake, token storage (envelope-encrypted) and automatic refresh. You call a single unified endpoint.
Can an AI agent use the Stripe API?
Yes — that is the point. Modiva exposes Stripe as Model Context Protocol (MCP) tools, so agents like Claude, Cursor or your own app can read and act on Stripe through one endpoint.
Stripe playbooks & guides
Free, step-by-step playbooks on growing with Stripe — what works, plus how to run it with Modiva.