Complete payment processing platform with support for payments, subscriptions, invoicing, and financial services
stripe.createcustomer
email
(TEXT, Optional): Customer’s email address. This will be their primary contact and used for invoices.
name
(TEXT, Optional): Customer’s full name or business name. This appears on invoices and in the Stripe dashboard.customParameters
(TEXT, Optional): Additional Stripe customer parameters as JSON object. Common fields: description, phone, address (with line1, city, postal_code, country), shipping, metadata (for custom data like orgID, timezone), preferred_locales, tax_exempt, tax_id_data (array of tax IDs). For German VAT: tax_id_data: [type’: ‘eu_vat’, ‘value’: ‘DE123456789]. Full example: description’: ‘Company ABC’, ‘phone’: ‘+1234567890’, ‘address’: line1’: ‘123 Main St’, ‘city’: ‘Berlin’, ‘postal_code’: ‘10115’, ‘country’: ‘DE, ‘metadata’: orgID’: ‘workspace_123’, ‘timezone’: ‘Europe/Berlin, ‘tax_id_data’: [type’: ‘eu_vat’, ‘value’: ‘DE123456789]}stripe.updatecustomer
customerId
(TEXT, Required): The ID of the customer to update (e.g., cus_…)
email
(TEXT, Optional): Customer’s email addressname
(TEXT, Optional): Customer’s full name or business namedescription
(TEXT, Optional): An arbitrary string that you can attach to a customer objectphone
(TEXT, Optional): Customer’s phone numbermetadata
(TEXT, Optional): Set of key-value pairs that you can attach to an objectstripe.getcustomer
customerId
(TEXT, Required): The ID of the customer to retrievestripe.listcustomers
email
(TEXT, Optional): Filter customers by email address
limit
(NUMBER, Optional): Maximum number of customers to return (1-100)stripe.createpaymentintent
amount
(NUMBER, Required): Amount to be collected in the smallest currency unit (e.g., cents for USD)
currency
(TEXT, Required): Three-letter ISO currency code (e.g., usd, eur, gbp)customerId
(TEXT, Optional): ID of the customer this payment intent is fordescription
(TEXT, Optional): An arbitrary string attached to the objectmetadata
(TEXT, Optional): Set of key-value pairs that you can attach to an objectpaymentMethodTypes
(TEXT, Optional): Array of payment method types to accept. Example: [‘card’, ‘customer_balance’] - use ‘customer_balance’ for bank transferspaymentMethodOptions
(TEXT, Optional): Additional options for payment methods. For bank transfers use: customer_balance’: funding_type’: ‘bank_transfer’, ‘bank_transfer’: type’: ‘eu_bank_transfer}} or ‘us_bank_transfer’ for USstripe.confirmpaymentintent
paymentIntentId
(TEXT, Required): The ID of the payment intent to confirm
paymentMethodId
(TEXT, Optional): ID of the payment method to usestripe.createsubscription
customerId
(TEXT, Required): The ID of the customer to subscribe
items
(TEXT, Required): List of subscription items, each with a price ID. Example: [price’: ‘price_1234]trialPeriodDays
(NUMBER, Optional): Number of trial period days for the subscriptionmetadata
(TEXT, Optional): Set of key-value pairs that you can attach to an objectdefaultPaymentMethod
(TEXT, Optional): ID of the default payment method for the subscriptioncollectionMethod
(SELECT, Optional): How to collect payment for the subscription. Use ‘send_invoice’ for manual bank transfersdaysUntilDue
(NUMBER, Optional): Number of days until the invoice is due (only used when collection_method is ‘send_invoice’)paymentSettings
(TEXT, Optional): Payment settings for the subscription. For bank transfers: payment_method_types’: [‘customer_balance’], ‘payment_method_options’: customer_balance’: funding_type’: ‘bank_transfer}}defaultTaxRates
(TEXT, Optional): Array of tax rate IDs to apply to the subscription. Example: [‘txr_1234’]coupon
(TEXT, Optional): The coupon ID to apply to this subscriptionpromotionCode
(TEXT, Optional): The promotion code ID to apply to this subscriptionstripe.cancelsubscription
subscriptionId
(TEXT, Required): The ID of the subscription to cancel
cancelAtPeriodEnd
(BOOLEAN, Optional): If true, subscription will be canceled at the end of the current periodstripe.createproduct
name
(TEXT, Required): The product’s name, meant to be displayable to the customer
description
(TEXT, Optional): The product’s description, meant to be displayable to the customeractive
(BOOLEAN, Optional): Whether the product is currently available for purchasemetadata
(TEXT, Optional): Set of key-value pairs that you can attach to an objectstripe.createprice
productId
(TEXT, Required): The ID of the product this price is for
unitAmount
(NUMBER, Required): The unit amount in the smallest currency unit (e.g., cents)currency
(TEXT, Required): Three-letter ISO currency coderecurring
(TEXT, Optional): The recurring components of a price. Example: interval’: ‘month’, ‘interval_count’: 1}nickname
(TEXT, Optional): A brief description of the price, hidden from customersstripe.createinvoice
customerId
(TEXT, Required): The ID of the customer to invoice
description
(TEXT, Optional): An arbitrary string attached to the objectautoAdvance
(BOOLEAN, Optional): Controls whether Stripe will perform automatic collection of the invoicecollectionMethod
(SELECT, Optional): Either charge_automatically or send_invoicedaysUntilDue
(NUMBER, Optional): Number of days until the invoice is due (required when collection_method is ‘send_invoice’)stripe.addinvoiceitem
customerId
(TEXT, Required): The ID of the customer (required)
invoiceId
(TEXT, Optional): The ID of the invoice to add the item to (optional - if not provided, creates a pending invoice item)priceId
(TEXT, Optional): The ID of the price objectquantity
(NUMBER, Optional): The quantity of units for the itemamount
(NUMBER, Optional): The amount for a one-time charge (in cents)description
(TEXT, Optional): Description for the invoice itemstripe.sendinvoice
invoiceId
(TEXT, Required): The ID of the invoice to sendstripe.createpaymentmethod
type
(SELECT, Required): The type of payment method (us_bank_account, sepa_debit)
sepaDebit
(TEXT, Optional): SEPA bank account details if type is ‘sepa_debit’. Example: iban’: ‘DE89370400440532013000usBankAccount
(TEXT, Optional): US bank account details if type is ‘us_bank_account’. Example: account_number’: ‘000123456789’, ‘routing_number’: ‘110000000’, ‘account_holder_type’: ‘individualbillingDetails
(TEXT, Optional): Billing information (required for bank accounts). Example: name’: ‘John Doe’, ‘email’: ‘john@example.com’, ‘phone’: ‘+15555555555’, ‘address’: line1’: ‘123 Main St’, ‘city’: ‘San Francisco’, ‘state’: ‘CA’, ‘postal_code’: ‘94111’, ‘country’: ‘US}stripe.attachpaymentmethod
paymentMethodId
(TEXT, Required): The ID of the payment method to attach
customerId
(TEXT, Required): The ID of the customer to attach the payment method tostripe.createcharge
amount
(NUMBER, Required): Amount to charge in the smallest currency unit (e.g., cents)
currency
(TEXT, Required): Three-letter ISO currency codecustomerId
(TEXT, Optional): The ID of the customer to chargesource
(TEXT, Optional): Payment source to charge (payment method ID or token)description
(TEXT, Optional): An arbitrary string attached to the chargestripe.createrefund
chargeId
(TEXT, Optional): The ID of the charge to refund
paymentIntentId
(TEXT, Optional): The ID of the payment intent to refundamount
(NUMBER, Optional): Amount to refund in cents. If not provided, the entire charge is refundedreason
(SELECT, Optional): Reason for the refund (duplicate, fraudulent, requested_by_customer)stripe.listcharges
customerId
(TEXT, Optional): Only return charges for this customer
limit
(NUMBER, Optional): Maximum number of charges to return (1-100)stripe.listpaymentintents
customerId
(TEXT, Optional): Only return payment intents for this customer
limit
(NUMBER, Optional): Maximum number of payment intents to return (1-100)stripe.listsubscriptions
customerId
(TEXT, Optional): Only return subscriptions for this customer
status
(SELECT, Optional): Only return subscriptions with this status (active, past_due, unpaid, canceled, incomplete, incomplete_expired, trialing)limit
(NUMBER, Optional): Maximum number of subscriptions to return (1-100)stripe.listinvoices
customerId
(TEXT, Optional): Only return invoices for this customer
status
(SELECT, Optional): Only return invoices with this status (draft, open, paid, uncollectible, void)limit
(NUMBER, Optional): Maximum number of invoices to return (1-100)stripe.createcheckoutsession
successUrl
(TEXT, Required): The URL to redirect to after successful payment
cancelUrl
(TEXT, Required): The URL to redirect to if the customer cancels paymentmode
(SELECT, Required): The mode of the Checkout Session (payment, subscription, setup)lineItems
(TEXT, Optional): List of items the customer is purchasing. Example: [price’: ‘price_1234’, ‘quantity’: 2}]customerId
(TEXT, Optional): ID of an existing customer, if one existsstripe.retrievebalance
stripe.getcustomerfundinginstructions
customerId
(TEXT, Required): The ID of the customer to retrieve funding instructions for
currency
(TEXT, Optional): The currency to retrieve funding instructions for (e.g., eur, usd)stripe.listtransactions
limit
(NUMBER, Optional): Maximum number of transactions to return (1-100)
type
(TEXT, Optional): Only return transactions of this typestripe.createtaxrate
displayName
(TEXT, Required): The display name of the tax rate (e.g., ‘German VAT’)
percentage
(NUMBER, Required): The tax rate percentage (e.g., 19 for 19%)inclusive
(BOOLEAN, Optional): Whether the tax rate is inclusive (true) or exclusive (false)country
(TEXT, Optional): Two-letter country code (e.g., ‘DE’ for Germany)description
(TEXT, Optional): Description of the tax ratemetadata
(TEXT, Optional): Set of key-value pairs that you can attach to an objectstripe.updatesubscription
subscriptionId
(TEXT, Required): The ID of the subscription to update
defaultTaxRates
(TEXT, Optional): Array of tax rate IDs to apply to the subscription. Example: [‘txr_1234’]items
(TEXT, Optional): Array of subscription items to update with tax rates. Example: [id’: ‘si_xxx’, ‘tax_rates’: [‘txr_xxx’]}]trialEnd
(TEXT, Optional): Unix timestamp for trial endcancelAtPeriodEnd
(BOOLEAN, Optional): Whether to cancel at period enddescription
(TEXT, Optional): Description for the subscriptionmetadata
(TEXT, Optional): Set of key-value pairs that you can attach to an objectcoupon
(TEXT, Optional): The coupon ID to apply to this subscriptionpromotionCode
(TEXT, Optional): The promotion code ID to apply to this subscriptionstripe.listtaxIDs
customerId
(TEXT, Required): The ID of the customer to list tax IDs forstripe.gettaxID
customerId
(TEXT, Required): The ID of the customer
taxId
(TEXT, Required): The ID of the tax ID to retrievestripe.listtaxrates
active
(BOOLEAN, Optional): Filter by active status (true/false)
limit
(NUMBER, Optional): Maximum number of tax rates to return (1-100)stripe.getinvoice
invoiceId
(TEXT, Required): The ID of the invoice to retrieve (e.g., in_…)stripe.getsubscription
subscriptionId
(TEXT, Required): The ID of the subscription to retrieve (e.g., sub_…)stripe.listoverdueinvoices
customerId
(TEXT, Optional): Only return overdue invoices for this customer
limit
(NUMBER, Optional): Maximum number of overdue invoices to return (1-100)daysOverdue
(NUMBER, Optional): Only return invoices that have been overdue for at least this many daysIssue | Solution |
---|---|
Authentication failed | Verify your API Key credentials |
Rate limit exceeded | Reduce request frequency |
Data not found | Check permissions and data availability |
Connection timeout | Verify network connectivity |