Home / Servers / Stripe API / post_invoices_invoice_pay
Pay an invoice
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Pay an invoice Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings . However, if you’d like to attempt payment on… [POST /v1/invoices/{invoice}/pay]
Name on the gateway: stripe_api__post_invoices_invoice_pay · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
invoice required | string | invoice parameter |
expand | array | Specifies which fields in the response should be expanded. |
forgive | boolean | In cases where the source used to pay the invoice has insufficient funds… |
mandate | string | ID of the mandate to be used for this invoice. It must correspond to the… |
off_session | boolean | Indicates if a customer is on or off-session while an invoice payment is… |
paid_out_of_band | boolean | Boolean representing whether an invoice is paid outside of Stripe. This will… |
payment_method | string | A PaymentMethod to be charged. The PaymentMethod must be the ID of a… |
source | string | A payment source to be charged. The source must be the ID of a source… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "stripe_api__post_invoices_invoice_pay",
"arguments": {
"invoice": "…"
}
}Or connect the Stripe API server directly, which lists 606 tools including this one:
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the pay an invoice tool with invoice set to ….