Stripe MCP Server for Cloudflare Workers
110 tools available in the Stripe MCP server. Each tool can be called by AI assistants to perform specific actions.
stripe_get_invoiceGet an invoice by ID.
Args:
Returns: The invoice details.
{
"type": "object",
"required": [
"invoice_id"
],
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID"
}
}
}stripe_delete_productDelete a product.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"product_id"
],
"properties": {
"product_id": {
"type": "string",
"description": "Product ID"
}
}
}stripe_delete_accountDelete a connected account.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"account_id"
],
"properties": {
"account_id": {
"type": "string",
"description": "Account ID"
}
}
}stripe_get_balanceGet the current account balance.
Returns the balance currently available in the Stripe account, including available and pending amounts by currency.
Returns: Balance with available and pending amounts.
{
"type": "object",
"properties": {}
}stripe_list_balance_transactionsList balance transactions with pagination.
Balance transactions show funds moving through your Stripe account, including payments, transfers, fees, and adjustments.
Args:
Returns: List of balance transactions
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Transaction type filter"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"starting_after": {
"type": "string"
}
}
}stripe_get_balance_transactionGet a balance transaction by ID.
Args:
Returns: The balance transaction details.
{
"type": "object",
"required": [
"transaction_id"
],
"properties": {
"transaction_id": {
"type": "string",
"description": "Balance Transaction ID"
}
}
}stripe_update_transferUpdate a transfer.
Args:
Returns: The updated transfer.
{
"type": "object",
"required": [
"transfer_id"
],
"properties": {
"metadata": {
"type": "object"
},
"description": {
"type": "string"
},
"transfer_id": {
"type": "string",
"description": "Transfer ID"
}
}
}stripe_list_eventsList events (webhooks) with pagination.
Events represent things that happened in your account, like payment succeeded, subscription created, etc.
Args:
Returns: List of events
{
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Event type filter"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"created_gte": {
"type": "integer",
"description": "Created after timestamp"
},
"created_lte": {
"type": "integer",
"description": "Created before timestamp"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_eventGet an event by ID.
Args:
Returns: The event details including the associated data object.
{
"type": "object",
"required": [
"event_id"
],
"properties": {
"event_id": {
"type": "string",
"description": "Event ID"
}
}
}stripe_list_couponsList coupons with pagination.
Args:
Returns: List of coupons
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"starting_after": {
"type": "string"
}
}
}stripe_get_couponGet a coupon by ID.
Args:
Returns: The coupon details.
{
"type": "object",
"required": [
"coupon_id"
],
"properties": {
"coupon_id": {
"type": "string",
"description": "Coupon ID"
}
}
}stripe_create_couponCreate a new coupon.
Args:
Returns: The created coupon.
{
"type": "object",
"required": [
"duration"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"currency": {
"type": "string"
},
"duration": {
"enum": [
"forever",
"once",
"repeating"
],
"type": "string"
},
"metadata": {
"type": "object"
},
"redeem_by": {
"type": "integer"
},
"amount_off": {
"type": "integer"
},
"percent_off": {
"type": "number"
},
"max_redemptions": {
"type": "integer"
},
"duration_in_months": {
"type": "integer"
}
}
}stripe_update_couponUpdate a coupon.
Args:
Returns: The updated coupon.
{
"type": "object",
"required": [
"coupon_id"
],
"properties": {
"name": {
"type": "string"
},
"metadata": {
"type": "object"
},
"coupon_id": {
"type": "string",
"description": "Coupon ID"
}
}
}stripe_delete_couponDelete a coupon.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"coupon_id"
],
"properties": {
"coupon_id": {
"type": "string",
"description": "Coupon ID"
}
}
}stripe_list_promotion_codesList promotion codes with pagination.
Args:
Returns: List of promotion codes
{
"type": "object",
"properties": {
"code": {
"type": "string"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"active": {
"type": "boolean"
},
"coupon": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_promotion_codeGet a promotion code by ID.
Args:
Returns: The promotion code details.
{
"type": "object",
"required": [
"promotion_code_id"
],
"properties": {
"promotion_code_id": {
"type": "string",
"description": "Promotion Code ID"
}
}
}stripe_list_transfersList transfers with pagination.
Args:
Returns: List of transfers
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"destination": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_create_promotion_codeCreate a promotion code for a coupon.
Args:
Returns: The created promotion code.
{
"type": "object",
"required": [
"coupon"
],
"properties": {
"code": {
"type": "string"
},
"active": {
"type": "boolean"
},
"coupon": {
"type": "string",
"description": "Coupon ID"
},
"customer": {
"type": "string"
},
"metadata": {
"type": "object"
},
"expires_at": {
"type": "integer"
},
"max_redemptions": {
"type": "integer"
}
}
}stripe_update_promotion_codeUpdate a promotion code.
Args:
Returns: The updated promotion code.
{
"type": "object",
"required": [
"promotion_code_id"
],
"properties": {
"active": {
"type": "boolean"
},
"metadata": {
"type": "object"
},
"promotion_code_id": {
"type": "string",
"description": "Promotion Code ID"
}
}
}stripe_list_tax_ratesList tax rates with pagination.
Args:
Returns: List of tax rates
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"active": {
"type": "boolean"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_tax_rateGet a tax rate by ID.
Args:
Returns: The tax rate details.
{
"type": "object",
"required": [
"tax_rate_id"
],
"properties": {
"tax_rate_id": {
"type": "string",
"description": "Tax Rate ID"
}
}
}stripe_create_tax_rateCreate a new tax rate.
Args:
Returns: The created tax rate.
{
"type": "object",
"required": [
"display_name",
"percentage",
"inclusive"
],
"properties": {
"state": {
"type": "string"
},
"active": {
"type": "boolean"
},
"country": {
"type": "string"
},
"metadata": {
"type": "object"
},
"inclusive": {
"type": "boolean",
"description": "Tax inclusive"
},
"percentage": {
"type": "number",
"description": "Tax percentage"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string",
"description": "Display name"
},
"jurisdiction": {
"type": "string"
}
}
}stripe_update_tax_rateUpdate a tax rate.
Args:
Returns: The updated tax rate.
{
"type": "object",
"required": [
"tax_rate_id"
],
"properties": {
"active": {
"type": "boolean"
},
"metadata": {
"type": "object"
},
"description": {
"type": "string"
},
"tax_rate_id": {
"type": "string",
"description": "Tax Rate ID"
},
"display_name": {
"type": "string"
}
}
}stripe_list_checkout_sessionsList checkout sessions with pagination.
Args:
Returns: List of checkout sessions
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"customer": {
"type": "string"
},
"subscription": {
"type": "string"
},
"payment_intent": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_checkout_sessionGet a checkout session by ID.
Args:
Returns: The checkout session details.
{
"type": "object",
"required": [
"session_id"
],
"properties": {
"session_id": {
"type": "string",
"description": "Checkout Session ID"
}
}
}stripe_create_checkout_sessionCreate a checkout session for hosted payment page.
Args:
Returns: The created checkout session with URL.
{
"type": "object",
"required": [
"mode"
],
"properties": {
"mode": {
"enum": [
"payment",
"setup",
"subscription"
],
"type": "string"
},
"customer": {
"type": "string"
},
"metadata": {
"type": "object"
},
"cancel_url": {
"type": "string"
},
"success_url": {
"type": "string"
},
"customer_email": {
"type": "string"
},
"payment_method_types": {
"type": "array",
"items": {
"type": "string"
}
},
"allow_promotion_codes": {
"type": "boolean"
}
}
}stripe_expire_checkout_sessionExpire a checkout session.
Args:
Returns: The expired session.
{
"type": "object",
"required": [
"session_id"
],
"properties": {
"session_id": {
"type": "string",
"description": "Checkout Session ID"
}
}
}stripe_list_accountsList connected accounts with pagination.
Args:
Returns: List of connected accounts
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"starting_after": {
"type": "string"
}
}
}stripe_get_accountGet a connected account by ID.
Args:
Returns: The account details.
{
"type": "object",
"required": [
"account_id"
],
"properties": {
"account_id": {
"type": "string",
"description": "Account ID"
}
}
}stripe_create_accountCreate a connected account.
Args:
Returns: The created account.
{
"type": "object",
"properties": {
"type": {
"enum": [
"custom",
"express",
"standard"
],
"type": "string"
},
"email": {
"type": "string",
"description": "Capabilities to request"
},
"country": {
"type": "string"
},
"metadata": {
"type": "object"
},
"business_type": {
"enum": [
"company",
"government_entity",
"individual",
"non_profit"
],
"type": "string"
}
}
}stripe_update_accountUpdate a connected account.
Args:
Returns: The updated account.
{
"type": "object",
"required": [
"account_id"
],
"properties": {
"email": {
"type": "string"
},
"metadata": {
"type": "object"
},
"account_id": {
"type": "string",
"description": "Account ID"
}
}
}stripe_get_transferGet a transfer by ID.
Args:
Returns: The transfer details.
{
"type": "object",
"required": [
"transfer_id"
],
"properties": {
"transfer_id": {
"type": "string",
"description": "Transfer ID"
}
}
}stripe_create_transferCreate a transfer to a connected account.
Args:
Returns: The created transfer.
{
"type": "object",
"required": [
"amount",
"currency",
"destination"
],
"properties": {
"amount": {
"type": "integer",
"description": "Amount in cents"
},
"currency": {
"type": "string",
"description": "Currency code"
},
"metadata": {
"type": "object"
},
"description": {
"type": "string"
},
"destination": {
"type": "string",
"description": "Destination account ID"
},
"transfer_group": {
"type": "string"
},
"source_transaction": {
"type": "string"
}
}
}stripe_list_payoutsList payouts with pagination.
Args:
Returns: List of payouts
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"status": {
"enum": [
"pending",
"paid",
"failed",
"canceled"
],
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_payoutGet a payout by ID.
Args:
Returns: The payout details.
{
"type": "object",
"required": [
"payout_id"
],
"properties": {
"payout_id": {
"type": "string",
"description": "Payout ID"
}
}
}stripe_create_payoutCreate a payout to your bank account.
Args:
Returns: The created payout.
{
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "integer",
"description": "Amount in cents"
},
"method": {
"enum": [
"standard",
"instant"
],
"type": "string"
},
"currency": {
"type": "string",
"description": "Currency code"
},
"metadata": {
"type": "object"
},
"description": {
"type": "string"
},
"destination": {
"type": "string"
}
}
}stripe_cancel_payoutCancel a pending payout.
Args:
Returns: The canceled payout.
{
"type": "object",
"required": [
"payout_id"
],
"properties": {
"payout_id": {
"type": "string",
"description": "Payout ID"
}
}
}stripe_reverse_payoutReverse a payout (returns funds to Stripe balance).
Args:
Returns: The reversed payout.
{
"type": "object",
"required": [
"payout_id"
],
"properties": {
"metadata": {
"type": "object"
},
"payout_id": {
"type": "string",
"description": "Payout ID"
}
}
}stripe_list_customersList customers from Stripe with pagination.
Returns a paginated list of customers. Use starting_after from the last customer to fetch the next page.
Args:
Returns: List of customers with pagination info
{
"type": "object",
"properties": {
"email": {
"type": "string",
"description": "Filter by email address"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Number of customers to return"
},
"starting_after": {
"type": "string",
"description": "Customer ID for pagination"
}
}
}stripe_get_customerGet a single customer by ID.
Args:
Returns: The customer record with all available fields.
{
"type": "object",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "string",
"description": "Stripe customer ID"
}
}
}stripe_create_customerCreate a new customer in Stripe.
Args:
Returns: The created customer record.
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Customer name"
},
"email": {
"type": "string",
"description": "Email address"
},
"phone": {
"type": "string",
"description": "Phone number"
},
"metadata": {
"type": "object",
"description": "Custom metadata"
},
"description": {
"type": "string",
"description": "Description"
}
}
}stripe_update_customerUpdate an existing customer.
Args:
Returns: The updated customer record.
{
"type": "object",
"required": [
"customer_id"
],
"properties": {
"name": {
"type": "string",
"description": "Customer name"
},
"email": {
"type": "string",
"description": "Email address"
},
"phone": {
"type": "string",
"description": "Phone number"
},
"metadata": {
"type": "object",
"description": "Custom metadata"
},
"customer_id": {
"type": "string",
"description": "Stripe customer ID"
},
"description": {
"type": "string",
"description": "Description"
}
}
}stripe_delete_customerDelete a customer from Stripe.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"customer_id"
],
"properties": {
"customer_id": {
"type": "string",
"description": "Stripe customer ID"
}
}
}stripe_search_customersSearch for customers using Stripe's search syntax.
Query syntax examples:
Args:
Returns: List of matching customers.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1,
"description": "Maximum results"
},
"query": {
"type": "string",
"description": "Search query"
}
}
}stripe_list_payment_intentsList payment intents with pagination.
Args:
Returns: List of payment intents
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"customer": {
"type": "string",
"description": "Filter by customer ID"
},
"starting_after": {
"type": "string"
}
}
}stripe_list_invoicesList invoices with pagination.
Args:
Returns: List of invoices
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"status": {
"enum": [
"draft",
"open",
"paid",
"uncollectible",
"void"
],
"type": "string"
},
"customer": {
"type": "string"
},
"subscription": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_create_invoiceCreate a new invoice.
Args:
Returns: The created invoice.
{
"type": "object",
"required": [
"customer"
],
"properties": {
"customer": {
"type": "string",
"description": "Customer ID"
},
"metadata": {
"type": "object"
},
"description": {
"type": "string"
},
"auto_advance": {
"type": "boolean"
},
"subscription": {
"type": "string"
},
"days_until_due": {
"type": "integer"
},
"collection_method": {
"enum": [
"charge_automatically",
"send_invoice"
],
"type": "string"
}
}
}stripe_update_invoiceUpdate an invoice (draft only for some fields).
Args:
Returns: The updated invoice.
{
"type": "object",
"required": [
"invoice_id"
],
"properties": {
"metadata": {
"type": "object"
},
"invoice_id": {
"type": "string",
"description": "Invoice ID"
},
"description": {
"type": "string"
},
"auto_advance": {
"type": "boolean"
}
}
}stripe_delete_invoiceDelete a draft invoice.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"invoice_id"
],
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID"
}
}
}stripe_finalize_invoiceFinalize a draft invoice (makes it ready to pay).
Args:
Returns: The finalized invoice.
{
"type": "object",
"required": [
"invoice_id"
],
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID"
}
}
}stripe_pay_invoicePay an open invoice.
Args:
Returns: The paid invoice.
{
"type": "object",
"required": [
"invoice_id"
],
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID"
},
"payment_method": {
"type": "string",
"description": "Payment method ID"
}
}
}stripe_send_invoiceSend an invoice to the customer (for manual collection).
Args:
Returns: The sent invoice.
{
"type": "object",
"required": [
"invoice_id"
],
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID"
}
}
}stripe_void_invoiceVoid an open invoice.
Args:
Returns: The voided invoice.
{
"type": "object",
"required": [
"invoice_id"
],
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID"
}
}
}stripe_mark_invoice_uncollectibleMark an invoice as uncollectible.
Args:
Returns: The uncollectible invoice.
{
"type": "object",
"required": [
"invoice_id"
],
"properties": {
"invoice_id": {
"type": "string",
"description": "Invoice ID"
}
}
}stripe_search_invoicesSearch invoices using Stripe search syntax.
Query examples:
Args:
Returns: List of matching invoices.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
}
}
}stripe_list_invoice_itemsList invoice items with pagination.
Args:
Returns: List of invoice items
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"invoice": {
"type": "string"
},
"customer": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_invoice_itemGet an invoice item by ID.
Args:
Returns: The invoice item details.
{
"type": "object",
"required": [
"invoice_item_id"
],
"properties": {
"invoice_item_id": {
"type": "string",
"description": "Invoice Item ID"
}
}
}stripe_create_invoice_itemCreate an invoice item (line item for a future invoice).
Args:
Returns: The created invoice item.
{
"type": "object",
"required": [
"customer"
],
"properties": {
"price": {
"type": "string",
"description": "Price ID"
},
"amount": {
"type": "integer",
"description": "Amount in cents"
},
"invoice": {
"type": "string",
"description": "Invoice ID"
},
"currency": {
"type": "string"
},
"customer": {
"type": "string",
"description": "Customer ID"
},
"metadata": {
"type": "object"
},
"quantity": {
"type": "integer"
},
"description": {
"type": "string"
}
}
}stripe_update_invoice_itemUpdate an invoice item.
Args:
Returns: The updated invoice item.
{
"type": "object",
"required": [
"invoice_item_id"
],
"properties": {
"amount": {
"type": "integer"
},
"metadata": {
"type": "object"
},
"quantity": {
"type": "integer"
},
"description": {
"type": "string"
},
"invoice_item_id": {
"type": "string",
"description": "Invoice Item ID"
}
}
}stripe_delete_invoice_itemDelete an invoice item.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"invoice_item_id"
],
"properties": {
"invoice_item_id": {
"type": "string",
"description": "Invoice Item ID"
}
}
}stripe_get_payment_intentGet a payment intent by ID.
Args:
Returns: The payment intent details.
{
"type": "object",
"required": [
"payment_intent_id"
],
"properties": {
"payment_intent_id": {
"type": "string",
"description": "PaymentIntent ID"
}
}
}stripe_create_payment_intentCreate a new payment intent.
Args:
Returns: The created PaymentIntent with client_secret for frontend.
{
"type": "object",
"required": [
"amount",
"currency"
],
"properties": {
"amount": {
"type": "integer",
"description": "Amount in cents"
},
"currency": {
"type": "string",
"description": "Currency code (e.g., usd)"
},
"customer": {
"type": "string",
"description": "Customer ID"
},
"metadata": {
"type": "object",
"description": "Custom metadata"
},
"description": {
"type": "string",
"description": "Payment description"
},
"capture_method": {
"enum": [
"automatic",
"manual"
],
"type": "string",
"description": "Capture method"
},
"payment_method_types": {
"type": "array",
"items": {
"type": "string"
},
"description": "Allowed payment methods"
}
}
}stripe_update_payment_intentUpdate a payment intent.
Args:
Returns: The updated PaymentIntent.
{
"type": "object",
"required": [
"payment_intent_id"
],
"properties": {
"amount": {
"type": "integer"
},
"currency": {
"type": "string"
},
"customer": {
"type": "string"
},
"metadata": {
"type": "object"
},
"description": {
"type": "string"
},
"payment_intent_id": {
"type": "string",
"description": "PaymentIntent ID"
}
}
}stripe_confirm_payment_intentConfirm a payment intent to proceed with payment.
Args:
Returns: The confirmed PaymentIntent.
{
"type": "object",
"required": [
"payment_intent_id"
],
"properties": {
"payment_intent_id": {
"type": "string",
"description": "PaymentIntent ID"
}
}
}stripe_capture_payment_intentCapture a PaymentIntent that was created with capture_method=manual.
Args:
Returns: The captured PaymentIntent.
{
"type": "object",
"required": [
"payment_intent_id"
],
"properties": {
"amount_to_capture": {
"type": "integer"
},
"payment_intent_id": {
"type": "string",
"description": "PaymentIntent ID"
}
}
}stripe_cancel_payment_intentCancel a payment intent.
Args:
Returns: The canceled PaymentIntent.
{
"type": "object",
"required": [
"payment_intent_id"
],
"properties": {
"payment_intent_id": {
"type": "string",
"description": "PaymentIntent ID"
}
}
}stripe_search_payment_intentsSearch payment intents using Stripe search syntax.
Query examples:
Args:
Returns: List of matching payment intents.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
}
}
}stripe_list_setup_intentsList setup intents for saving payment methods.
Args:
Returns: List of setup intents
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"customer": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_setup_intentGet a setup intent by ID.
Args:
Returns: The setup intent details.
{
"type": "object",
"required": [
"setup_intent_id"
],
"properties": {
"setup_intent_id": {
"type": "string",
"description": "SetupIntent ID"
}
}
}stripe_create_setup_intentCreate a setup intent for saving a payment method.
Args:
Returns: The created SetupIntent with client_secret.
{
"type": "object",
"properties": {
"usage": {
"enum": [
"off_session",
"on_session"
],
"type": "string"
},
"customer": {
"type": "string"
},
"metadata": {
"type": "object"
},
"description": {
"type": "string"
},
"payment_method_types": {
"type": "array",
"items": {
"type": "string"
}
}
}
}stripe_cancel_setup_intentCancel a setup intent.
Args:
Returns: The canceled SetupIntent.
{
"type": "object",
"required": [
"setup_intent_id"
],
"properties": {
"setup_intent_id": {
"type": "string",
"description": "SetupIntent ID"
}
}
}stripe_list_chargesList charges with pagination.
Args:
Returns: List of charges
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"customer": {
"type": "string"
},
"payment_intent": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_chargeGet a charge by ID.
Args:
Returns: The charge details.
{
"type": "object",
"required": [
"charge_id"
],
"properties": {
"charge_id": {
"type": "string",
"description": "Charge ID"
}
}
}stripe_update_chargeUpdate a charge's description or metadata.
Args:
Returns: The updated charge.
{
"type": "object",
"required": [
"charge_id"
],
"properties": {
"metadata": {
"type": "object"
},
"charge_id": {
"type": "string",
"description": "Charge ID"
},
"description": {
"type": "string"
}
}
}stripe_search_chargesSearch charges using Stripe search syntax.
Query examples:
Args:
Returns: List of matching charges.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
}
}
}stripe_list_refundsList refunds with pagination.
Args:
Returns: List of refunds
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"charge": {
"type": "string"
},
"payment_intent": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_refundGet a refund by ID.
Args:
Returns: The refund details.
{
"type": "object",
"required": [
"refund_id"
],
"properties": {
"refund_id": {
"type": "string",
"description": "Refund ID"
}
}
}stripe_create_refundCreate a refund for a charge or payment intent.
Args:
Returns: The created refund.
{
"type": "object",
"properties": {
"amount": {
"type": "integer",
"description": "Amount in cents"
},
"charge": {
"type": "string",
"description": "Charge ID"
},
"reason": {
"enum": [
"duplicate",
"fraudulent",
"requested_by_customer"
],
"type": "string"
},
"metadata": {
"type": "object"
},
"payment_intent": {
"type": "string",
"description": "PaymentIntent ID"
}
}
}stripe_cancel_refundCancel a refund (only possible if not yet processed).
Args:
Returns: The canceled refund.
{
"type": "object",
"required": [
"refund_id"
],
"properties": {
"refund_id": {
"type": "string",
"description": "Refund ID"
}
}
}stripe_list_payment_methodsList payment methods for a customer.
Args:
Returns: List of payment methods
{
"type": "object",
"required": [
"customer"
],
"properties": {
"type": {
"type": "string",
"description": "Payment method type"
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"customer": {
"type": "string",
"description": "Customer ID"
}
}
}stripe_get_payment_methodGet a payment method by ID.
Args:
Returns: The payment method details.
{
"type": "object",
"required": [
"payment_method_id"
],
"properties": {
"payment_method_id": {
"type": "string",
"description": "PaymentMethod ID"
}
}
}stripe_attach_payment_methodAttach a payment method to a customer.
Args:
Returns: The attached payment method.
{
"type": "object",
"required": [
"payment_method_id",
"customer"
],
"properties": {
"customer": {
"type": "string",
"description": "Customer ID"
},
"payment_method_id": {
"type": "string",
"description": "PaymentMethod ID"
}
}
}stripe_detach_payment_methodDetach a payment method from its customer.
Args:
Returns: The detached payment method.
{
"type": "object",
"required": [
"payment_method_id"
],
"properties": {
"payment_method_id": {
"type": "string",
"description": "PaymentMethod ID"
}
}
}stripe_list_disputesList disputes with pagination.
Args:
Returns: List of disputes
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"charge": {
"type": "string"
},
"payment_intent": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_disputeGet a dispute by ID.
Args:
Returns: The dispute details.
{
"type": "object",
"required": [
"dispute_id"
],
"properties": {
"dispute_id": {
"type": "string",
"description": "Dispute ID"
}
}
}stripe_close_disputeClose a dispute (accept the dispute and stop contesting).
Args:
Returns: The closed dispute.
{
"type": "object",
"required": [
"dispute_id"
],
"properties": {
"dispute_id": {
"type": "string",
"description": "Dispute ID"
}
}
}stripe_list_productsList products with pagination.
Args:
Returns: List of products
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"active": {
"type": "boolean"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_productGet a product by ID.
Args:
Returns: The product details.
{
"type": "object",
"required": [
"product_id"
],
"properties": {
"product_id": {
"type": "string",
"description": "Product ID"
}
}
}stripe_create_productCreate a new product.
Args:
Returns: The created product.
{
"type": "object",
"required": [
"name"
],
"properties": {
"url": {
"type": "string"
},
"name": {
"type": "string",
"description": "Product name"
},
"active": {
"type": "boolean"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"metadata": {
"type": "object"
},
"description": {
"type": "string"
}
}
}stripe_update_productUpdate a product.
Args:
Returns: The updated product.
{
"type": "object",
"required": [
"product_id"
],
"properties": {
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"images": {
"type": "array",
"items": {
"type": "string"
}
},
"metadata": {
"type": "object"
},
"product_id": {
"type": "string",
"description": "Product ID"
},
"description": {
"type": "string"
}
}
}stripe_search_productsSearch products using Stripe search syntax.
Query examples:
Args:
Returns: List of matching products.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
}
}
}stripe_list_pricesList prices with pagination.
Args:
Returns: List of prices
{
"type": "object",
"properties": {
"type": {
"enum": [
"one_time",
"recurring"
],
"type": "string"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"active": {
"type": "boolean"
},
"product": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_priceGet a price by ID.
Args:
Returns: The price details.
{
"type": "object",
"required": [
"price_id"
],
"properties": {
"price_id": {
"type": "string",
"description": "Price ID"
}
}
}stripe_create_priceCreate a new price for a product.
Args:
Returns: The created price.
{
"type": "object",
"required": [
"product",
"currency"
],
"properties": {
"active": {
"type": "boolean"
},
"product": {
"type": "string",
"description": "Product ID"
},
"currency": {
"type": "string",
"description": "Currency code"
},
"metadata": {
"type": "object"
},
"nickname": {
"type": "string"
},
"unit_amount": {
"type": "integer",
"description": "Amount in cents"
}
}
}stripe_update_priceUpdate a price (only active, nickname, and metadata can be updated).
Args:
Returns: The updated price.
{
"type": "object",
"required": [
"price_id"
],
"properties": {
"active": {
"type": "boolean"
},
"metadata": {
"type": "object"
},
"nickname": {
"type": "string"
},
"price_id": {
"type": "string",
"description": "Price ID"
}
}
}stripe_search_pricesSearch prices using Stripe search syntax.
Query examples:
Args:
Returns: List of matching prices.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
}
}
}stripe_list_subscriptionsList subscriptions with pagination.
Args:
Returns: List of subscriptions
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"price": {
"type": "string"
},
"customer": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_subscriptionGet a subscription by ID.
Args:
Returns: The subscription details.
{
"type": "object",
"required": [
"subscription_id"
],
"properties": {
"subscription_id": {
"type": "string",
"description": "Subscription ID"
}
}
}stripe_create_subscriptionCreate a new subscription.
Args:
Returns: The created subscription.
{
"type": "object",
"required": [
"customer"
],
"properties": {
"customer": {
"type": "string",
"description": "Customer ID"
},
"metadata": {
"type": "object"
},
"days_until_due": {
"type": "integer"
},
"collection_method": {
"enum": [
"charge_automatically",
"send_invoice"
],
"type": "string"
},
"trial_period_days": {
"type": "integer"
},
"cancel_at_period_end": {
"type": "boolean"
},
"default_payment_method": {
"type": "string"
}
}
}stripe_update_subscriptionUpdate a subscription.
Args:
Returns: The updated subscription.
{
"type": "object",
"properties": {
"metadata": {
"type": "object"
},
"subscription_id": {
"type": "string",
"description": "Subscription ID"
},
"proration_behavior": {
"enum": [
"create_prorations",
"none",
"always_invoice"
],
"type": "string"
},
"cancel_at_period_end": {
"type": "boolean"
},
"default_payment_method": {
"type": "string"
}
}
}stripe_cancel_subscriptionCancel a subscription.
Args:
Returns: The canceled subscription.
{
"type": "object",
"required": [
"subscription_id"
],
"properties": {
"prorate": {
"type": "boolean"
},
"invoice_now": {
"type": "boolean"
},
"subscription_id": {
"type": "string",
"description": "Subscription ID"
}
}
}stripe_resume_subscriptionResume a paused subscription.
Args:
Returns: The resumed subscription.
{
"type": "object",
"required": [
"subscription_id"
],
"properties": {
"subscription_id": {
"type": "string",
"description": "Subscription ID"
}
}
}stripe_search_subscriptionsSearch subscriptions using Stripe search syntax.
Query examples:
Args:
Returns: List of matching subscriptions.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
}
}
}stripe_list_subscription_itemsList items in a subscription.
Args:
Returns: List of subscription items
{
"type": "object",
"required": [
"subscription"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"subscription": {
"type": "string",
"description": "Subscription ID"
}
}
}stripe_get_subscription_itemGet a subscription item by ID.
Args:
Returns: The subscription item details.
{
"type": "object",
"required": [
"subscription_item_id"
],
"properties": {
"subscription_item_id": {
"type": "string",
"description": "Subscription Item ID"
}
}
}stripe_create_subscription_itemAdd an item to an existing subscription.
Args:
Returns: The created subscription item.
{
"type": "object",
"required": [
"subscription",
"price"
],
"properties": {
"price": {
"type": "string",
"description": "Price ID"
},
"metadata": {
"type": "object"
},
"quantity": {
"type": "integer"
},
"subscription": {
"type": "string",
"description": "Subscription ID"
}
}
}stripe_update_subscription_itemUpdate a subscription item.
Args:
Returns: The updated subscription item.
{
"type": "object",
"required": [
"subscription_item_id"
],
"properties": {
"price": {
"type": "string"
},
"metadata": {
"type": "object"
},
"quantity": {
"type": "integer"
},
"subscription_item_id": {
"type": "string",
"description": "Subscription Item ID"
}
}
}stripe_delete_subscription_itemRemove an item from a subscription.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"subscription_item_id"
],
"properties": {
"subscription_item_id": {
"type": "string",
"description": "Subscription Item ID"
}
}
}stripe_list_plansList plans (legacy, use prices instead).
Args:
Returns: List of plans
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 100,
"minimum": 1
},
"active": {
"type": "boolean"
},
"product": {
"type": "string"
},
"starting_after": {
"type": "string"
}
}
}stripe_get_planGet a plan by ID (legacy, use prices instead).
Args:
Returns: The plan details.
{
"type": "object",
"required": [
"plan_id"
],
"properties": {
"plan_id": {
"type": "string",
"description": "Plan ID"
}
}
}