Stripe
stripeStripe offers online payment infrastructure, fraud prevention, and APIs enabling businesses to accept and manage payments globally
Acciones disponibles (33)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Cancel subscriptionSTRIPE_CANCEL_SUBSCRIPTIONAcciónCancels a customer's active stripe subscription at the end of the current billing period, with options to invoice immediately for metered usage and prorate charges for unused time.
STRIPE_CANCEL_SUBSCRIPTIONAcciónCancels a customer's active stripe subscription at the end of the current billing period, with options to invoice immediately for metered usage and prorate charges for unused time.
Parámetros de entrada
proratebooleanIf true, generates a proration invoice item for unused time remaining in the current billing cycle.
invoice_nowbooleanIf true, generates a final invoice for any un-invoiced metered usage.
subscription_idstringObligatorioIdentifier of the subscription to cancel.
cancellation_detailsobjectSpecifies reasons for cancellation. Common keys: 'comment' (free-form text) and 'feedback' (e.g., 'customer_service', 'low_usage', 'switched_service'). Example: {'comment': 'Switching services.', 'feedback': 'switched_service'}
Parámetros de salida
dataobjectObligatorioThe full Stripe Subscription object that has been canceled.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Confirm payment intentSTRIPE_CONFIRM_PAYMENT_INTENTAcciónConfirms a stripe paymentintent to finalize a payment; a `return url` is necessary if the payment method requires customer redirection.
STRIPE_CONFIRM_PAYMENT_INTENTAcciónConfirms a stripe paymentintent to finalize a payment; a `return url` is necessary if the payment method requires customer redirection.
Parámetros de entrada
shippingobjectShipping information, overriding any previously set; provide a dictionary with address details.
return_urlstringURL for customer redirection after authentication steps (e.g., 3D Secure); necessary for redirection-based payment methods.
receipt_emailstringEmail address for Stripe to send a receipt, overriding any previously set on the PaymentIntent.
capture_methodstringControls fund capture (`automatic` for immediate, `manual` for later authorization), overriding the PaymentIntent's setting. Can change from `manual` to `automatic`, but not from `automatic` to `manual` during confirmation.
payment_methodstringID of the PaymentMethod to attach; if omitted, Stripe uses the latest associated payment method.
payment_intent_idstringObligatorioThe unique identifier of the PaymentIntent to be confirmed.
setup_future_usagestringIndicates intent to save the payment method for future use (`on_session` or `off_session`), overriding any previously set value.
Parámetros de salida
dataobjectObligatorioThe full Stripe PaymentIntent object representing the confirmed payment, including its status and details.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create CustomerSTRIPE_CREATE_CUSTOMERAcciónCreates a new customer in stripe, required for creating charges or subscriptions; an email is highly recommended for customer communications.
STRIPE_CREATE_CUSTOMERAcciónCreates a new customer in stripe, required for creating charges or subscriptions; an email is highly recommended for customer communications.
Parámetros de entrada
namestringThe customer's full name or the name of the business.
emailstringThe customer's primary email address, used by Stripe for sending invoices, receipts, and other important communications.
phonestringThe customer's primary phone number. Include the country code for international numbers (e.g., +1 for the USA).
addressobjectThe customer's billing address, provided as a dictionary where both keys and values are strings. This address can be used for tax calculation, shipping, and fraud prevention. Common keys include: `line1` (street address, P.O. box, or c/o), `line2` (apartment, suite, unit, or building), `city`, `state` (state, province, or region), `postal_code` (ZIP or postal code), and `country` (a two-letter ISO country code, e.g., 'US', 'GB'). All keys are optional.
descriptionstringAn arbitrary string that you can attach to a customer object for your internal reference (e.g., notes about the customer). This is not visible to the customer.
Parámetros de salida
dataobjectObligatorioThe complete JSON response from the Stripe API, representing the created customer object. This typically includes the customer's ID, and all other attributes of the customer, such as email, name, address (if provided), etc.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create an invoiceSTRIPE_CREATE_INVOICEAcciónCreates a new draft stripe invoice for a customer; use to revise an existing invoice, bill for a specific subscription (which must belong to the customer), or apply detailed customizations.
STRIPE_CREATE_INVOICEAcciónCreates a new draft stripe invoice for a customer; use to revise an existing invoice, bill for a specific subscription (which must belong to the customer), or apply detailed customizations.
Parámetros de entrada
footerstringA custom footer text to display on the invoice PDF.
issuerobjectDetails about the entity that is issuing the invoice. Applicable for Stripe Connect.
numberstringA custom number to identify this invoice. If not provided, Stripe will generate one. It must be unique.
currencystringThe three-letter ISO currency code (e.g., usd, eur). Must be a supported currency. Defaults to the customer's currency, or the subscription's currency if `subscription` is provided.
customerstringObligatorioThe ID of the customer to be billed.
due_dateintegerThe date on which the invoice is due. Unix timestamp in seconds. MUST be a future date. Only applicable if `collection_method` is 'send_invoice'. Cannot be used with `days_until_due`. IMPORTANT FOR DATE CONVERSION: - Always convert natural language dates to Unix timestamps representing future dates - Use the current date as reference point - do NOT use outdated reference dates - Common conversion errors: "June 15, 2025" should be ~1749925800 (not 1718755200 which is June 2024) EXAMPLES OF CORRECT CONVERSIONS (based on current date): - "June 15, 2025" → 1749925800 - "December 31, 2025" → 1767196800 - "Next month" → Calculate from current date + 30 days - "In 30 days" → Calculate from current date + 30 days VALIDATION: Before using any timestamp, verify it represents a FUTURE date by checking: - The timestamp should be greater than current Unix timestamp - Convert back to human date to confirm it matches the intended future date Example: For June 15, 2025, use 1749925800 (verified future date).
metadataobjectA set of key-value pairs to store additional information about the object. This is useful for storing custom data.
discountsobject[]The discounts to apply to the invoice. This can include coupon IDs or discount IDs.
renderingobjectOptions for customizing the invoice PDF appearance.
descriptionstringAn arbitrary string attached to the invoice, often visible to the customer.
auto_advancebooleanControls whether Stripe automatically finalizes and attempts payment on this invoice. When false, the invoice remains a draft. Defaults to true for `collection_method='charge_automatically'`, and false for `collection_method='send_invoice'`.
from_invoiceobjectDetails for revising an existing invoice.
on_behalf_ofstringThe Stripe account ID on behalf of which to charge. Used with Stripe Connect.
subscriptionstringThe ID of the subscription to which this invoice belongs. If provided, the invoice will bill for the subscription's items.
automatic_taxobjectConfiguration for Stripe's automatic tax calculation on the invoice.
custom_fieldsobject[]A list of custom fields to display on the invoice. Each field consists of a name and a value.
shipping_costobjectShipping cost for the invoice. Provide an existing `shipping_rate` ID or define `shipping_rate_data`.
transfer_dataobjectFor Stripe Connect, details of the destination account for transferring funds from this invoice.
days_until_dueintegerThe number of days from when the invoice is finalized until it is due. Only applicable if `collection_method` is 'send_invoice'. Cannot be used with `due_date`. RECOMMENDED APPROACH: When users specify future dates in natural language (like "due in 30 days" or "due next month"), using `days_until_due` is safer than converting to Unix timestamps with `due_date`, as it avoids potential timestamp conversion errors. EXAMPLES: - "Due in 30 days" → days_until_due: 30 - "Due next month" → days_until_due: 30 - "Due in two weeks" → days_until_due: 14 - "Net 15 terms" → days_until_due: 15
default_sourcestringID of the default payment source (e.g., card) to be used for this invoice. Deprecated in favor of `default_payment_method`.
account_tax_idsstring[]A list of tax IDs that apply to this invoice. These IDs will override the `default_tax_rates` on the Customer.
payment_settingsobjectSettings for the invoice payment process.
shipping_detailsobjectShipping details for the invoice recipient.
collection_methodstringSpecifies how the invoice payment is collected. Can be 'charge_automatically' to attempt payment immediately or 'send_invoice' to email the invoice to the customer for manual payment. Defaults to 'charge_automatically'.
default_tax_ratesstring[]A list of IDs of tax rates that will apply to any line item on the invoice for which tax rates are not explicitly defined.
statement_descriptorstringAn arbitrary string to be displayed on the customer's credit card statement. This may be truncated to 22 characters.
application_fee_amountintegerA non-negative integer in cents (or the smallest currency unit) representing the fee amount for the application that will be applied to the invoice. This is used for Stripe Connect.
default_payment_methodstringID of the default payment method to be used for this invoice.
automatically_finalizes_atintegerA Unix timestamp representing the date and time when this draft invoice will be automatically finalized.
pending_invoice_items_behaviorstringDetermines how pending invoice items are handled during invoice finalization. Can be 'include' to include all pending items, or 'exclude' to ignore them. Defaults to 'include'.
Parámetros de salida
dataobjectObligatorioThe full JSON response from the Stripe API representing the created invoice object.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create payment intentSTRIPE_CREATE_PAYMENT_INTENTAcciónCreates a stripe paymentintent to initiate and process a customer's payment; using `application fee amount` for a connected account requires the `stripe-account` header.
STRIPE_CREATE_PAYMENT_INTENTAcciónCreates a stripe paymentintent to initiate and process a customer's payment; using `application fee amount` for a connected account requires the `stripe-account` header.
Parámetros de entrada
amountintegerObligatorioAmount intended to be collected, specified in the smallest currency unit (e.g., 5000 for $50.00 USD).
confirmbooleanSet to `true` to attempt to confirm this PaymentIntent immediately after creation. If the payment method requires any follow-up actions (e.g., 3D Secure authentication), this PaymentIntent will transition to a status requiring further action.
currencystringObligatorioThree-letter ISO currency code (e.g., 'usd', 'eur').
customerstringID of the Customer for this PaymentIntent, if one exists. Allows attaching payment method to Customer for future use.
metadataobjectKey-value pairs to attach to the PaymentIntent for storing additional structured information.
shippingobjectShipping information for this PaymentIntent. Required for certain payment methods or if calculating tax.
return_urlstringURL to redirect customer to after external authentication (e.g., 3D Secure). Required if `confirm` is `true` and payment method requires redirection.
descriptionstringArbitrary string for the PaymentIntent, displayed in Stripe dashboard and may be shown to customers.
off_sessionbooleanIndicates if customer is absent (off-session, e.g., for renewals). If `true`, `payment_method` must be provided and `confirm` must be `true`.
receipt_emailstringEmail address for receipt; if specified in live mode, receipt sent regardless of account email settings.
payment_methodstringID of PaymentMethod, Card, or compatible Source to attach. Required if `confirm` is `true` and `automatic_payment_methods` is not enabled, or if `off_session` is `true`.
setup_future_usagestringIndicates intent to save payment method for future use: 'on_session' (customer present) or 'off_session' (customer absent).
payment_method_typesstring[]List of payment method types (e.g., 'card', 'alipay') this PaymentIntent can use. Required if `automatic_payment_methods` is disabled.
statement_descriptorstringString on customer's card statement (max 22 chars; no '<', '>', '"', "'"). Used as prefix if `statement_descriptor_suffix` is set.
application_fee_amountintegerApplication fee (smallest currency unit) for the application owner. Requires platform authentication and `Stripe-Account` header for the connected account.
payment_method_optionsobjectPayment-method-specific configuration for this PaymentIntent.
automatic_payment_methodsobjectSettings to configure compatible payment methods from the Stripe Dashboard. If disabled, `payment_method_types` must be provided.
statement_descriptor_suffixstringDynamic suffix for card statement (max 22 chars; no '<', '>', '"', "'"). Appended to main descriptor or account's default.
Parámetros de salida
dataobjectObligatorioComplete PaymentIntent object from Stripe, including status, amount, currency, client_secret, and other details.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create a priceSTRIPE_CREATE_PRICEAcciónCreates a new stripe price for a product, defining its charges (one-time or recurring) and billing scheme; requires either an existing `product` id or `product data`.
STRIPE_CREATE_PRICEAcciónCreates a new stripe price for a product, defining its charges (one-time or recurring) and billing scheme; requires either an existing `product` id or `product data`.
Parámetros de entrada
tiersobject[]A list of pricing tiers. Required if `billing_scheme` is 'tiered'.
activebooleanWhether the price can be used for new purchases. Defaults to true.
productstringThe ID of the product this price is for. Required if `product_data` is not provided.
currencystringObligatorioThree-letter ISO currency code (e.g., 'usd', 'eur'). Must be a supported currency.
metadataobjectA set of key-value pairs to store additional information about the price.
nicknamestringA brief, internal-facing description of the price. Useful for distinguishing prices in listings.
recurringobjectSpecifies recurring components of a price, such as billing interval and usage type.
lookup_keystringA unique, user-defined key to retrieve this price. Case-sensitive.
tiers_modestringDefines how the quantity is applied to the tiers. Either 'graduated' (price is sum of costs from applicable tiers) or 'volume' (price is determined by the tier corresponding to the total quantity). Required if `billing_scheme` is 'tiered'.
unit_amountintegerThe base charge amount in the smallest currency unit (e.g., cents for USD). Required if not using `tiers`, `custom_unit_amount`, or `currency_options` with a unit amount for the primary currency.
product_dataobjectFields for creating a new product if a `product` ID is not provided with the price.
tax_behaviorstringSpecifies how tax is applied to the price. Options are 'inclusive' (tax is included), 'exclusive' (tax is added), or 'unspecified'.
billing_schemestringDescribes how to compute the price per period. Either 'per_unit' (default, for fixed price per unit) or 'tiered' (for volume-based or graduated tiers).
currency_optionsobjectPrices defined in each supported currency. Useful for multi-currency pricing. The primary `currency`'s pricing can also be defined here.
custom_unit_amountobjectConfiguration for a price where the unit amount is set by the customer at checkout.
transform_quantityobjectContains information about how the quantity should be transformed before calculating the price.
transfer_lookup_keybooleanIf `true`, allows this price to overwrite an existing price with the same `lookup_key`. Defaults to `false`.
unit_amount_decimalstringSame as `unit_amount`, but accepts a decimal string with up to 12 decimal places for higher precision. Required if not using `tiers`, `custom_unit_amount`, or `currency_options` with a unit amount for the primary currency and `unit_amount` is not provided.
Parámetros de salida
dataobjectObligatorioThe full JSON response from Stripe API representing the created price object.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create productSTRIPE_CREATE_PRODUCTAcciónCreates a new product in stripe, encoding the request as `application/x-www-form-urlencoded` by flattening nested structures.
STRIPE_CREATE_PRODUCTAcciónCreates a new product in stripe, encoding the request as `application/x-www-form-urlencoded` by flattening nested structures.
Parámetros de entrada
idstringOptional unique product identifier. Stripe generates one if omitted. Useful for idempotency or migrating existing IDs.
urlstringPublicly accessible URL for the product's webpage or landing page.
namestringObligatorioProduct's name, displayed to customers.
activebooleanIndicates if the product is available for purchase. Set to `false` to archive.
imagesstring[]Up to 8 image URLs for display on product pages or checkout.
metadataobjectKey-value pairs for storing additional structured information.
tax_codestringStripe tax code ID for determining tax rates on sales.
shippablebooleanIndicates if the product is a physical good requiring shipping.
unit_labelstringLabel for product units to clarify quantity-based pricing.
descriptionstringProduct description, displayed to customers, providing more details.
custom_fieldsobject[]Custom fields displayed on invoices for sales (e.g., PO numbers).
shipping_costobjectDefines the shipping cost for the product, either by referencing an existing shipping rate or creating a new one.
default_price_dataobjectData used to create a new Price object as the default price for this product.
marketing_featuresobject[]List of marketing features; short, benefit-oriented statements for pricing pages.
package_dimensionsobjectThe dimensions of the product for shipping purposes. Required if the product is shippable and you use a shipping rate that calculates shipping costs based on dimensions.
statement_descriptorstringString (max 22 chars) for customer credit card statements for charge recognition.
Parámetros de salida
dataobjectObligatorioFull JSON response from Stripe API representing the created product.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create RefundSTRIPE_CREATE_REFUNDAcciónCreates a full or partial refund in stripe, targeting either a specific charge id or a payment intent id.
STRIPE_CREATE_REFUNDAcciónCreates a full or partial refund in stripe, targeting either a specific charge id or a payment intent id.
Parámetros de entrada
amountintegerAmount in smallest currency unit (e.g., 1000 for $10.00 USD) to refund. If omitted, a full refund is issued. Cannot exceed the charge's remaining refundable amount.
chargestringIdentifier of the charge to refund. Required if `payment_intent` is not provided.
reasonstringSpecifies the reason for the refund (e.g., `duplicate`, `fraudulent`, or `requested_by_customer`).
metadataobjectKey-value pairs to attach to the refund, for storing structured information like order numbers or internal IDs.
payment_intentstringIdentifier of the PaymentIntent to refund. Required if `charge` is not provided.
reverse_transferbooleanReverse an associated transfer? Reversal is proportional to refund amount. Applies if the original charge had a reversible transfer.
refund_application_feebooleanRefund the application fee? If true, full refunds refund the entire fee; partials refund proportionally. Applies if the original charge had an application fee.
Parámetros de salida
dataobjectObligatorioThe full Stripe Refund object detailing the created refund.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create subscriptionSTRIPE_CREATE_SUBSCRIPTIONAcciónCreates a new, highly configurable subscription for an existing stripe customer, supporting multiple items, trials, discounts, and various billing/payment options.
STRIPE_CREATE_SUBSCRIPTIONAcciónCreates a new, highly configurable subscription for an existing stripe customer, supporting multiple items, trials, discounts, and various billing/payment options.
Parámetros de entrada
itemsobject[]ObligatorioList of items (products/services and pricing) for the subscription.
currencystringThree-letter ISO currency code (lowercase) for the subscription.
customerstringObligatorioID of the existing Stripe customer.
metadataobjectKey-value pairs for additional information about the subscription.
cancel_atintegerUnix timestamp to schedule subscription cancellation.
discountsobject[]List of discounts for the entire subscription.
trial_endintegerUnix timestamp for trial end (can be 'now'). Overrides plan trial period.
descriptionstringArbitrary string describing the subscription.
off_sessionbooleanAllow initial payment attempt off-session (without direct customer interaction).
on_behalf_ofstringStripe Connect account ID for attributing payments (if charging on behalf of).
automatic_taxobjectSettings for Stripe's automatic tax calculation.
transfer_dataobjectData to specify a funds transfer to a connected Stripe account as part of this subscription.
days_until_dueintegerDays until invoice is due (for `send_invoice` collection method).
default_sourcestringID of default payment source (deprecated; use `default_payment_method`).
promotion_codestringID of the promotion code to apply.
trial_settingsobjectSettings related to the subscription's trial period, specifically how it should end.
trial_from_planbooleanInherit trial period from the plan of the first item.
invoice_settingsobjectCustom settings for invoices generated for this subscription.
payment_behaviorstringenumBehavior when initial payment fails or requires SCA.
allow_incompletedefault_incompleteerror_if_incompletepending_if_incompletepayment_settingsobjectAdvanced payment settings for the subscription, including payment method options.
add_invoice_itemsobject[]One-time invoice items for the first invoice.
collection_methodstringenumHow to collect payment (e.g., `charge_automatically`, `send_invoice`).
charge_automaticallysend_invoicedefault_tax_ratesstring[]List of default tax rate IDs, overridable at item level.
trial_period_daysintegerNumber of days for the trial period.
billing_thresholdsobjectSubscription-level billing thresholds for metered billing.
proration_behaviorstringenumHow to handle prorations on subscription changes.
always_invoicecreate_prorationsnonebackdate_start_dateintegerUnix timestamp to backdate the subscription's start.
billing_cycle_anchorintegerUnix timestamp to anchor the subscription's billing cycle.
cancel_at_period_endbooleanCancel the subscription at the end of the current billing period.
default_payment_methodstringID of the default payment method for this subscription (must be attached to customer).
application_fee_percentnumberPercentage (0-100) of subscription amount as an application fee for the platform.
billing_cycle_anchor_configobjectConfigure the billing cycle anchor using a specific day, hour, minute, etc.
pending_invoice_item_intervalobjectConfiguration for generating pending invoice items for usage-based billing.
Parámetros de salida
dataobjectObligatorioFull JSON response from Stripe API for the created subscription.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete customerSTRIPE_DELETE_CUSTOMERAcciónPermanently deletes an existing stripe customer; this irreversible action also cancels their active subscriptions and removes all associated data.
STRIPE_DELETE_CUSTOMERAcciónPermanently deletes an existing stripe customer; this irreversible action also cancels their active subscriptions and removes all associated data.
Parámetros de entrada
customer_idstringObligatorioThe ID of the customer to delete. Must start with 'cus_' followed by alphanumeric characters.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ChargesSTRIPE_LIST_CHARGESAcciónRetrieves a list of stripe charges with filtering and pagination; use valid cursor ids from previous responses for pagination, and note that charges are typically returned in reverse chronological order.
STRIPE_LIST_CHARGESAcciónRetrieves a list of stripe charges with filtering and pagination; use valid cursor ids from previous responses for pagination, and note that charges are typically returned in reverse chronological order.
Parámetros de entrada
limitintegerMaximum number of charges to return (1-100, default is 10 if not specified).
createdobjectFilters charges by creation date using a dictionary with keys like 'gt', 'gte', 'lt', 'lte' and Unix timestamp values.
customerstringFilters charges by the specified customer ID.
ending_beforestringObject ID for pagination; fetches the previous page of charges relative to this cursor.
payment_intentstringFilters charges by the specified PaymentIntent ID.
starting_afterstringObject ID for pagination; fetches the next page of charges relative to this cursor.
transfer_groupstringFilters charges by the specified transfer group ID.
Parámetros de salida
dataobject[]ObligatorioList of charge objects matching the query parameters.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Stripe couponsSTRIPE_LIST_COUPONSAcciónRetrieves a list of discount coupons from a stripe account, supporting pagination via `limit`, `starting after`, and `ending before`.
STRIPE_LIST_COUPONSAcciónRetrieves a list of discount coupons from a stripe account, supporting pagination via `limit`, `starting after`, and `ending before`.
Parámetros de entrada
limitintegerMaximum number of coupon objects to return. Stripe's default (usually 10) applies if omitted.
ending_beforestringA coupon ID for pagination. Returns items created before this object.
starting_afterstringA coupon ID for pagination. Returns items created after this object.
Parámetros de salida
urlstringObligatorioAPI URL of the retrieved list, typically `/v1/coupons`.
dataobject[]ObligatorioArray of `CouponData` objects. Empty if no coupons match or exist.
errorstringError if any occurred during the execution of the action
objectstringObligatorioObject type; always 'list' for a list of coupons.
has_morebooleanObligatorio`true` if more coupon objects are available via pagination.
successfulbooleanObligatorioWhether or not the action execution was successful or not
List customer payment methodsSTRIPE_LIST_CUSTOMER_PAYMENT_METHODSAcciónRetrieves a list of payment methods for a given customer, supporting type filtering and pagination.
STRIPE_LIST_CUSTOMER_PAYMENT_METHODSAcciónRetrieves a list of payment methods for a given customer, supporting type filtering and pagination.
Parámetros de entrada
typestringFilters the list by payment method type (e.g., 'card', 'sepa_debit').
limitintegerLimit on the number of payment methods returned. If not specified, Stripe's default limit (typically 10) applies.
customer_idstringObligatorioThe unique identifier of the customer whose payment methods are to be retrieved.
ending_beforestringPagination cursor; ID of the first object from a previous request to fetch the preceding page.
starting_afterstringPagination cursor; ID of the last object from a previous request to fetch the next page.
Parámetros de salida
urlstringObligatorioThe URL of the API endpoint that was requested to retrieve this list of payment methods.
dataarrayObligatorioAn array of PaymentMethod objects that are attached to the specified customer and match the filter criteria. The list will be empty if the customer has no payment methods or if the filters result in no matches.
errorstringError if any occurred during the execution of the action
objectstringString indicating the type of object. For this response, the value is consistently 'list'.
has_morebooleanObligatorioTrue if this list of payment methods is part of a larger set and there are more items to retrieve. If true, the `id` of the last payment method in the `data` array can be used as the `starting_after` parameter in a subsequent request to fetch the next page.
successfulbooleanObligatorioWhether or not the action execution was successful or not
List customersSTRIPE_LIST_CUSTOMERSAcciónRetrieves a list of stripe customers, with options to filter by email, creation date, or test clock, and support for pagination.
STRIPE_LIST_CUSTOMERSAcciónRetrieves a list of stripe customers, with options to filter by email, creation date, or test clock, and support for pagination.
Parámetros de entrada
emailstringFilters customers by a case-sensitive email address.
limitintegerMaximum number of customer objects to return (range 1-100). Defaults to 10 if unspecified.
createdobjectFilters by creation date. Use a dictionary with keys like 'gte', 'lte', 'gt', 'lt' and Unix timestamp values (e.g., {'gte': 1609459200, 'lte': 1640995200}).
test_clockstringFilters customers by the specified test clock ID. If omitted, returns only live mode customers.
ending_beforestringPagination cursor; retrieves objects created before the specified object ID to fetch the previous page.
starting_afterstringPagination cursor; retrieves objects created after the specified object ID to fetch the next page.
Parámetros de salida
dataobject[]ObligatorioA list of customer objects matching the filter criteria, each represented as a dictionary.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List InvoicesSTRIPE_LIST_INVOICESAcciónRetrieves a list of stripe invoices, filterable by various criteria and paginatable using invoice id cursors obtained from previous responses.
STRIPE_LIST_INVOICESAcciónRetrieves a list of stripe invoices, filterable by various criteria and paginatable using invoice id cursors obtained from previous responses.
Parámetros de entrada
limitintegerMaximum number of invoice objects to return (1-100). Defaults to 10 if not specified.
statusstringFilter invoices by status: 'draft', 'open', 'paid', 'uncollectible', or 'void'; if omitted, returns invoices with any status.
createdobjectFilter invoices by their creation date. Use keys like 'gt' (greater than), 'gte' (greater than or equal to), 'lt' (less than), 'lte' (less than or equal to) with Unix timestamp values to specify a range.
customerstringID of the customer whose invoices to retrieve; if omitted, invoices for all customers may be returned.
subscriptionstringID of the subscription whose invoices to retrieve; if omitted, invoices for all subscriptions may be returned.
ending_beforestringCursor for backward pagination; an invoice ID from a previous response that defines the end of the current page, used to fetch the preceding page.
starting_afterstringCursor for forward pagination; an invoice ID from a previous response that defines the end of the current page, used to fetch the subsequent page.
collection_methodstringFilter by collection method: 'charge_automatically' (Stripe attempts auto-charge) or 'send_invoice' (Stripe emails invoice); if omitted, returns invoices with any collection method.
Parámetros de salida
dataobject[]ObligatorioList of retrieved invoice objects; empty if no invoices match the filter criteria.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List payment intentsSTRIPE_LIST_PAYMENT_INTENTSAcciónRetrieves a list of stripe paymentintents, optionally filtered and paginated using paymentintent ids as cursors.
STRIPE_LIST_PAYMENT_INTENTSAcciónRetrieves a list of stripe paymentintents, optionally filtered and paginated using paymentintent ids as cursors.
Parámetros de entrada
limitintegerMaximum number of PaymentIntents to return (1-100, inclusive). Stripe defaults to 10 if not provided.
createdobjectFilter by creation date using Unix timestamps. Accepted keys: 'gte', 'lte', 'gt', 'lt'.
customerstringID of the customer to filter PaymentIntents by.
ending_beforestringCursor for paginating backwards, typically a PaymentIntent ID, to fetch the previous page.
starting_afterstringCursor for paginating forwards, typically a PaymentIntent ID, to fetch the next page.
Parámetros de salida
dataobject[]ObligatorioA list of PaymentIntent objects retrieved from Stripe, conforming to the specified query parameters. Each object in the list is a dictionary representing a PaymentIntent.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List payment linksSTRIPE_LIST_PAYMENT_LINKSAcciónRetrieves a list of payment links from stripe, sorted by creation date in descending order by default.
STRIPE_LIST_PAYMENT_LINKSAcciónRetrieves a list of payment links from stripe, sorted by creation date in descending order by default.
Parámetros de entrada
limitintegerMaximum number of items to return (1-100, inclusive). Stripe API defaults to 10 if omitted.
activebooleanFilter by active status. `true` for active, `false` for inactive.
ending_beforestringObject ID for backward pagination; retrieves items created before this ID.
starting_afterstringObject ID for forward pagination; retrieves items created after this ID.
Parámetros de salida
dataobject[]ObligatorioList of payment link objects.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List productsSTRIPE_LIST_PRODUCTSAcciónRetrieves a list of stripe products, with optional filtering and pagination; `starting after`/`ending before` cursors must be valid product ids from a previous response.
STRIPE_LIST_PRODUCTSAcciónRetrieves a list of stripe products, with optional filtering and pagination; `starting after`/`ending before` cursors must be valid product ids from a previous response.
Parámetros de entrada
idsstring[]A list of product IDs to retrieve. If provided, only products with these specific IDs will be returned.
urlstringFilter products by a specific URL. Only products with this exact URL will be returned.
limitintegerA limit on the number of product objects to be returned. The value must be an integer between 1 and 100, inclusive. If not specified, the default is 10.
activebooleanFilter products based on their active status. Set to `True` to return only active products, or `False` for inactive ones.
createdobjectFilters products by their creation date range. Provide a dictionary with keys like 'gt' (greater than), 'gte' (greater than or equal to), 'lt' (less than), or 'lte' (less than or equal to) and Unix timestamp values (seconds since epoch). For instance, `{'gte': 1609459200, 'lte': 1640995200}` filters for products created from January 1, 2021, to January 1, 2022.
shippablebooleanFilter products based on whether they are shippable. Set to `True` to return only shippable products, or `False` for non-shippable ones.
ending_beforestringA cursor for use in pagination to fetch the previous page of results. `ending_before` is an object ID that defines your place in the list. For instance, if a list request returns objects ending with `prod_XYZ`, your subsequent call can include `ending_before='prod_XYZ'` to fetch the previous page.
starting_afterstringA cursor for use in pagination to fetch the next page of results. `starting_after` is an object ID that defines your place in the list. For instance, if a list request returns objects and the last object's ID is `prod_ABC`, your subsequent call can include `starting_after='prod_ABC'` to fetch the next page.
Parámetros de salida
dataobject[]ObligatorioA list of product objects matching the query criteria. Each object in the list is a dictionary representing a Stripe product. If no products match, an empty list is returned.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List RefundsSTRIPE_LIST_REFUNDSAcciónLists stripe refunds, sorted by creation date descending (newest first), with optional filtering by charge or payment intent and pagination support.
STRIPE_LIST_REFUNDSAcciónLists stripe refunds, sorted by creation date descending (newest first), with optional filtering by charge or payment intent and pagination support.
Parámetros de entrada
limitintegerLimit on the number of refunds to be returned. Stripe API defaults to 10 if unspecified.
chargestringFilters refunds to those for the specified Charge ID.
ending_beforestringA cursor for pagination; returns only refunds created before this object ID.
payment_intentstringFilters refunds to those for the specified PaymentIntent ID.
starting_afterstringA cursor for pagination; returns only refunds created after this object ID.
Parámetros de salida
urlstringObligatorioThe API URL endpoint from which this list of refunds was fetched.
dataobject[]ObligatorioA list of refund objects matching the query criteria, ordered by creation date in descending order.
errorstringError if any occurred during the execution of the action
objectstringObligatorioString representing the object's type. Always 'list' for this response.
has_morebooleanObligatorioA boolean flag indicating whether there are more refunds available beyond the current list. If true, use the ID of the last refund in the 'data' array as the 'starting_after' parameter in a subsequent request to fetch the next page.
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Stripe shipping ratesSTRIPE_LIST_SHIPPING_RATESAcciónRetrieves a list of stripe shipping rates, filterable by active status, creation date, and currency; useful for managing or displaying shipping options.
STRIPE_LIST_SHIPPING_RATESAcciónRetrieves a list of stripe shipping rates, filterable by active status, creation date, and currency; useful for managing or displaying shipping options.
Parámetros de entrada
limitintegerA limit on the number of objects to be returned. The Stripe API defaults to 10 if not provided; value must be between 1 and 100.
activebooleanA filter on the list based on the object’s `active` field. If true, only active shipping rates are returned. If false, only inactive shipping rates are returned.
createdobjectA filter on the list based on the object’s `created` field. This can be a Unix timestamp (integer) or a dictionary with the following options for ranged queries: `gt` (greater than), `gte` (greater than or equal to), `lt` (less than), `lte` (less than or equal to). Example for a ranged query: `{"gte": 1609459200}` for rates created on or after Jan 1, 2021 UTC.
currencystringOnly return shipping rates for the given three-letter ISO currency code (e.g., `usd`), in lowercase. Must be a 3-letter ISO code.
ending_beforestringA cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `sr_foo`, your subsequent call can include `ending_before=sr_foo` in order to fetch the previous page of the list.
starting_afterstringA cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `sr_foo`, your subsequent call can include `starting_after=sr_foo` in order to fetch the next page of the list.
Parámetros de salida
urlstringObligatorioThe URL for accessing this list of shipping rates.
dataobject[]ObligatorioA list of shipping rate objects matching the query.
errorstringError if any occurred during the execution of the action
objectstringObligatorioString representing the object's type. Objects of the same type share the same value. Always `list` for this response.
has_morebooleanObligatorioTrue if this list has more pages of items after this page, false otherwise.
successfulbooleanObligatorioWhether or not the action execution was successful or not
List subscriptionsSTRIPE_LIST_SUBSCRIPTIONSAcciónRetrieves a list of stripe subscriptions, optionally filtered by various criteria such as customer, price, status, collection method, and date ranges, with support for pagination.
STRIPE_LIST_SUBSCRIPTIONSAcciónRetrieves a list of stripe subscriptions, optionally filtered by various criteria such as customer, price, status, collection method, and date ranges, with support for pagination.
Parámetros de entrada
limitintegerLimit on the number of subscription objects to return (1-100). Default is 10.
pricestringID of the recurring price to filter subscriptions by.
statusstringFilter subscriptions by status (e.g., 'active', 'all', 'canceled'). Defaults to non-canceled statuses if unspecified.
createdobjectFilter subscriptions by creation date using comparison keys (e.g., 'gte', 'lt') and Unix timestamp values.
customerstringID of the customer whose subscriptions will be retrieved.
test_clockstringFilter subscriptions by a specific test clock ID (only applicable in test mode).
automatic_taxobjectFilter subscriptions by automatic tax settings, e.g., {'enabled': True}.
ending_beforestringCursor for paginating backwards; provide the ID of the subscription that should end the list.
starting_afterstringCursor for paginating forwards; provide the ID of the subscription that should start the list.
collection_methodstringFilter subscriptions by collection method: 'charge_automatically' or 'send_invoice'.
current_period_endobjectFilter subscriptions by the end date of the current billing period, using comparison keys (e.g., 'gt', 'gte') and Unix timestamp values.
current_period_startobjectFilter subscriptions by the start date of the current billing period, using comparison keys (e.g., 'lt', 'lte') and Unix timestamp values.
Parámetros de salida
dataobject[]ObligatorioA list of subscription objects from Stripe, matching the query.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List tax codesSTRIPE_LIST_TAX_CODESAcciónRetrieves a paginated list of globally available, predefined stripe tax codes used for classifying products and services in stripe tax.
STRIPE_LIST_TAX_CODESAcciónRetrieves a paginated list of globally available, predefined stripe tax codes used for classifying products and services in stripe tax.
Parámetros de entrada
limitintegerMaximum number of objects to return. API defaults to 10 if this parameter is omitted.
ending_beforestringObject ID cursor to fetch the previous page of results.
starting_afterstringObject ID cursor to fetch the next page of results.
Parámetros de salida
urlstringObligatorioThe API endpoint URL used to retrieve this list.
dataobject[]ObligatorioList of tax code objects; empty if none are available.
errorstringError if any occurred during the execution of the action
objectstringObligatorioObject's type, consistently `list`.
has_morebooleanObligatorioIndicates if more tax codes are available. If true, use the ID of the last item with `starting_after` to fetch the next page.
successfulbooleanObligatorioWhether or not the action execution was successful or not
List tax ratesSTRIPE_LIST_TAX_RATESAcciónRetrieves a list of tax rates, which are returned sorted by creation date in descending order.
STRIPE_LIST_TAX_RATESAcciónRetrieves a list of tax rates, which are returned sorted by creation date in descending order.
Parámetros de entrada
limitintegerA limit on the number of tax rates to be returned. The value must be between 1 and 100, inclusive. The default is 10.
activebooleanFilter tax rates by their active status. Set to `true` for active tax rates and `false` for inactive (archived) tax rates.
createdobjectFilter tax rates by their creation date. Accepts a dictionary with keys like `gt` (greater than), `gte` (greater than or equal to), `lt` (less than), or `lte` (less than or equal to), and Unix timestamp values.
inclusivebooleanFilter tax rates by whether they are inclusive. Set to `true` for inclusive tax rates and `false` for exclusive tax rates.
ending_beforestringA cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `ending_before=obj_foo` in order to fetch the previous page of objects.
starting_afterstringA cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `starting_after=obj_bar` in order to fetch the next page of objects.
Parámetros de salida
urlstringObligatorioThe URL for this list of tax rates. This can be used to fetch the current page directly.
dataobject[]ObligatorioA list of tax rate objects that match the specified criteria.
errorstringError if any occurred during the execution of the action
objectstringObligatorioString representing the object's type. For a list of tax rates, this is typically `list`.
has_morebooleanObligatorioA boolean value indicating whether there are more tax rates available in the list beyond the current page. `true` if there are more items, `false` otherwise.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve BalanceSTRIPE_RETRIEVE_BALANCEAcciónRetrieves the complete current balance details for the connected stripe account.
STRIPE_RETRIEVE_BALANCEAcciónRetrieves the complete current balance details for the connected stripe account.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioDetailed Stripe account balance object. Includes breakdowns of 'available' and 'pending' funds by currency/source types. Key details: 'object' (type, e.g., 'balance'), 'available' (immediately usable funds), 'pending' (funds not yet available), 'livemode' (live/test mode status).
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve Charge DetailsSTRIPE_RETRIEVE_CHARGEAcciónRetrieves full details for an existing stripe charge using its unique id.
STRIPE_RETRIEVE_CHARGEAcciónRetrieves full details for an existing stripe charge using its unique id.
Parámetros de entrada
charge_idstringObligatorioIdentifier for the charge, typically starting with 'ch_'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve customerSTRIPE_RETRIEVE_CUSTOMERAcciónRetrieves detailed information for an existing stripe customer using their unique customer id.
STRIPE_RETRIEVE_CUSTOMERAcciónRetrieves detailed information for an existing stripe customer using their unique customer id.
Parámetros de entrada
customer_idstringObligatorioThe unique identifier of the Stripe customer to retrieve. This ID typically starts with 'cus_'.
Parámetros de salida
dataobjectObligatorioA dictionary containing the full Stripe customer object as returned by the API.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve payment intentSTRIPE_RETRIEVE_PAYMENT_INTENTAcciónRetrieves a paymentintent by its id; `client secret` is required if a publishable api key is used.
STRIPE_RETRIEVE_PAYMENT_INTENTAcciónRetrieves a paymentintent by its id; `client secret` is required if a publishable api key is used.
Parámetros de entrada
client_secretstringClient secret for the PaymentIntent. Required if using a publishable key for authentication.
payment_intent_idstringObligatorioThe unique identifier of the PaymentIntent to retrieve.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve a refundSTRIPE_RETRIEVE_REFUNDAcciónRetrieves details for an existing stripe refund using its unique `refund id`.
STRIPE_RETRIEVE_REFUNDAcciónRetrieves details for an existing stripe refund using its unique `refund id`.
Parámetros de entrada
refund_idstringObligatorioThe unique identifier of the refund to retrieve. This ID typically starts with 're_'.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve subscriptionSTRIPE_RETRIEVE_SUBSCRIPTIONAcciónRetrieves detailed information for an existing stripe subscription using its unique id.
STRIPE_RETRIEVE_SUBSCRIPTIONAcciónRetrieves detailed information for an existing stripe subscription using its unique id.
Parámetros de entrada
subscription_idstringObligatorioUnique identifier of the Stripe subscription to retrieve, typically starting with 'sub_'.
Parámetros de salida
dataobjectObligatorioComplete Stripe subscription object from the API, including details like status, items, customer, and current billing period.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Stripe customersSTRIPE_SEARCH_CUSTOMERSAcciónRetrieves a list of stripe customers matching a search query that adheres to stripe's search query language.
STRIPE_SEARCH_CUSTOMERSAcciónRetrieves a list of stripe customers matching a search query that adheres to stripe's search query language.
Parámetros de entrada
pagestringPagination cursor for a specific page; omit for the first page. Use `next_page` from a previous response for subsequent pages.
limitintegerMaximum number of results per page (default is 10).
querystringObligatorioThe search query string, adhering to Stripe's Search Query Language. This language supports features like exact matches, range queries, boolean operators, and searching by metadata. For detailed syntax, refer to https://docs.stripe.com/search#search-query-language.
Parámetros de salida
urlstringObligatorioThe API URL that can be used to re-fetch this specific list of search results.
dataarrayObligatorioList of customer objects matching the search query.
errorstringError if any occurred during the execution of the action
objectstringIndicates the type of object returned. For customer search results, this will always be 'search_result'.
has_morebooleanObligatorioIndicates if more search results are available.
next_pagestringPagination cursor for the next page, if `has_more` is true. Use in the `page` parameter of a subsequent request.
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update CustomerSTRIPE_UPDATE_CUSTOMERAcciónUpdates an existing stripe customer, identified by customer id, with only the provided details; unspecified fields remain unchanged.
STRIPE_UPDATE_CUSTOMERAcciónUpdates an existing stripe customer, identified by customer id, with only the provided details; unspecified fields remain unchanged.
Parámetros de entrada
taxobjectSpecifies tax-related information for the customer.
namestringThe customer's full name or the business name.
emailstringemailThe customer's email address. Updating this may trigger a verification email to the new address.
phonestringThe customer's primary phone number, preferably in E.164 format.
couponstringThe ID of a coupon to apply to the customer. This coupon will be applied to the customer's subsequent invoices and subscriptions.
addressobjectDefines the customer's primary billing address.
balanceintegerAn integer representing the customer's account balance in the smallest currency unit (e.g., cents for USD). A positive value credits the customer's balance, and a negative value debits it. This balance will be applied to future invoices.
metadataobjectKey-value pairs for storing additional, unstructured information. Keys up to 40 characters, values up to 500.
shippingobjectEncapsulates the customer's shipping details.
tax_exemptstringSpecifies the customer's tax exemption status. Accepted values are 'none', 'exempt', or 'reverse'. Use 'reverse' for B2B transactions in the EU subject to reverse charge.
customer_idstringObligatorioThe unique identifier of the Stripe customer to update.
descriptionstringAn arbitrary string providing additional information about the customer, often used for internal notes. Maximum 5000 characters.
default_sourcestringThe ID of a card or bank account object to set as the customer's default payment source for charges and subscriptions. Deprecated in favor of `default_payment_method` for newer integrations.
invoice_settingsobjectDefines default settings for invoices created for this customer.
default_payment_methodstringThe ID of a PaymentMethod to set as the customer's default for subscriptions and invoices.
Parámetros de salida
dataobjectObligatorioThe complete Stripe customer object reflecting the updates, returned as a dictionary.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update Payment IntentSTRIPE_UPDATE_PAYMENT_INTENTAcciónUpdates a stripe paymentintent with new values for specified parameters; note that if `currency` is updated, `amount` might also be required, and certain updates (e.g., to `payment method`) can necessitate re-confirmation by the customer.
STRIPE_UPDATE_PAYMENT_INTENTAcciónUpdates a stripe paymentintent with new values for specified parameters; note that if `currency` is updated, `amount` might also be required, and certain updates (e.g., to `payment method`) can necessitate re-confirmation by the customer.
Parámetros de entrada
amountintegerThe amount intended to be collected by this PaymentIntent, in the smallest currency unit (e.g., cents for USD). This is a positive integer.
currencystringThe three-letter ISO currency code, in lowercase (e.g., 'usd', 'eur'). Must be a supported currency.
customerstringThe ID of the Customer this PaymentIntent should be associated with.
metadataobjectA set of key-value pairs to store additional structured information about the PaymentIntent. Keys can be up to 40 characters long and values can be up to 500 characters long.
shippingobjectShipping information for the PaymentIntent. This is a dictionary that should contain the recipient's `name`, `phone`, and an `address` object with `line1`, `line2` (optional), `city`, `state`, `postal_code`, and `country`.
descriptionstringAn arbitrary string providing a description of the PaymentIntent, often displayed to users.
receipt_emailstringThe email address to which Stripe will send a receipt for a successful payment.
payment_methodstringID of the PaymentMethod to attach to this PaymentIntent.
payment_intent_idstringObligatorioThe unique identifier of the PaymentIntent to be updated.
setup_future_usagestringIndicates if you intend to use the payment method attached to this PaymentIntent for future payments. Allowed values are 'on_session' or 'off_session'.
statement_descriptorstringString for customer's credit card statement (max 22 characters).
statement_descriptor_suffixstringAdditional info for customer's card statement, appended to `statement_descriptor` (max 22 characters).
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update SubscriptionSTRIPE_UPDATE_SUBSCRIPTIONAcciónUpdates an existing, non-canceled stripe subscription by its id, ensuring all referenced entity ids (e.g., prices, coupons) are valid and automatic tax liability is correctly specified if enabled.
STRIPE_UPDATE_SUBSCRIPTIONAcciónUpdates an existing, non-canceled stripe subscription by its id, ensuring all referenced entity ids (e.g., prices, coupons) are valid and automatic tax liability is correctly specified if enabled.
Parámetros de entrada
itemsobject[]List of subscription item updates (max 20). Item `id` usually required for modification.
metadataobjectKey-value pairs for custom information (max 50 keys: 40 chars; values: 500 chars). Replaces existing; empty dict removes all.
descriptionstringArbitrary string for user display or internal tracking.
automatic_taxobjectStripe Tax settings for automatic tax calculation. `liability` may be required if `enabled` is true.
subscription_idstringObligatorioUnique identifier of the subscription to update.
payment_behaviorstringPayment handling for invoices (especially initial): 'allow_incomplete' (creates subscription if first payment fails), 'error_if_incomplete' (fails request if initial payment required and fails), 'pending_if_incomplete' (sets to pending if payment fails).
collection_methodstringHow invoices are paid: 'charge_automatically' (charges default payment method) or 'send_invoice' (emails invoice for manual payment).
proration_behaviorstringHow to handle prorations on changes: 'create_prorations' (creates prorated charges/credits), 'none' (no prorations), or 'always_invoice' (creates and invoices prorations immediately).
billing_cycle_anchorintegerUnix timestamp (seconds) or 'now' to anchor billing cycle and renewal. Changes may cause proration.
cancel_at_period_endbooleanIf true, schedules cancellation at current period's end; if false, undoes scheduled cancellation.
default_payment_methodstringID of the default payment method; updates subscription's default payment source if provided.
Parámetros de salida
dataobjectObligatorioComplete Stripe API JSON response: the fully updated subscription object.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Triggers (7)
Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).
Charge Failed TriggerSTRIPE_CHARGE_FAILED_TRIGGERTriggerTriggered when a direct charge fails in Stripe's legacy Charges API
STRIPE_CHARGE_FAILED_TRIGGERTriggerTriggered when a direct charge fails in Stripe's legacy Charges API
Configuración
Sin parámetros.
Payload del evento
bodyanyObligatorioThe entire event payload
event_typestringObligatorioThe type of event
Checkout Session Completed TriggerSTRIPE_CHECKOUT_SESSION_COMPLETED_TRIGGERTriggerTriggered when a checkout session is completed in Stripe
STRIPE_CHECKOUT_SESSION_COMPLETED_TRIGGERTriggerTriggered when a checkout session is completed in Stripe
Configuración
Sin parámetros.
Payload del evento
bodyanyObligatorioThe entire event payload
event_typestringObligatorioThe type of event
Invoice Payment Succeeded TriggerSTRIPE_INVOICE_PAYMENT_SUCCEEDED_TRIGGERTriggerTriggered when an invoice payment is successful in Stripe
STRIPE_INVOICE_PAYMENT_SUCCEEDED_TRIGGERTriggerTriggered when an invoice payment is successful in Stripe
Configuración
Sin parámetros.
Payload del evento
bodyanyObligatorioThe entire event payload
event_typestringObligatorioThe type of event
Payment Intent Failed TriggerSTRIPE_PAYMENT_FAILED_TRIGGERTriggerTriggered when a payment intent fails in Stripe
STRIPE_PAYMENT_FAILED_TRIGGERTriggerTriggered when a payment intent fails in Stripe
Configuración
Sin parámetros.
Payload del evento
bodyanyObligatorioThe entire event payload
event_typestringObligatorioThe type of event
Product Created TriggerSTRIPE_PRODUCT_CREATED_TRIGGERTriggerTriggered when a product is created in Stripe
STRIPE_PRODUCT_CREATED_TRIGGERTriggerTriggered when a product is created in Stripe
Configuración
Sin parámetros.
Payload del evento
bodyanyObligatorioThe entire event payload
event_typestringObligatorioThe type of event
Subscription Added TriggerSTRIPE_SUBSCRIPTION_ADDED_TRIGGERTriggerTriggered when a subscription is added in Stripe
STRIPE_SUBSCRIPTION_ADDED_TRIGGERTriggerTriggered when a subscription is added in Stripe
Configuración
Sin parámetros.
Payload del evento
bodyanyObligatorioThe entire event payload
event_typestringObligatorioThe type of event
Subscription Deleted TriggerSTRIPE_SUBSCRIPTION_DELETED_TRIGGERTriggerTriggered when a subscription is deleted in Stripe
STRIPE_SUBSCRIPTION_DELETED_TRIGGERTriggerTriggered when a subscription is deleted in Stripe
Configuración
Sin parámetros.
Payload del evento
bodyanyObligatorioThe entire event payload
event_typestringObligatorioThe type of event