Finance and payments
Stripe in your product and your AI agents, through one API
The Stripe toolkit covers customers, charges, subscriptions and invoices, with search, creation of customers and draft invoices, and updates to subscriptions. Your customer connects once with an API key, and your product or AI agent calls each operation through Connect, which stores the credential and logs every execution.
15 days to try it. No credit card.
POST https://connect.reportei.com/api/tools/stripe_create_customer/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"name": "<name>"
}
}How it works
From a connected customer to the first Stripe call.
- 1
Your customer connects the account
Your system opens a Connect session for the toolkit and your customer connects their Stripe account. You get the connection id.
- 2
Your product calls the tool
A POST to /api/tools/{tool}/execute with the connection id and arguments. On success, Connect preserves the app's response status and body.
- 3
Connect handles the rest
It stores the credential encrypted, renews tokens for OAuth connections that support renewal and records executions in an audit trail available through the API.
Use cases
What your product does with Stripe.
Billing views in your product
Search a customer's subscriptions, invoices and charges by status or date to show billing history inside your SaaS or agency dashboard.
Invoice from your workflow
Create a customer, a draft invoice and its lines, then finalize and email it with Send invoice when a job or project is done.
Revenue questions for an agent
Let an AI agent search new or canceled subscriptions in a period, or set cancel_at_period_end on a subscription, as part of a retention flow.
Tools
12 Stripe tools
- Search customersGETSearches the customers with the Stripe search query language, by email, name, phone, creation date or metadata. The response has data, has_more and next_page; send next_page as page to get the next page. A customer created or updated in the last minute may not show up yet.
- Get customerGETReturns one customer, with name, email, phone, address, balance in cents and invoice settings. A deleted customer comes back with only id and deleted set to true.
- Create customerPOSTCreates a customer. No field is required, but Stripe sends invoices and receipts only to customers with an email. Address, tax ids and metadata are not available here.
- Update customerPOSTUpdates the name, email, phone or description of a customer. Fields not sent stay as they are.
- Search chargesGETSearches the charges, which are the payment attempts with their status, amount, refunds and disputes, with the Stripe search query language. Amounts are in the smallest unit of the currency, like cents. The response has data, has_more and next_page; send next_page as page to get the next page.
- List subscriptionsGETLists the subscriptions, newest first, optionally of one customer, one price or one status. Without status, canceled subscriptions are left out. Each subscription has its prices in items.data. Page with starting_after while has_more is true.
- Search subscriptionsGETSearches the subscriptions by status, creation date, cancellation date or metadata with the Stripe search query language, which fits questions like new or canceled subscriptions in a period. The response has data, has_more and next_page; send next_page as page to get the next page.
- Update subscriptionPOSTUpdates a subscription, for example to cancel it at the end of the current period with cancel_at_period_end, or to undo that. Changing the items or prices of the subscription is not available here.
- Search invoicesGETSearches the invoices by customer, subscription, status, date, total or number with the Stripe search query language. Amounts are in the smallest unit of the currency, like cents. The response has data, has_more and next_page; send next_page as page to get the next page.
- Create invoicePOSTCreates a draft invoice for a customer. Add the lines with Create invoice item, then email it with Send invoice. With collection_method send_invoice, send days_until_due or due_date.
API key
Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.
Questions about the Stripe toolkit
Do I need to build against the Stripe API?
No. Connect ships 12 Stripe tools, described and ready. Your customer connects the account and your system calls every tool through the same endpoint, with the same request format.
How does my customer connect their Stripe account?
With the mode the toolkit accepts: API key. Connect stores the credential encrypted and never returns it to your system.
Does it work with AI agents?
Yes. Each tool's input is described in JSON Schema, which your agent uses directly as a tool definition. The agent picks the tool and the arguments, and your system makes the call to Connect.
Does my customer need a Reportei account?
No. Your customer connects the account on a Connect screen, or your system sends the credential through the API, and they keep using only your product.
Toolkits in the same category
See all 100 toolkitsSee Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.

Conta Azul