Stripe
Learn how to use Stripe with Composio
Overview
Enum
STRIPE
Description
Stripe offers online payment infrastructure, fraud prevention, and APIs enabling businesses to accept and manage payments globally
Authentication Details
API_KEY
Actions
STRIPE_CANCEL_SUBSCRIPTION
Cancels a customer’s subscription in stripe immediately or at the end of the billing period.
Action Parameters
Action Response
STRIPE_CONFIRM_PAYMENT_INTENT
Confirms a paymentintent in stripe, initiating payment with the current or provided payment method.
Action Parameters
Action Response
STRIPE_CREATE_CUSTOMER
Creates a new customer record in stripe.
Action Parameters
Action Response
STRIPE_CREATE_INVOICE
Creates a draft invoice for a given customer in stripe.
Action Parameters
Action Response
STRIPE_CREATE_PAYMENT_INTENT
Creates a paymentintent in stripe to initiate a payment.
Action Parameters
Action Response
STRIPE_CREATE_PRICE
Creates a new price for a product in stripe, handling both flat and nested fields.
Action Parameters
Action Response
STRIPE_CREATE_PRODUCT
Creates a new product in stripe.
Action Parameters
Action Response
STRIPE_CREATE_REFUND
Creates a refund for a charge or payment intent. this tool allows you to process full or partial refunds for payments made through stripe.
Action Parameters
Action Response
STRIPE_CREATE_SUBSCRIPTION
Creates a new detailed subscription for an existing customer in stripe.
Action Parameters
Action Response
STRIPE_DELETE_CUSTOMER
Permanently deletes a customer from your stripe account. when a customer is deleted: - they can no longer be retrieved - any active subscriptions are immediately canceled - all associated data (payment methods, subscriptions, and invoice history) is permanently removed this action is irreversible.
Action Parameters
Action Response
STRIPE_LIST_CHARGES
Retrieves a list of charges from stripe, optionally filtered by various parameters.
Action Parameters
Action Response
STRIPE_LIST_COUPONS
Action to list all coupons from your stripe account. this tool retrieves a list of all coupons from your stripe account. coupons can be used to apply discounts to customers’ purchases or subscriptions.
Action Parameters
Action Response
STRIPE_LIST_CUSTOMERS
Retrieves a list of customers from stripe, optionally filtered by various parameters.
Action Parameters
Action Response
STRIPE_LIST_CUSTOMER_PAYMENT_METHODS
This tool retrieves a list of payment methods associated with a specific stripe customer. it fetches all paymentmethod objects that are attached to the given customer and supports parameters such as customer id, type, limit, starting after, and ending before for filtering and pagination.
Action Parameters
Action Response
STRIPE_LIST_INVOICES
Retrieves a list of invoices from stripe, optionally filtered by various parameters.
Action Parameters
Action Response
STRIPE_LIST_PAYMENT_INTENTS
Retrieves a list of paymentintents from stripe, optionally filtered by various parameters.
Action Parameters
Action Response
STRIPE_LIST_PAYMENT_LINKS
This tool retrieves a list of payment links from your stripe account. payment links are urls that can be shared with customers to collect payments. the tool returns a paginated list of payment link objects, sorted by creation date in descending order.
Action Parameters
Action Response
STRIPE_LIST_PRODUCTS
Retrieves a list of products from stripe, optionally filtered by various parameters.
Action Parameters
Action Response
STRIPE_LIST_REFUNDS
This tool retrieves a list of all refunds from your stripe account. it returns refunds in sorted order with the most recent appearing first. it supports filtering by charge, payment intent, creation date (with comparison operators), and pagination parameters such as ending before, starting after, and limit.
Action Parameters
Action Response
STRIPE_LIST_SHIPPING_RATES
This tool retrieves a list of shipping rates from your stripe account using the get method. it supports filtering by active status, creation date, currency, and limit, and returns a list of shipping rate objects with details such as id, active status, display name, and more. this is useful for applications that need to display available shipping options or manage shipping configurations.
Action Parameters
Action Response
STRIPE_LIST_SUBSCRIPTIONS
Retrieves a list of subscriptions from stripe, optionally filtered by various parameters.
Action Parameters
Action Response
STRIPE_LIST_TAX_CODES
This tool retrieves a list of all tax codes available in stripe. tax codes classify goods and services for tax purposes and determine their tax behavior. the endpoint returns a paginated list of tax code objects, including details such as id, description, name, and additional pagination information (has more, url).
Action Parameters
Action Response
STRIPE_LIST_TAX_RATES
This tool retrieves a list of all tax rates in your stripe account by offering filter options such as active/inactive, inclusive/exclusive, creation date, limit, and pagination using starting after and ending before. the tax rates are returned sorted by creation date with the most recent appearing first.
Action Parameters
Action Response
STRIPE_RETRIEVE_BALANCE
Retrieves the current account balance in stripe based on the authentication used for the request.
Action Parameters
Action Response
STRIPE_RETRIEVE_CHARGE
Action to retrieve details of a specific charge from stripe.
Action Parameters
Action Response
STRIPE_RETRIEVE_CUSTOMER
Retrieves an existing customer’s information from stripe.
Action Parameters
Action Response
STRIPE_RETRIEVE_PAYMENT_INTENT
This tool retrieves a paymentintent object using its id. a paymentintent tracks the process of collecting a payment from your customer and includes detailed information about the payment status, amount, and associated payment method. it is used for checking the status of a payment, verifying payment details, handling payment flow logic based on the paymentintent status, retrieving payment-related information for record-keeping, and debugging payment issues.
Action Parameters
Action Response
STRIPE_RETRIEVE_REFUND
This tool retrieves the details of a specific refund using the stripe api. it allows you to get comprehensive information about a refund that has been previously created, including refund id, amount, balance transaction details, associated charge, timestamp, currency, metadata, payment intent, refund reason, status, and transfer reversal details. it is particularly useful for monitoring refund status, verifying refund details, and maintaining accurate records of refund transactions.
Action Parameters
Action Response
STRIPE_RETRIEVE_SUBSCRIPTION
Retrieves a subscription from stripe using the given subscription id.
Action Parameters
Action Response
STRIPE_SEARCH_CUSTOMERS
This tool allows for searching customers using a query string with stripe’s search api. it provides powerful search capabilities by leveraging stripe’s query language, allowing advanced search operations such as exact matches, range queries, multiple conditions, and boolean operations. it is particularly useful for finding customers by metadata, creation date ranges, and partial text matches.
Action Parameters
Action Response
STRIPE_UPDATE_CUSTOMER
Updates an existing customer’s information in stripe with bracket-notation flattening.
Action Parameters
Action Response
STRIPE_UPDATE_PAYMENT_INTENT
Updates properties on a paymentintent object without confirming it. this action allows you to modify various properties of an existing paymentintent, such as the amount, metadata, payment method, or customer details. depending on which properties you update, you might need to confirm the paymentintent again. for example, updating the payment method always requires confirmation.
Action Parameters
Action Response
STRIPE_UPDATE_SUBSCRIPTION
Updates an existing subscription in stripe with bracket-notation flattening.
Action Parameters
Action Response