Connect Stripe for invoices
Connects the business's own Stripe account with a restricted key, so invoices can be paid online; the money goes straight to the business.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Here's the restricted key from our Stripe account. Let customers pay invoices online.
Your agent callsinvoices_connect_stripe$0.001 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"stripe_key": "rk_live_YOUR_RESTRICTED_KEY_FROM_STRIPE"
}Use it when
The business wants a Pay button on its invoices (invoices_set_profile pay_online).
What it does
Connect the business's own Stripe account with a restricted key (a person makes it in Stripe: Developers, API keys, Create restricted key), so invoices can carry a Pay button (invoices_set_profile pay_online). A restricted key with write access to Checkout Sessions and Webhook Endpoints. Conecto registers a webhook on that account to learn when an invoice is paid. The money goes straight to the business; Conecto never holds it. The key is kept encrypted and never shown again.
What comes back
stripe: connected, the Stripe account id, whether it is live and when it was connected. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
stripe_keyRequired | string | 20 to 300 characters. |
The call
Over MCP, call invoices_connect_stripe on https://api.conecto.chat/mcp/invoices. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/invoices_connect_stripe \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"stripe_key":"rk_live_YOUR_RESTRICTED_KEY_FROM_STRIPE"}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
stripe_key_refused400 | Stripe refused the key, or it lacks a permission invoices need. | Ask the owner for a restricted key with the permissions the message lists. |
stripe_error502 | Stripe refused the request. | Try again; the message gives Stripe's reason. |
More Invoices tools
All 24 tools- Set the business details
invoices_set_profileSets the business details on quotes and invoices: name, country, address, tax ID, logo, terms, tax, numbering, how to pay and legal notes.$0.001 a call - Get the business details
invoices_get_profileThe business details on quotes and invoices, the next numbers, and what is missing before documents can be sent.Free* - Create a quote or invoice
invoices_createCreates a draft quote or invoice: the customer, the lines, the currency and the dates.$0.01 a call - Change a draft
invoices_updateChanges a draft quote or invoice; customer and lines replace the old ones.$0.01 a call - Send a quote or invoice
invoices_sendSends a draft: it gets the next number, its PDF is made, and the customer is emailed a link to view, pay or accept it.$0.10 a call - Get a quote or invoice
invoices_getOne quote or invoice in full, by invoice_id or number: lines, totals, taxes, payments, history, its page and a fresh PDF link.Free* - List quotes and invoices
invoices_listQuotes and invoices, newest first, by kind, status (also overdue, unpaid and expired), customer and issue date.Free* - Turn a quote into an invoice
invoices_convert_quoteTurns an accepted quote into a draft invoice with the same customer and lines.$0.01 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md