Stripe

Use Stripe in Sim to manage payment intents, customers, subscriptions, invoices, charges, products, and prices. Stripe event triggers can start workflows when payment or other supported events occur.

Usage Instructions

Integrates Stripe into the workflow. Manage payment intents, customers, subscriptions, invoices, charges, products, prices, and events. Can be used in trigger mode to trigger a workflow when a Stripe event occurs.

Actions

Stripe Create Payment Intent

Create a new Payment Intent to process a payment

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
amountnumberYesAmount in cents (e.g., 2000 for $20.00)
currencystringYesThree-letter ISO currency code (e.g., usd, eur)
customerstringNoCustomer ID to associate with this payment
payment_methodstringNoPayment method ID
descriptionstringNoDescription of the payment
receipt_emailstringNoEmail address to send receipt to
metadatajsonNoSet of key-value pairs for storing additional information
automatic_payment_methodsjsonNoEnable automatic payment methods (e.g., {"enabled": true})

Output

ParameterTypeDescription
payment_intentobjectThe created Payment Intent object
↳ idstringUnique identifier for the Payment Intent
↳ objectstringString representing the object type (payment_intent)
↳ amountnumberAmount intended to be collected in smallest currency unit
↳ amount_capturablenumberAmount that can be captured
↳ amount_receivednumberAmount that was collected
↳ applicationstringID of the Connect application that created the PaymentIntent
↳ application_fee_amountnumberApplication fee amount (if any)
↳ automatic_payment_methodsjsonSettings for automatic payment methods
↳ canceled_atnumberUnix timestamp of cancellation
↳ cancellation_reasonstringReason for cancellation
↳ capture_methodstringControls when funds will be captured (automatic or manual)
↳ client_secretstringClient secret for confirming the PaymentIntent
↳ confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
↳ creatednumberUnix timestamp when the PaymentIntent was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ customerstringID of the Customer this PaymentIntent belongs to
↳ descriptionstringDescription of the payment
↳ invoicestringID of the invoice that created this PaymentIntent
↳ last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
↳ latest_chargestringID of the latest charge created by this PaymentIntent
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_actionjsonActions required before the PaymentIntent can be confirmed
↳ on_behalf_ofstringThe account on behalf of which to charge
↳ payment_methodstringID of the payment method used
↳ payment_method_optionsjsonPayment-method-specific configuration
↳ payment_method_typesarrayPayment method types that can be used
↳ processingjsonProcessing status if payment is being processed asynchronously
↳ receipt_emailstringEmail address to send the receipt to
↳ reviewstringID of the review associated with this PaymentIntent
↳ setup_future_usagestringIndicates intent to make future payments
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ statement_descriptorstringStatement descriptor for charges
↳ statement_descriptor_suffixstringStatement descriptor suffix
↳ statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
↳ transfer_datajsonThe data for creating a transfer after the payment succeeds
↳ transfer_groupstringTransfer group for transfers associated with the payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Retrieve Payment Intent

Retrieve an existing Payment Intent by ID

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesPayment Intent ID (e.g., pi_1234567890)

Output

ParameterTypeDescription
payment_intentobjectThe retrieved Payment Intent object
↳ idstringUnique identifier for the Payment Intent
↳ objectstringString representing the object type (payment_intent)
↳ amountnumberAmount intended to be collected in smallest currency unit
↳ amount_capturablenumberAmount that can be captured
↳ amount_receivednumberAmount that was collected
↳ applicationstringID of the Connect application that created the PaymentIntent
↳ application_fee_amountnumberApplication fee amount (if any)
↳ automatic_payment_methodsjsonSettings for automatic payment methods
↳ canceled_atnumberUnix timestamp of cancellation
↳ cancellation_reasonstringReason for cancellation
↳ capture_methodstringControls when funds will be captured (automatic or manual)
↳ client_secretstringClient secret for confirming the PaymentIntent
↳ confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
↳ creatednumberUnix timestamp when the PaymentIntent was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ customerstringID of the Customer this PaymentIntent belongs to
↳ descriptionstringDescription of the payment
↳ invoicestringID of the invoice that created this PaymentIntent
↳ last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
↳ latest_chargestringID of the latest charge created by this PaymentIntent
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_actionjsonActions required before the PaymentIntent can be confirmed
↳ on_behalf_ofstringThe account on behalf of which to charge
↳ payment_methodstringID of the payment method used
↳ payment_method_optionsjsonPayment-method-specific configuration
↳ payment_method_typesarrayPayment method types that can be used
↳ processingjsonProcessing status if payment is being processed asynchronously
↳ receipt_emailstringEmail address to send the receipt to
↳ reviewstringID of the review associated with this PaymentIntent
↳ setup_future_usagestringIndicates intent to make future payments
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ statement_descriptorstringStatement descriptor for charges
↳ statement_descriptor_suffixstringStatement descriptor suffix
↳ statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
↳ transfer_datajsonThe data for creating a transfer after the payment succeeds
↳ transfer_groupstringTransfer group for transfers associated with the payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Update Payment Intent

Update an existing Payment Intent

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesPayment Intent ID (e.g., pi_1234567890)
amountnumberNoUpdated amount in cents
currencystringNoThree-letter ISO currency code
customerstringNoCustomer ID
descriptionstringNoUpdated description
metadatajsonNoUpdated metadata

Output

ParameterTypeDescription
payment_intentobjectThe updated Payment Intent object
↳ idstringUnique identifier for the Payment Intent
↳ objectstringString representing the object type (payment_intent)
↳ amountnumberAmount intended to be collected in smallest currency unit
↳ amount_capturablenumberAmount that can be captured
↳ amount_receivednumberAmount that was collected
↳ applicationstringID of the Connect application that created the PaymentIntent
↳ application_fee_amountnumberApplication fee amount (if any)
↳ automatic_payment_methodsjsonSettings for automatic payment methods
↳ canceled_atnumberUnix timestamp of cancellation
↳ cancellation_reasonstringReason for cancellation
↳ capture_methodstringControls when funds will be captured (automatic or manual)
↳ client_secretstringClient secret for confirming the PaymentIntent
↳ confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
↳ creatednumberUnix timestamp when the PaymentIntent was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ customerstringID of the Customer this PaymentIntent belongs to
↳ descriptionstringDescription of the payment
↳ invoicestringID of the invoice that created this PaymentIntent
↳ last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
↳ latest_chargestringID of the latest charge created by this PaymentIntent
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_actionjsonActions required before the PaymentIntent can be confirmed
↳ on_behalf_ofstringThe account on behalf of which to charge
↳ payment_methodstringID of the payment method used
↳ payment_method_optionsjsonPayment-method-specific configuration
↳ payment_method_typesarrayPayment method types that can be used
↳ processingjsonProcessing status if payment is being processed asynchronously
↳ receipt_emailstringEmail address to send the receipt to
↳ reviewstringID of the review associated with this PaymentIntent
↳ setup_future_usagestringIndicates intent to make future payments
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ statement_descriptorstringStatement descriptor for charges
↳ statement_descriptor_suffixstringStatement descriptor suffix
↳ statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
↳ transfer_datajsonThe data for creating a transfer after the payment succeeds
↳ transfer_groupstringTransfer group for transfers associated with the payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Confirm Payment Intent

Confirm a Payment Intent to complete the payment

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesPayment Intent ID (e.g., pi_1234567890)
payment_methodstringNoPayment method ID to confirm with

Output

ParameterTypeDescription
payment_intentobjectThe confirmed Payment Intent object
↳ idstringUnique identifier for the Payment Intent
↳ objectstringString representing the object type (payment_intent)
↳ amountnumberAmount intended to be collected in smallest currency unit
↳ amount_capturablenumberAmount that can be captured
↳ amount_receivednumberAmount that was collected
↳ applicationstringID of the Connect application that created the PaymentIntent
↳ application_fee_amountnumberApplication fee amount (if any)
↳ automatic_payment_methodsjsonSettings for automatic payment methods
↳ canceled_atnumberUnix timestamp of cancellation
↳ cancellation_reasonstringReason for cancellation
↳ capture_methodstringControls when funds will be captured (automatic or manual)
↳ client_secretstringClient secret for confirming the PaymentIntent
↳ confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
↳ creatednumberUnix timestamp when the PaymentIntent was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ customerstringID of the Customer this PaymentIntent belongs to
↳ descriptionstringDescription of the payment
↳ invoicestringID of the invoice that created this PaymentIntent
↳ last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
↳ latest_chargestringID of the latest charge created by this PaymentIntent
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_actionjsonActions required before the PaymentIntent can be confirmed
↳ on_behalf_ofstringThe account on behalf of which to charge
↳ payment_methodstringID of the payment method used
↳ payment_method_optionsjsonPayment-method-specific configuration
↳ payment_method_typesarrayPayment method types that can be used
↳ processingjsonProcessing status if payment is being processed asynchronously
↳ receipt_emailstringEmail address to send the receipt to
↳ reviewstringID of the review associated with this PaymentIntent
↳ setup_future_usagestringIndicates intent to make future payments
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ statement_descriptorstringStatement descriptor for charges
↳ statement_descriptor_suffixstringStatement descriptor suffix
↳ statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
↳ transfer_datajsonThe data for creating a transfer after the payment succeeds
↳ transfer_groupstringTransfer group for transfers associated with the payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Capture Payment Intent

Capture an authorized Payment Intent

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesPayment Intent ID (e.g., pi_1234567890)
amount_to_capturenumberNoAmount to capture in cents (defaults to full amount)

Output

ParameterTypeDescription
payment_intentobjectThe captured Payment Intent object
↳ idstringUnique identifier for the Payment Intent
↳ objectstringString representing the object type (payment_intent)
↳ amountnumberAmount intended to be collected in smallest currency unit
↳ amount_capturablenumberAmount that can be captured
↳ amount_receivednumberAmount that was collected
↳ applicationstringID of the Connect application that created the PaymentIntent
↳ application_fee_amountnumberApplication fee amount (if any)
↳ automatic_payment_methodsjsonSettings for automatic payment methods
↳ canceled_atnumberUnix timestamp of cancellation
↳ cancellation_reasonstringReason for cancellation
↳ capture_methodstringControls when funds will be captured (automatic or manual)
↳ client_secretstringClient secret for confirming the PaymentIntent
↳ confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
↳ creatednumberUnix timestamp when the PaymentIntent was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ customerstringID of the Customer this PaymentIntent belongs to
↳ descriptionstringDescription of the payment
↳ invoicestringID of the invoice that created this PaymentIntent
↳ last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
↳ latest_chargestringID of the latest charge created by this PaymentIntent
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_actionjsonActions required before the PaymentIntent can be confirmed
↳ on_behalf_ofstringThe account on behalf of which to charge
↳ payment_methodstringID of the payment method used
↳ payment_method_optionsjsonPayment-method-specific configuration
↳ payment_method_typesarrayPayment method types that can be used
↳ processingjsonProcessing status if payment is being processed asynchronously
↳ receipt_emailstringEmail address to send the receipt to
↳ reviewstringID of the review associated with this PaymentIntent
↳ setup_future_usagestringIndicates intent to make future payments
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ statement_descriptorstringStatement descriptor for charges
↳ statement_descriptor_suffixstringStatement descriptor suffix
↳ statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
↳ transfer_datajsonThe data for creating a transfer after the payment succeeds
↳ transfer_groupstringTransfer group for transfers associated with the payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Cancel Payment Intent

Cancel a Payment Intent

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesPayment Intent ID (e.g., pi_1234567890)
cancellation_reasonstringNoReason for cancellation (duplicate, fraudulent, requested_by_customer, abandoned)

Output

ParameterTypeDescription
payment_intentobjectThe canceled Payment Intent object
↳ idstringUnique identifier for the Payment Intent
↳ objectstringString representing the object type (payment_intent)
↳ amountnumberAmount intended to be collected in smallest currency unit
↳ amount_capturablenumberAmount that can be captured
↳ amount_receivednumberAmount that was collected
↳ applicationstringID of the Connect application that created the PaymentIntent
↳ application_fee_amountnumberApplication fee amount (if any)
↳ automatic_payment_methodsjsonSettings for automatic payment methods
↳ canceled_atnumberUnix timestamp of cancellation
↳ cancellation_reasonstringReason for cancellation
↳ capture_methodstringControls when funds will be captured (automatic or manual)
↳ client_secretstringClient secret for confirming the PaymentIntent
↳ confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
↳ creatednumberUnix timestamp when the PaymentIntent was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ customerstringID of the Customer this PaymentIntent belongs to
↳ descriptionstringDescription of the payment
↳ invoicestringID of the invoice that created this PaymentIntent
↳ last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
↳ latest_chargestringID of the latest charge created by this PaymentIntent
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_actionjsonActions required before the PaymentIntent can be confirmed
↳ on_behalf_ofstringThe account on behalf of which to charge
↳ payment_methodstringID of the payment method used
↳ payment_method_optionsjsonPayment-method-specific configuration
↳ payment_method_typesarrayPayment method types that can be used
↳ processingjsonProcessing status if payment is being processed asynchronously
↳ receipt_emailstringEmail address to send the receipt to
↳ reviewstringID of the review associated with this PaymentIntent
↳ setup_future_usagestringIndicates intent to make future payments
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ statement_descriptorstringStatement descriptor for charges
↳ statement_descriptor_suffixstringStatement descriptor suffix
↳ statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
↳ transfer_datajsonThe data for creating a transfer after the payment succeeds
↳ transfer_groupstringTransfer group for transfers associated with the payment
metadatajsonPayment Intent metadata including ID, status, amount, and currency
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe List Payment Intents

List all Payment Intents

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
limitnumberNoNumber of results to return (default 10, max 100)
customerstringNoFilter by customer ID
createdjsonNoFilter by creation date (e.g., {"gt": 1633024800})

Output

ParameterTypeDescription
payment_intentsarrayArray of Payment Intent objects
↳ idstringUnique identifier for the Payment Intent
↳ objectstringString representing the object type (payment_intent)
↳ amountnumberAmount intended to be collected in smallest currency unit
↳ amount_capturablenumberAmount that can be captured
↳ amount_receivednumberAmount that was collected
↳ applicationstringID of the Connect application that created the PaymentIntent
↳ application_fee_amountnumberApplication fee amount (if any)
↳ automatic_payment_methodsjsonSettings for automatic payment methods
↳ canceled_atnumberUnix timestamp of cancellation
↳ cancellation_reasonstringReason for cancellation
↳ capture_methodstringControls when funds will be captured (automatic or manual)
↳ client_secretstringClient secret for confirming the PaymentIntent
↳ confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
↳ creatednumberUnix timestamp when the PaymentIntent was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ customerstringID of the Customer this PaymentIntent belongs to
↳ descriptionstringDescription of the payment
↳ invoicestringID of the invoice that created this PaymentIntent
↳ last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
↳ latest_chargestringID of the latest charge created by this PaymentIntent
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_actionjsonActions required before the PaymentIntent can be confirmed
↳ on_behalf_ofstringThe account on behalf of which to charge
↳ payment_methodstringID of the payment method used
↳ payment_method_optionsjsonPayment-method-specific configuration
↳ payment_method_typesarrayPayment method types that can be used
↳ processingjsonProcessing status if payment is being processed asynchronously
↳ receipt_emailstringEmail address to send the receipt to
↳ reviewstringID of the review associated with this PaymentIntent
↳ setup_future_usagestringIndicates intent to make future payments
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ statement_descriptorstringStatement descriptor for charges
↳ statement_descriptor_suffixstringStatement descriptor suffix
↳ statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
↳ transfer_datajsonThe data for creating a transfer after the payment succeeds
↳ transfer_groupstringTransfer group for transfers associated with the payment
metadatajsonList metadata including count and has_more
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Search Payment Intents

Search for Payment Intents using query syntax

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
querystringYesSearch query (e.g., "status:'succeeded' AND currency:'usd'")
limitnumberNoNumber of results to return (default 10, max 100)

Output

ParameterTypeDescription
payment_intentsarrayArray of matching Payment Intent objects
↳ idstringUnique identifier for the Payment Intent
↳ objectstringString representing the object type (payment_intent)
↳ amountnumberAmount intended to be collected in smallest currency unit
↳ amount_capturablenumberAmount that can be captured
↳ amount_receivednumberAmount that was collected
↳ applicationstringID of the Connect application that created the PaymentIntent
↳ application_fee_amountnumberApplication fee amount (if any)
↳ automatic_payment_methodsjsonSettings for automatic payment methods
↳ canceled_atnumberUnix timestamp of cancellation
↳ cancellation_reasonstringReason for cancellation
↳ capture_methodstringControls when funds will be captured (automatic or manual)
↳ client_secretstringClient secret for confirming the PaymentIntent
↳ confirmation_methodstringHow the PaymentIntent can be confirmed (automatic or manual)
↳ creatednumberUnix timestamp when the PaymentIntent was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ customerstringID of the Customer this PaymentIntent belongs to
↳ descriptionstringDescription of the payment
↳ invoicestringID of the invoice that created this PaymentIntent
↳ last_payment_errorjsonThe payment error encountered in the previous PaymentIntent confirmation
↳ latest_chargestringID of the latest charge created by this PaymentIntent
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_actionjsonActions required before the PaymentIntent can be confirmed
↳ on_behalf_ofstringThe account on behalf of which to charge
↳ payment_methodstringID of the payment method used
↳ payment_method_optionsjsonPayment-method-specific configuration
↳ payment_method_typesarrayPayment method types that can be used
↳ processingjsonProcessing status if payment is being processed asynchronously
↳ receipt_emailstringEmail address to send the receipt to
↳ reviewstringID of the review associated with this PaymentIntent
↳ setup_future_usagestringIndicates intent to make future payments
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ statement_descriptorstringStatement descriptor for charges
↳ statement_descriptor_suffixstringStatement descriptor suffix
↳ statusstringStatus of the PaymentIntent (requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, succeeded)
↳ transfer_datajsonThe data for creating a transfer after the payment succeeds
↳ transfer_groupstringTransfer group for transfers associated with the payment
metadatajsonSearch metadata including count and has_more
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Create Customer

Create a new customer object

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
emailstringNoCustomer email address
namestringNoCustomer full name
phonestringNoCustomer phone number
descriptionstringNoDescription of the customer
addressjsonNoCustomer address object
metadatajsonNoSet of key-value pairs
payment_methodstringNoPayment method ID to attach

Output

ParameterTypeDescription
customerobjectThe created customer object
↳ idstringUnique identifier for the customer
↳ objectstringString representing the object type (customer)
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ balancenumberCurrent balance in smallest currency unit
↳ creatednumberUnix timestamp when the customer was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ default_sourcestringID of the default payment source
↳ delinquentbooleanWhether the customer has unpaid invoices
↳ descriptionstringDescription of the customer
↳ discountjsonDiscount that applies to all recurring charges
↳ emailstringCustomer email address (max 512 characters)
↳ invoice_prefixstringPrefix for generating unique invoice numbers
↳ invoice_settingsjsonDefault invoice settings
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ namestringCustomer full name or business name (max 256 characters)
↳ next_invoice_sequencenumberNext invoice sequence number
↳ phonestringCustomer phone number (max 20 characters)
↳ preferred_localesarrayCustomer preferred locales
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ tax_exemptstringTax exemption status (none, exempt, reverse)
↳ test_clockstringID of the test clock
metadatajsonCustomer metadata
↳ idstringStripe unique identifier
↳ emailstringCustomer email address
↳ namestringDisplay name

Stripe Retrieve Customer

Retrieve an existing customer by ID

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesCustomer ID (e.g., cus_1234567890)

Output

ParameterTypeDescription
customerobjectThe retrieved customer object
↳ idstringUnique identifier for the customer
↳ objectstringString representing the object type (customer)
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ balancenumberCurrent balance in smallest currency unit
↳ creatednumberUnix timestamp when the customer was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ default_sourcestringID of the default payment source
↳ delinquentbooleanWhether the customer has unpaid invoices
↳ descriptionstringDescription of the customer
↳ discountjsonDiscount that applies to all recurring charges
↳ emailstringCustomer email address (max 512 characters)
↳ invoice_prefixstringPrefix for generating unique invoice numbers
↳ invoice_settingsjsonDefault invoice settings
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ namestringCustomer full name or business name (max 256 characters)
↳ next_invoice_sequencenumberNext invoice sequence number
↳ phonestringCustomer phone number (max 20 characters)
↳ preferred_localesarrayCustomer preferred locales
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ tax_exemptstringTax exemption status (none, exempt, reverse)
↳ test_clockstringID of the test clock
metadatajsonCustomer metadata
↳ idstringStripe unique identifier
↳ emailstringCustomer email address
↳ namestringDisplay name

Stripe Update Customer

Update an existing customer

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesCustomer ID (e.g., cus_1234567890)
emailstringNoUpdated email address
namestringNoUpdated name
phonestringNoUpdated phone number
descriptionstringNoUpdated description
addressjsonNoUpdated address object
metadatajsonNoUpdated metadata

Output

ParameterTypeDescription
customerobjectThe updated customer object
↳ idstringUnique identifier for the customer
↳ objectstringString representing the object type (customer)
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ balancenumberCurrent balance in smallest currency unit
↳ creatednumberUnix timestamp when the customer was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ default_sourcestringID of the default payment source
↳ delinquentbooleanWhether the customer has unpaid invoices
↳ descriptionstringDescription of the customer
↳ discountjsonDiscount that applies to all recurring charges
↳ emailstringCustomer email address (max 512 characters)
↳ invoice_prefixstringPrefix for generating unique invoice numbers
↳ invoice_settingsjsonDefault invoice settings
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ namestringCustomer full name or business name (max 256 characters)
↳ next_invoice_sequencenumberNext invoice sequence number
↳ phonestringCustomer phone number (max 20 characters)
↳ preferred_localesarrayCustomer preferred locales
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ tax_exemptstringTax exemption status (none, exempt, reverse)
↳ test_clockstringID of the test clock
metadatajsonCustomer metadata
↳ idstringStripe unique identifier
↳ emailstringCustomer email address
↳ namestringDisplay name

Stripe Delete Customer

Permanently delete a customer

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesCustomer ID (e.g., cus_1234567890)

Output

ParameterTypeDescription
deletedbooleanWhether the resource was deleted
idstringID of the deleted resource

Stripe List Customers

List all customers

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
limitnumberNoNumber of results to return (default 10, max 100)
emailstringNoFilter by email address
createdjsonNoFilter by creation date

Output

ParameterTypeDescription
customersarrayArray of customer objects
↳ idstringUnique identifier for the customer
↳ objectstringString representing the object type (customer)
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ balancenumberCurrent balance in smallest currency unit
↳ creatednumberUnix timestamp when the customer was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ default_sourcestringID of the default payment source
↳ delinquentbooleanWhether the customer has unpaid invoices
↳ descriptionstringDescription of the customer
↳ discountjsonDiscount that applies to all recurring charges
↳ emailstringCustomer email address (max 512 characters)
↳ invoice_prefixstringPrefix for generating unique invoice numbers
↳ invoice_settingsjsonDefault invoice settings
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ namestringCustomer full name or business name (max 256 characters)
↳ next_invoice_sequencenumberNext invoice sequence number
↳ phonestringCustomer phone number (max 20 characters)
↳ preferred_localesarrayCustomer preferred locales
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ tax_exemptstringTax exemption status (none, exempt, reverse)
↳ test_clockstringID of the test clock
metadatajsonList metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Search Customers

Search for customers using query syntax

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
querystringYesSearch query (e.g., "email:'customer@example.com'")
limitnumberNoNumber of results to return (default 10, max 100)

Output

ParameterTypeDescription
customersarrayArray of matching customer objects
↳ idstringUnique identifier for the customer
↳ objectstringString representing the object type (customer)
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ balancenumberCurrent balance in smallest currency unit
↳ creatednumberUnix timestamp when the customer was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ default_sourcestringID of the default payment source
↳ delinquentbooleanWhether the customer has unpaid invoices
↳ descriptionstringDescription of the customer
↳ discountjsonDiscount that applies to all recurring charges
↳ emailstringCustomer email address (max 512 characters)
↳ invoice_prefixstringPrefix for generating unique invoice numbers
↳ invoice_settingsjsonDefault invoice settings
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ namestringCustomer full name or business name (max 256 characters)
↳ next_invoice_sequencenumberNext invoice sequence number
↳ phonestringCustomer phone number (max 20 characters)
↳ preferred_localesarrayCustomer preferred locales
↳ shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ tax_exemptstringTax exemption status (none, exempt, reverse)
↳ test_clockstringID of the test clock
metadatajsonSearch metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Create Subscription

Create a new subscription for a customer

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
customerstringYesCustomer ID to subscribe
itemsjsonYesArray of items with price IDs (e.g., [{"price": "price_xxx", "quantity": 1}])
trial_period_daysnumberNoNumber of trial days
default_payment_methodstringNoPayment method ID
cancel_at_period_endbooleanNoCancel subscription at period end
metadatajsonNoSet of key-value pairs for storing additional information

Output

ParameterTypeDescription
subscriptionobjectThe created subscription object
↳ idstringUnique identifier for the subscription
↳ objectstringString representing the object type (subscription)
↳ applicationstringID of the Connect application that created the subscription
↳ application_fee_percentnumberApplication fee percent (if any)
↳ automatic_taxjsonAutomatic tax settings
↳ billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
↳ billing_thresholdsjsonBilling thresholds for the subscription
↳ cancel_atnumberUnix timestamp when the subscription will be canceled
↳ cancel_at_period_endbooleanWhether the subscription will be canceled at period end
↳ canceled_atnumberUnix timestamp when the subscription was canceled
↳ cancellation_detailsjsonDetails about cancellation
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the subscription was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ current_period_endnumberUnix timestamp when the current period ends
↳ current_period_startnumberUnix timestamp when the current period started
↳ customerstringID of the customer who owns the subscription
↳ days_until_duenumberNumber of days a customer has to pay invoices
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringSubscription description (max 500 characters)
↳ discountjsonDiscount that applies to the subscription
↳ ended_atnumberUnix timestamp when the subscription ended
↳ itemsobjectList of subscription items
↳ objectstringString representing the object type (list)
↳ dataarrayArray of subscription items
↳ idstringUnique identifier for the subscription item
↳ objectstringString representing the object type (subscription_item)
↳ billing_thresholdsjsonBilling thresholds for the subscription item
↳ creatednumberUnix timestamp when the item was added
↳ metadatajsonSet of key-value pairs for storing additional information
↳ pricejsonPrice object for this subscription item
↳ quantitynumberQuantity of the plan to subscribe to
↳ subscriptionstringID of the subscription this item belongs to
↳ tax_ratesarrayTax rates applied to this subscription item
↳ has_morebooleanWhether there are more items
↳ urlstringURL to fetch more items
↳ latest_invoicestringID of the most recent invoice
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
↳ on_behalf_ofstringAccount the subscription is made on behalf of
↳ pause_collectionjsonIf paused, when collection is paused until
↳ payment_settingsjsonPayment settings for the subscription
↳ pending_invoice_item_intervaljsonPending invoice item interval
↳ pending_setup_intentstringID of the pending SetupIntent
↳ pending_updatejsonPending subscription update
↳ schedulestringID of the subscription schedule
↳ start_datenumberUnix timestamp when the subscription started
↳ statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
↳ test_clockstringID of the test clock
↳ transfer_datajsonData for creating transfers after payments succeed
↳ trial_endnumberUnix timestamp when the trial ends
↳ trial_settingsjsonSettings related to subscription trials
↳ trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ customerstringAssociated customer ID

Stripe Retrieve Subscription

Retrieve an existing subscription by ID

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesSubscription ID (e.g., sub_1234567890)

Output

ParameterTypeDescription
subscriptionobjectThe retrieved subscription object
↳ idstringUnique identifier for the subscription
↳ objectstringString representing the object type (subscription)
↳ applicationstringID of the Connect application that created the subscription
↳ application_fee_percentnumberApplication fee percent (if any)
↳ automatic_taxjsonAutomatic tax settings
↳ billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
↳ billing_thresholdsjsonBilling thresholds for the subscription
↳ cancel_atnumberUnix timestamp when the subscription will be canceled
↳ cancel_at_period_endbooleanWhether the subscription will be canceled at period end
↳ canceled_atnumberUnix timestamp when the subscription was canceled
↳ cancellation_detailsjsonDetails about cancellation
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the subscription was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ current_period_endnumberUnix timestamp when the current period ends
↳ current_period_startnumberUnix timestamp when the current period started
↳ customerstringID of the customer who owns the subscription
↳ days_until_duenumberNumber of days a customer has to pay invoices
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringSubscription description (max 500 characters)
↳ discountjsonDiscount that applies to the subscription
↳ ended_atnumberUnix timestamp when the subscription ended
↳ itemsobjectList of subscription items
↳ objectstringString representing the object type (list)
↳ dataarrayArray of subscription items
↳ idstringUnique identifier for the subscription item
↳ objectstringString representing the object type (subscription_item)
↳ billing_thresholdsjsonBilling thresholds for the subscription item
↳ creatednumberUnix timestamp when the item was added
↳ metadatajsonSet of key-value pairs for storing additional information
↳ pricejsonPrice object for this subscription item
↳ quantitynumberQuantity of the plan to subscribe to
↳ subscriptionstringID of the subscription this item belongs to
↳ tax_ratesarrayTax rates applied to this subscription item
↳ has_morebooleanWhether there are more items
↳ urlstringURL to fetch more items
↳ latest_invoicestringID of the most recent invoice
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
↳ on_behalf_ofstringAccount the subscription is made on behalf of
↳ pause_collectionjsonIf paused, when collection is paused until
↳ payment_settingsjsonPayment settings for the subscription
↳ pending_invoice_item_intervaljsonPending invoice item interval
↳ pending_setup_intentstringID of the pending SetupIntent
↳ pending_updatejsonPending subscription update
↳ schedulestringID of the subscription schedule
↳ start_datenumberUnix timestamp when the subscription started
↳ statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
↳ test_clockstringID of the test clock
↳ transfer_datajsonData for creating transfers after payments succeed
↳ trial_endnumberUnix timestamp when the trial ends
↳ trial_settingsjsonSettings related to subscription trials
↳ trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ customerstringAssociated customer ID

Stripe Update Subscription

Update an existing subscription

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesSubscription ID (e.g., sub_1234567890)
itemsjsonNoUpdated array of items with price IDs
cancel_at_period_endbooleanNoCancel subscription at period end
metadatajsonNoUpdated metadata

Output

ParameterTypeDescription
subscriptionobjectThe updated subscription object
↳ idstringUnique identifier for the subscription
↳ objectstringString representing the object type (subscription)
↳ applicationstringID of the Connect application that created the subscription
↳ application_fee_percentnumberApplication fee percent (if any)
↳ automatic_taxjsonAutomatic tax settings
↳ billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
↳ billing_thresholdsjsonBilling thresholds for the subscription
↳ cancel_atnumberUnix timestamp when the subscription will be canceled
↳ cancel_at_period_endbooleanWhether the subscription will be canceled at period end
↳ canceled_atnumberUnix timestamp when the subscription was canceled
↳ cancellation_detailsjsonDetails about cancellation
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the subscription was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ current_period_endnumberUnix timestamp when the current period ends
↳ current_period_startnumberUnix timestamp when the current period started
↳ customerstringID of the customer who owns the subscription
↳ days_until_duenumberNumber of days a customer has to pay invoices
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringSubscription description (max 500 characters)
↳ discountjsonDiscount that applies to the subscription
↳ ended_atnumberUnix timestamp when the subscription ended
↳ itemsobjectList of subscription items
↳ objectstringString representing the object type (list)
↳ dataarrayArray of subscription items
↳ idstringUnique identifier for the subscription item
↳ objectstringString representing the object type (subscription_item)
↳ billing_thresholdsjsonBilling thresholds for the subscription item
↳ creatednumberUnix timestamp when the item was added
↳ metadatajsonSet of key-value pairs for storing additional information
↳ pricejsonPrice object for this subscription item
↳ quantitynumberQuantity of the plan to subscribe to
↳ subscriptionstringID of the subscription this item belongs to
↳ tax_ratesarrayTax rates applied to this subscription item
↳ has_morebooleanWhether there are more items
↳ urlstringURL to fetch more items
↳ latest_invoicestringID of the most recent invoice
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
↳ on_behalf_ofstringAccount the subscription is made on behalf of
↳ pause_collectionjsonIf paused, when collection is paused until
↳ payment_settingsjsonPayment settings for the subscription
↳ pending_invoice_item_intervaljsonPending invoice item interval
↳ pending_setup_intentstringID of the pending SetupIntent
↳ pending_updatejsonPending subscription update
↳ schedulestringID of the subscription schedule
↳ start_datenumberUnix timestamp when the subscription started
↳ statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
↳ test_clockstringID of the test clock
↳ transfer_datajsonData for creating transfers after payments succeed
↳ trial_endnumberUnix timestamp when the trial ends
↳ trial_settingsjsonSettings related to subscription trials
↳ trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ customerstringAssociated customer ID

Stripe Cancel Subscription

Cancel a subscription

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesSubscription ID (e.g., sub_1234567890)
proratebooleanNoWhether to prorate the cancellation
invoice_nowbooleanNoWhether to invoice immediately

Output

ParameterTypeDescription
subscriptionobjectThe canceled subscription object
↳ idstringUnique identifier for the subscription
↳ objectstringString representing the object type (subscription)
↳ applicationstringID of the Connect application that created the subscription
↳ application_fee_percentnumberApplication fee percent (if any)
↳ automatic_taxjsonAutomatic tax settings
↳ billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
↳ billing_thresholdsjsonBilling thresholds for the subscription
↳ cancel_atnumberUnix timestamp when the subscription will be canceled
↳ cancel_at_period_endbooleanWhether the subscription will be canceled at period end
↳ canceled_atnumberUnix timestamp when the subscription was canceled
↳ cancellation_detailsjsonDetails about cancellation
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the subscription was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ current_period_endnumberUnix timestamp when the current period ends
↳ current_period_startnumberUnix timestamp when the current period started
↳ customerstringID of the customer who owns the subscription
↳ days_until_duenumberNumber of days a customer has to pay invoices
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringSubscription description (max 500 characters)
↳ discountjsonDiscount that applies to the subscription
↳ ended_atnumberUnix timestamp when the subscription ended
↳ itemsobjectList of subscription items
↳ objectstringString representing the object type (list)
↳ dataarrayArray of subscription items
↳ idstringUnique identifier for the subscription item
↳ objectstringString representing the object type (subscription_item)
↳ billing_thresholdsjsonBilling thresholds for the subscription item
↳ creatednumberUnix timestamp when the item was added
↳ metadatajsonSet of key-value pairs for storing additional information
↳ pricejsonPrice object for this subscription item
↳ quantitynumberQuantity of the plan to subscribe to
↳ subscriptionstringID of the subscription this item belongs to
↳ tax_ratesarrayTax rates applied to this subscription item
↳ has_morebooleanWhether there are more items
↳ urlstringURL to fetch more items
↳ latest_invoicestringID of the most recent invoice
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
↳ on_behalf_ofstringAccount the subscription is made on behalf of
↳ pause_collectionjsonIf paused, when collection is paused until
↳ payment_settingsjsonPayment settings for the subscription
↳ pending_invoice_item_intervaljsonPending invoice item interval
↳ pending_setup_intentstringID of the pending SetupIntent
↳ pending_updatejsonPending subscription update
↳ schedulestringID of the subscription schedule
↳ start_datenumberUnix timestamp when the subscription started
↳ statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
↳ test_clockstringID of the test clock
↳ transfer_datajsonData for creating transfers after payments succeed
↳ trial_endnumberUnix timestamp when the trial ends
↳ trial_settingsjsonSettings related to subscription trials
↳ trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ customerstringAssociated customer ID

Stripe Resume Subscription

Resume a subscription that was scheduled for cancellation

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesSubscription ID (e.g., sub_1234567890)

Output

ParameterTypeDescription
subscriptionobjectThe resumed subscription object
↳ idstringUnique identifier for the subscription
↳ objectstringString representing the object type (subscription)
↳ applicationstringID of the Connect application that created the subscription
↳ application_fee_percentnumberApplication fee percent (if any)
↳ automatic_taxjsonAutomatic tax settings
↳ billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
↳ billing_thresholdsjsonBilling thresholds for the subscription
↳ cancel_atnumberUnix timestamp when the subscription will be canceled
↳ cancel_at_period_endbooleanWhether the subscription will be canceled at period end
↳ canceled_atnumberUnix timestamp when the subscription was canceled
↳ cancellation_detailsjsonDetails about cancellation
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the subscription was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ current_period_endnumberUnix timestamp when the current period ends
↳ current_period_startnumberUnix timestamp when the current period started
↳ customerstringID of the customer who owns the subscription
↳ days_until_duenumberNumber of days a customer has to pay invoices
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringSubscription description (max 500 characters)
↳ discountjsonDiscount that applies to the subscription
↳ ended_atnumberUnix timestamp when the subscription ended
↳ itemsobjectList of subscription items
↳ objectstringString representing the object type (list)
↳ dataarrayArray of subscription items
↳ idstringUnique identifier for the subscription item
↳ objectstringString representing the object type (subscription_item)
↳ billing_thresholdsjsonBilling thresholds for the subscription item
↳ creatednumberUnix timestamp when the item was added
↳ metadatajsonSet of key-value pairs for storing additional information
↳ pricejsonPrice object for this subscription item
↳ quantitynumberQuantity of the plan to subscribe to
↳ subscriptionstringID of the subscription this item belongs to
↳ tax_ratesarrayTax rates applied to this subscription item
↳ has_morebooleanWhether there are more items
↳ urlstringURL to fetch more items
↳ latest_invoicestringID of the most recent invoice
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
↳ on_behalf_ofstringAccount the subscription is made on behalf of
↳ pause_collectionjsonIf paused, when collection is paused until
↳ payment_settingsjsonPayment settings for the subscription
↳ pending_invoice_item_intervaljsonPending invoice item interval
↳ pending_setup_intentstringID of the pending SetupIntent
↳ pending_updatejsonPending subscription update
↳ schedulestringID of the subscription schedule
↳ start_datenumberUnix timestamp when the subscription started
↳ statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
↳ test_clockstringID of the test clock
↳ transfer_datajsonData for creating transfers after payments succeed
↳ trial_endnumberUnix timestamp when the trial ends
↳ trial_settingsjsonSettings related to subscription trials
↳ trial_startnumberUnix timestamp when the trial started
metadatajsonSubscription metadata including ID, status, and customer
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ customerstringAssociated customer ID

Stripe List Subscriptions

List all subscriptions

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
limitnumberNoNumber of results to return (default 10, max 100)
customerstringNoFilter by customer ID
statusstringNoFilter by status (active, past_due, unpaid, canceled, incomplete, incomplete_expired, trialing, all)
pricestringNoFilter by price ID

Output

ParameterTypeDescription
subscriptionsarrayArray of subscription objects
↳ idstringUnique identifier for the subscription
↳ objectstringString representing the object type (subscription)
↳ applicationstringID of the Connect application that created the subscription
↳ application_fee_percentnumberApplication fee percent (if any)
↳ automatic_taxjsonAutomatic tax settings
↳ billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
↳ billing_thresholdsjsonBilling thresholds for the subscription
↳ cancel_atnumberUnix timestamp when the subscription will be canceled
↳ cancel_at_period_endbooleanWhether the subscription will be canceled at period end
↳ canceled_atnumberUnix timestamp when the subscription was canceled
↳ cancellation_detailsjsonDetails about cancellation
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the subscription was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ current_period_endnumberUnix timestamp when the current period ends
↳ current_period_startnumberUnix timestamp when the current period started
↳ customerstringID of the customer who owns the subscription
↳ days_until_duenumberNumber of days a customer has to pay invoices
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringSubscription description (max 500 characters)
↳ discountjsonDiscount that applies to the subscription
↳ ended_atnumberUnix timestamp when the subscription ended
↳ itemsobjectList of subscription items
↳ objectstringString representing the object type (list)
↳ dataarrayArray of subscription items
↳ idstringUnique identifier for the subscription item
↳ objectstringString representing the object type (subscription_item)
↳ billing_thresholdsjsonBilling thresholds for the subscription item
↳ creatednumberUnix timestamp when the item was added
↳ metadatajsonSet of key-value pairs for storing additional information
↳ pricejsonPrice object for this subscription item
↳ quantitynumberQuantity of the plan to subscribe to
↳ subscriptionstringID of the subscription this item belongs to
↳ tax_ratesarrayTax rates applied to this subscription item
↳ has_morebooleanWhether there are more items
↳ urlstringURL to fetch more items
↳ latest_invoicestringID of the most recent invoice
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
↳ on_behalf_ofstringAccount the subscription is made on behalf of
↳ pause_collectionjsonIf paused, when collection is paused until
↳ payment_settingsjsonPayment settings for the subscription
↳ pending_invoice_item_intervaljsonPending invoice item interval
↳ pending_setup_intentstringID of the pending SetupIntent
↳ pending_updatejsonPending subscription update
↳ schedulestringID of the subscription schedule
↳ start_datenumberUnix timestamp when the subscription started
↳ statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
↳ test_clockstringID of the test clock
↳ transfer_datajsonData for creating transfers after payments succeed
↳ trial_endnumberUnix timestamp when the trial ends
↳ trial_settingsjsonSettings related to subscription trials
↳ trial_startnumberUnix timestamp when the trial started
metadatajsonList metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Search Subscriptions

Search for subscriptions using query syntax

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
querystringYesSearch query (e.g., "status:'active' AND customer:'cus_xxx'")
limitnumberNoNumber of results to return (default 10, max 100)

Output

ParameterTypeDescription
subscriptionsarrayArray of matching subscription objects
↳ idstringUnique identifier for the subscription
↳ objectstringString representing the object type (subscription)
↳ applicationstringID of the Connect application that created the subscription
↳ application_fee_percentnumberApplication fee percent (if any)
↳ automatic_taxjsonAutomatic tax settings
↳ billing_cycle_anchornumberUnix timestamp determining when billing cycle starts
↳ billing_thresholdsjsonBilling thresholds for the subscription
↳ cancel_atnumberUnix timestamp when the subscription will be canceled
↳ cancel_at_period_endbooleanWhether the subscription will be canceled at period end
↳ canceled_atnumberUnix timestamp when the subscription was canceled
↳ cancellation_detailsjsonDetails about cancellation
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the subscription was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ current_period_endnumberUnix timestamp when the current period ends
↳ current_period_startnumberUnix timestamp when the current period started
↳ customerstringID of the customer who owns the subscription
↳ days_until_duenumberNumber of days a customer has to pay invoices
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringSubscription description (max 500 characters)
↳ discountjsonDiscount that applies to the subscription
↳ ended_atnumberUnix timestamp when the subscription ended
↳ itemsobjectList of subscription items
↳ objectstringString representing the object type (list)
↳ dataarrayArray of subscription items
↳ idstringUnique identifier for the subscription item
↳ objectstringString representing the object type (subscription_item)
↳ billing_thresholdsjsonBilling thresholds for the subscription item
↳ creatednumberUnix timestamp when the item was added
↳ metadatajsonSet of key-value pairs for storing additional information
↳ pricejsonPrice object for this subscription item
↳ quantitynumberQuantity of the plan to subscribe to
↳ subscriptionstringID of the subscription this item belongs to
↳ tax_ratesarrayTax rates applied to this subscription item
↳ has_morebooleanWhether there are more items
↳ urlstringURL to fetch more items
↳ latest_invoicestringID of the most recent invoice
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_pending_invoice_item_invoicenumberUnix timestamp of next pending invoice item invoice
↳ on_behalf_ofstringAccount the subscription is made on behalf of
↳ pause_collectionjsonIf paused, when collection is paused until
↳ payment_settingsjsonPayment settings for the subscription
↳ pending_invoice_item_intervaljsonPending invoice item interval
↳ pending_setup_intentstringID of the pending SetupIntent
↳ pending_updatejsonPending subscription update
↳ schedulestringID of the subscription schedule
↳ start_datenumberUnix timestamp when the subscription started
↳ statusstringStatus of the subscription (incomplete, incomplete_expired, trialing, active, past_due, canceled, unpaid, paused)
↳ test_clockstringID of the test clock
↳ transfer_datajsonData for creating transfers after payments succeed
↳ trial_endnumberUnix timestamp when the trial ends
↳ trial_settingsjsonSettings related to subscription trials
↳ trial_startnumberUnix timestamp when the trial started
metadatajsonSearch metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Create Invoice

Create a new invoice

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
customerstringYesCustomer ID (e.g., cus_1234567890)
descriptionstringNoDescription of the invoice
metadatajsonNoSet of key-value pairs
auto_advancebooleanNoAuto-finalize the invoice
collection_methodstringNoCollection method: charge_automatically or send_invoice

Output

ParameterTypeDescription
invoiceobjectThe created invoice object
↳ idstringUnique identifier for the invoice
↳ objectstringString representing the object type (invoice)
↳ account_countrystringCountry of the business associated with this invoice
↳ account_namestringName of the account associated with this invoice
↳ account_tax_idsarrayAccount tax IDs
↳ amount_duenumberFinal amount due in smallest currency unit
↳ amount_paidnumberAmount paid in smallest currency unit
↳ amount_remainingnumberAmount remaining in smallest currency unit
↳ amount_shippingnumberShipping amount in smallest currency unit
↳ applicationstringID of the Connect application that created the invoice
↳ application_fee_amountnumberApplication fee amount
↳ attempt_countnumberNumber of payment attempts made
↳ attemptedbooleanWhether an attempt has been made to pay the invoice
↳ auto_advancebooleanControls whether Stripe performs automatic collection
↳ automatic_taxjsonSettings and results for automatic tax lookup
↳ billing_reasonstringReason the invoice was created
↳ chargestringID of the latest charge for this invoice
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the invoice was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ custom_fieldsarrayCustom fields displayed on the invoice
↳ customerstringID of the customer who will be billed
↳ customer_addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_emailstringEmail of the customer
↳ customer_namestringName of the customer
↳ customer_phonestringPhone number of the customer
↳ customer_shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_tax_exemptstringTax exemption status of the customer
↳ customer_tax_idsarrayCustomer tax IDs
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringDescription displayed in Dashboard (memo)
↳ discountjsonDiscount applied to the invoice
↳ discountsarrayDiscounts applied to the invoice
↳ due_datenumberUnix timestamp when payment is due
↳ effective_atnumberWhen the invoice was effective
↳ ending_balancenumberEnding customer balance after invoice is finalized
↳ footerstringFooter displayed on the invoice
↳ from_invoicejsonDetails of the invoice that this invoice was created from
↳ hosted_invoice_urlstringURL for the hosted invoice page
↳ invoice_pdfstringURL for the invoice PDF
↳ issuerjsonThe connected account that issues the invoice
↳ last_finalization_errorjsonError encountered during finalization
↳ latest_revisionstringID of the most recent revision
↳ linesobjectInvoice line items
↳ idstringUnique identifier for the line item
↳ objectstringString representing the object type (line_item)
↳ amountnumberAmount in smallest currency unit
↳ amount_excluding_taxnumberAmount excluding tax
↳ currencystringThree-letter ISO currency code (lowercase)
↳ descriptionstringDescription of the line item
↳ discount_amountsarrayDiscount amounts applied
↳ discountablebooleanWhether the line item is discountable
↳ discountsarrayDiscounts applied to the line item
↳ invoicestringID of the invoice that contains this line item
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ periodjsonPeriod this line item covers
↳ pricejsonPrice object for this line item
↳ prorationbooleanWhether this is a proration
↳ proration_detailsjsonAdditional details for proration line items
↳ quantitynumberQuantity of the item
↳ subscriptionstringID of the subscription
↳ subscription_itemstringID of the subscription item
↳ tax_amountsarrayTax amounts for this line item
↳ tax_ratesarrayTax rates applied
↳ typestringType of line item (invoiceitem or subscription)
↳ unit_amount_excluding_taxstringUnit amount excluding tax
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_payment_attemptnumberUnix timestamp of next payment attempt
↳ numberstringHuman-readable invoice number
↳ on_behalf_ofstringAccount on behalf of which the invoice was issued
↳ paidbooleanWhether payment was successfully collected
↳ paid_out_of_bandbooleanWhether the invoice was paid out of band
↳ payment_intentstringID of the PaymentIntent associated with the invoice
↳ payment_settingsjsonConfiguration settings for payment collection
↳ period_endnumberEnd of the usage period
↳ period_startnumberStart of the usage period
↳ post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
↳ pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
↳ quotestringID of the quote this invoice was generated from
↳ receipt_numberstringReceipt number for the invoice
↳ renderingjsonInvoice rendering options
↳ rendering_optionsjsonInvoice rendering options (deprecated)
↳ shipping_costjsonShipping cost information
↳ shipping_detailsobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ starting_balancenumberStarting customer balance before invoice
↳ statement_descriptorstringStatement descriptor
↳ statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
↳ status_transitionsjsonTimestamps at which the invoice status was updated
↳ subscriptionstringID of the subscription for this invoice
↳ subscription_detailsjsonDetails about the subscription
↳ subscription_proration_datenumberOnly set for upcoming invoices with proration
↳ subtotalnumberTotal before discounts and taxes
↳ subtotal_excluding_taxnumberSubtotal excluding tax
↳ taxnumberTotal tax amount
↳ test_clockstringID of the test clock
↳ threshold_reasonjsonDetails about why the invoice was created
↳ totalnumberTotal after discounts and taxes
↳ total_discount_amountsarrayTotal discount amounts
↳ total_excluding_taxnumberTotal excluding tax
↳ total_tax_amountsarrayTotal tax amounts
↳ transfer_datajsonData for creating transfers
↳ webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amount_duenumberAmount remaining to be paid in smallest currency unit
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Retrieve Invoice

Retrieve an existing invoice by ID

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesInvoice ID (e.g., in_1234567890)

Output

ParameterTypeDescription
invoiceobjectThe retrieved invoice object
↳ idstringUnique identifier for the invoice
↳ objectstringString representing the object type (invoice)
↳ account_countrystringCountry of the business associated with this invoice
↳ account_namestringName of the account associated with this invoice
↳ account_tax_idsarrayAccount tax IDs
↳ amount_duenumberFinal amount due in smallest currency unit
↳ amount_paidnumberAmount paid in smallest currency unit
↳ amount_remainingnumberAmount remaining in smallest currency unit
↳ amount_shippingnumberShipping amount in smallest currency unit
↳ applicationstringID of the Connect application that created the invoice
↳ application_fee_amountnumberApplication fee amount
↳ attempt_countnumberNumber of payment attempts made
↳ attemptedbooleanWhether an attempt has been made to pay the invoice
↳ auto_advancebooleanControls whether Stripe performs automatic collection
↳ automatic_taxjsonSettings and results for automatic tax lookup
↳ billing_reasonstringReason the invoice was created
↳ chargestringID of the latest charge for this invoice
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the invoice was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ custom_fieldsarrayCustom fields displayed on the invoice
↳ customerstringID of the customer who will be billed
↳ customer_addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_emailstringEmail of the customer
↳ customer_namestringName of the customer
↳ customer_phonestringPhone number of the customer
↳ customer_shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_tax_exemptstringTax exemption status of the customer
↳ customer_tax_idsarrayCustomer tax IDs
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringDescription displayed in Dashboard (memo)
↳ discountjsonDiscount applied to the invoice
↳ discountsarrayDiscounts applied to the invoice
↳ due_datenumberUnix timestamp when payment is due
↳ effective_atnumberWhen the invoice was effective
↳ ending_balancenumberEnding customer balance after invoice is finalized
↳ footerstringFooter displayed on the invoice
↳ from_invoicejsonDetails of the invoice that this invoice was created from
↳ hosted_invoice_urlstringURL for the hosted invoice page
↳ invoice_pdfstringURL for the invoice PDF
↳ issuerjsonThe connected account that issues the invoice
↳ last_finalization_errorjsonError encountered during finalization
↳ latest_revisionstringID of the most recent revision
↳ linesobjectInvoice line items
↳ idstringUnique identifier for the line item
↳ objectstringString representing the object type (line_item)
↳ amountnumberAmount in smallest currency unit
↳ amount_excluding_taxnumberAmount excluding tax
↳ currencystringThree-letter ISO currency code (lowercase)
↳ descriptionstringDescription of the line item
↳ discount_amountsarrayDiscount amounts applied
↳ discountablebooleanWhether the line item is discountable
↳ discountsarrayDiscounts applied to the line item
↳ invoicestringID of the invoice that contains this line item
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ periodjsonPeriod this line item covers
↳ pricejsonPrice object for this line item
↳ prorationbooleanWhether this is a proration
↳ proration_detailsjsonAdditional details for proration line items
↳ quantitynumberQuantity of the item
↳ subscriptionstringID of the subscription
↳ subscription_itemstringID of the subscription item
↳ tax_amountsarrayTax amounts for this line item
↳ tax_ratesarrayTax rates applied
↳ typestringType of line item (invoiceitem or subscription)
↳ unit_amount_excluding_taxstringUnit amount excluding tax
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_payment_attemptnumberUnix timestamp of next payment attempt
↳ numberstringHuman-readable invoice number
↳ on_behalf_ofstringAccount on behalf of which the invoice was issued
↳ paidbooleanWhether payment was successfully collected
↳ paid_out_of_bandbooleanWhether the invoice was paid out of band
↳ payment_intentstringID of the PaymentIntent associated with the invoice
↳ payment_settingsjsonConfiguration settings for payment collection
↳ period_endnumberEnd of the usage period
↳ period_startnumberStart of the usage period
↳ post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
↳ pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
↳ quotestringID of the quote this invoice was generated from
↳ receipt_numberstringReceipt number for the invoice
↳ renderingjsonInvoice rendering options
↳ rendering_optionsjsonInvoice rendering options (deprecated)
↳ shipping_costjsonShipping cost information
↳ shipping_detailsobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ starting_balancenumberStarting customer balance before invoice
↳ statement_descriptorstringStatement descriptor
↳ statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
↳ status_transitionsjsonTimestamps at which the invoice status was updated
↳ subscriptionstringID of the subscription for this invoice
↳ subscription_detailsjsonDetails about the subscription
↳ subscription_proration_datenumberOnly set for upcoming invoices with proration
↳ subtotalnumberTotal before discounts and taxes
↳ subtotal_excluding_taxnumberSubtotal excluding tax
↳ taxnumberTotal tax amount
↳ test_clockstringID of the test clock
↳ threshold_reasonjsonDetails about why the invoice was created
↳ totalnumberTotal after discounts and taxes
↳ total_discount_amountsarrayTotal discount amounts
↳ total_excluding_taxnumberTotal excluding tax
↳ total_tax_amountsarrayTotal tax amounts
↳ transfer_datajsonData for creating transfers
↳ webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amount_duenumberAmount remaining to be paid in smallest currency unit
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Update Invoice

Update an existing invoice

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesInvoice ID (e.g., in_1234567890)
descriptionstringNoDescription of the invoice
metadatajsonNoSet of key-value pairs
auto_advancebooleanNoAuto-finalize the invoice

Output

ParameterTypeDescription
invoiceobjectThe updated invoice object
↳ idstringUnique identifier for the invoice
↳ objectstringString representing the object type (invoice)
↳ account_countrystringCountry of the business associated with this invoice
↳ account_namestringName of the account associated with this invoice
↳ account_tax_idsarrayAccount tax IDs
↳ amount_duenumberFinal amount due in smallest currency unit
↳ amount_paidnumberAmount paid in smallest currency unit
↳ amount_remainingnumberAmount remaining in smallest currency unit
↳ amount_shippingnumberShipping amount in smallest currency unit
↳ applicationstringID of the Connect application that created the invoice
↳ application_fee_amountnumberApplication fee amount
↳ attempt_countnumberNumber of payment attempts made
↳ attemptedbooleanWhether an attempt has been made to pay the invoice
↳ auto_advancebooleanControls whether Stripe performs automatic collection
↳ automatic_taxjsonSettings and results for automatic tax lookup
↳ billing_reasonstringReason the invoice was created
↳ chargestringID of the latest charge for this invoice
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the invoice was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ custom_fieldsarrayCustom fields displayed on the invoice
↳ customerstringID of the customer who will be billed
↳ customer_addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_emailstringEmail of the customer
↳ customer_namestringName of the customer
↳ customer_phonestringPhone number of the customer
↳ customer_shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_tax_exemptstringTax exemption status of the customer
↳ customer_tax_idsarrayCustomer tax IDs
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringDescription displayed in Dashboard (memo)
↳ discountjsonDiscount applied to the invoice
↳ discountsarrayDiscounts applied to the invoice
↳ due_datenumberUnix timestamp when payment is due
↳ effective_atnumberWhen the invoice was effective
↳ ending_balancenumberEnding customer balance after invoice is finalized
↳ footerstringFooter displayed on the invoice
↳ from_invoicejsonDetails of the invoice that this invoice was created from
↳ hosted_invoice_urlstringURL for the hosted invoice page
↳ invoice_pdfstringURL for the invoice PDF
↳ issuerjsonThe connected account that issues the invoice
↳ last_finalization_errorjsonError encountered during finalization
↳ latest_revisionstringID of the most recent revision
↳ linesobjectInvoice line items
↳ idstringUnique identifier for the line item
↳ objectstringString representing the object type (line_item)
↳ amountnumberAmount in smallest currency unit
↳ amount_excluding_taxnumberAmount excluding tax
↳ currencystringThree-letter ISO currency code (lowercase)
↳ descriptionstringDescription of the line item
↳ discount_amountsarrayDiscount amounts applied
↳ discountablebooleanWhether the line item is discountable
↳ discountsarrayDiscounts applied to the line item
↳ invoicestringID of the invoice that contains this line item
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ periodjsonPeriod this line item covers
↳ pricejsonPrice object for this line item
↳ prorationbooleanWhether this is a proration
↳ proration_detailsjsonAdditional details for proration line items
↳ quantitynumberQuantity of the item
↳ subscriptionstringID of the subscription
↳ subscription_itemstringID of the subscription item
↳ tax_amountsarrayTax amounts for this line item
↳ tax_ratesarrayTax rates applied
↳ typestringType of line item (invoiceitem or subscription)
↳ unit_amount_excluding_taxstringUnit amount excluding tax
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_payment_attemptnumberUnix timestamp of next payment attempt
↳ numberstringHuman-readable invoice number
↳ on_behalf_ofstringAccount on behalf of which the invoice was issued
↳ paidbooleanWhether payment was successfully collected
↳ paid_out_of_bandbooleanWhether the invoice was paid out of band
↳ payment_intentstringID of the PaymentIntent associated with the invoice
↳ payment_settingsjsonConfiguration settings for payment collection
↳ period_endnumberEnd of the usage period
↳ period_startnumberStart of the usage period
↳ post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
↳ pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
↳ quotestringID of the quote this invoice was generated from
↳ receipt_numberstringReceipt number for the invoice
↳ renderingjsonInvoice rendering options
↳ rendering_optionsjsonInvoice rendering options (deprecated)
↳ shipping_costjsonShipping cost information
↳ shipping_detailsobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ starting_balancenumberStarting customer balance before invoice
↳ statement_descriptorstringStatement descriptor
↳ statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
↳ status_transitionsjsonTimestamps at which the invoice status was updated
↳ subscriptionstringID of the subscription for this invoice
↳ subscription_detailsjsonDetails about the subscription
↳ subscription_proration_datenumberOnly set for upcoming invoices with proration
↳ subtotalnumberTotal before discounts and taxes
↳ subtotal_excluding_taxnumberSubtotal excluding tax
↳ taxnumberTotal tax amount
↳ test_clockstringID of the test clock
↳ threshold_reasonjsonDetails about why the invoice was created
↳ totalnumberTotal after discounts and taxes
↳ total_discount_amountsarrayTotal discount amounts
↳ total_excluding_taxnumberTotal excluding tax
↳ total_tax_amountsarrayTotal tax amounts
↳ transfer_datajsonData for creating transfers
↳ webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amount_duenumberAmount remaining to be paid in smallest currency unit
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Delete Invoice

Permanently delete a draft invoice

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesInvoice ID (e.g., in_1234567890)

Output

ParameterTypeDescription
deletedbooleanWhether the invoice was deleted
idstringThe ID of the deleted invoice

Stripe Finalize Invoice

Finalize a draft invoice

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesInvoice ID (e.g., in_1234567890)
auto_advancebooleanNoAuto-advance the invoice

Output

ParameterTypeDescription
invoiceobjectThe finalized invoice object
↳ idstringUnique identifier for the invoice
↳ objectstringString representing the object type (invoice)
↳ account_countrystringCountry of the business associated with this invoice
↳ account_namestringName of the account associated with this invoice
↳ account_tax_idsarrayAccount tax IDs
↳ amount_duenumberFinal amount due in smallest currency unit
↳ amount_paidnumberAmount paid in smallest currency unit
↳ amount_remainingnumberAmount remaining in smallest currency unit
↳ amount_shippingnumberShipping amount in smallest currency unit
↳ applicationstringID of the Connect application that created the invoice
↳ application_fee_amountnumberApplication fee amount
↳ attempt_countnumberNumber of payment attempts made
↳ attemptedbooleanWhether an attempt has been made to pay the invoice
↳ auto_advancebooleanControls whether Stripe performs automatic collection
↳ automatic_taxjsonSettings and results for automatic tax lookup
↳ billing_reasonstringReason the invoice was created
↳ chargestringID of the latest charge for this invoice
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the invoice was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ custom_fieldsarrayCustom fields displayed on the invoice
↳ customerstringID of the customer who will be billed
↳ customer_addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_emailstringEmail of the customer
↳ customer_namestringName of the customer
↳ customer_phonestringPhone number of the customer
↳ customer_shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_tax_exemptstringTax exemption status of the customer
↳ customer_tax_idsarrayCustomer tax IDs
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringDescription displayed in Dashboard (memo)
↳ discountjsonDiscount applied to the invoice
↳ discountsarrayDiscounts applied to the invoice
↳ due_datenumberUnix timestamp when payment is due
↳ effective_atnumberWhen the invoice was effective
↳ ending_balancenumberEnding customer balance after invoice is finalized
↳ footerstringFooter displayed on the invoice
↳ from_invoicejsonDetails of the invoice that this invoice was created from
↳ hosted_invoice_urlstringURL for the hosted invoice page
↳ invoice_pdfstringURL for the invoice PDF
↳ issuerjsonThe connected account that issues the invoice
↳ last_finalization_errorjsonError encountered during finalization
↳ latest_revisionstringID of the most recent revision
↳ linesobjectInvoice line items
↳ idstringUnique identifier for the line item
↳ objectstringString representing the object type (line_item)
↳ amountnumberAmount in smallest currency unit
↳ amount_excluding_taxnumberAmount excluding tax
↳ currencystringThree-letter ISO currency code (lowercase)
↳ descriptionstringDescription of the line item
↳ discount_amountsarrayDiscount amounts applied
↳ discountablebooleanWhether the line item is discountable
↳ discountsarrayDiscounts applied to the line item
↳ invoicestringID of the invoice that contains this line item
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ periodjsonPeriod this line item covers
↳ pricejsonPrice object for this line item
↳ prorationbooleanWhether this is a proration
↳ proration_detailsjsonAdditional details for proration line items
↳ quantitynumberQuantity of the item
↳ subscriptionstringID of the subscription
↳ subscription_itemstringID of the subscription item
↳ tax_amountsarrayTax amounts for this line item
↳ tax_ratesarrayTax rates applied
↳ typestringType of line item (invoiceitem or subscription)
↳ unit_amount_excluding_taxstringUnit amount excluding tax
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_payment_attemptnumberUnix timestamp of next payment attempt
↳ numberstringHuman-readable invoice number
↳ on_behalf_ofstringAccount on behalf of which the invoice was issued
↳ paidbooleanWhether payment was successfully collected
↳ paid_out_of_bandbooleanWhether the invoice was paid out of band
↳ payment_intentstringID of the PaymentIntent associated with the invoice
↳ payment_settingsjsonConfiguration settings for payment collection
↳ period_endnumberEnd of the usage period
↳ period_startnumberStart of the usage period
↳ post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
↳ pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
↳ quotestringID of the quote this invoice was generated from
↳ receipt_numberstringReceipt number for the invoice
↳ renderingjsonInvoice rendering options
↳ rendering_optionsjsonInvoice rendering options (deprecated)
↳ shipping_costjsonShipping cost information
↳ shipping_detailsobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ starting_balancenumberStarting customer balance before invoice
↳ statement_descriptorstringStatement descriptor
↳ statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
↳ status_transitionsjsonTimestamps at which the invoice status was updated
↳ subscriptionstringID of the subscription for this invoice
↳ subscription_detailsjsonDetails about the subscription
↳ subscription_proration_datenumberOnly set for upcoming invoices with proration
↳ subtotalnumberTotal before discounts and taxes
↳ subtotal_excluding_taxnumberSubtotal excluding tax
↳ taxnumberTotal tax amount
↳ test_clockstringID of the test clock
↳ threshold_reasonjsonDetails about why the invoice was created
↳ totalnumberTotal after discounts and taxes
↳ total_discount_amountsarrayTotal discount amounts
↳ total_excluding_taxnumberTotal excluding tax
↳ total_tax_amountsarrayTotal tax amounts
↳ transfer_datajsonData for creating transfers
↳ webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amount_duenumberAmount remaining to be paid in smallest currency unit
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Pay Invoice

Pay an invoice

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesInvoice ID (e.g., in_1234567890)
paid_out_of_bandbooleanNoMark invoice as paid out of band

Output

ParameterTypeDescription
invoiceobjectThe paid invoice object
↳ idstringUnique identifier for the invoice
↳ objectstringString representing the object type (invoice)
↳ account_countrystringCountry of the business associated with this invoice
↳ account_namestringName of the account associated with this invoice
↳ account_tax_idsarrayAccount tax IDs
↳ amount_duenumberFinal amount due in smallest currency unit
↳ amount_paidnumberAmount paid in smallest currency unit
↳ amount_remainingnumberAmount remaining in smallest currency unit
↳ amount_shippingnumberShipping amount in smallest currency unit
↳ applicationstringID of the Connect application that created the invoice
↳ application_fee_amountnumberApplication fee amount
↳ attempt_countnumberNumber of payment attempts made
↳ attemptedbooleanWhether an attempt has been made to pay the invoice
↳ auto_advancebooleanControls whether Stripe performs automatic collection
↳ automatic_taxjsonSettings and results for automatic tax lookup
↳ billing_reasonstringReason the invoice was created
↳ chargestringID of the latest charge for this invoice
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the invoice was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ custom_fieldsarrayCustom fields displayed on the invoice
↳ customerstringID of the customer who will be billed
↳ customer_addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_emailstringEmail of the customer
↳ customer_namestringName of the customer
↳ customer_phonestringPhone number of the customer
↳ customer_shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_tax_exemptstringTax exemption status of the customer
↳ customer_tax_idsarrayCustomer tax IDs
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringDescription displayed in Dashboard (memo)
↳ discountjsonDiscount applied to the invoice
↳ discountsarrayDiscounts applied to the invoice
↳ due_datenumberUnix timestamp when payment is due
↳ effective_atnumberWhen the invoice was effective
↳ ending_balancenumberEnding customer balance after invoice is finalized
↳ footerstringFooter displayed on the invoice
↳ from_invoicejsonDetails of the invoice that this invoice was created from
↳ hosted_invoice_urlstringURL for the hosted invoice page
↳ invoice_pdfstringURL for the invoice PDF
↳ issuerjsonThe connected account that issues the invoice
↳ last_finalization_errorjsonError encountered during finalization
↳ latest_revisionstringID of the most recent revision
↳ linesobjectInvoice line items
↳ idstringUnique identifier for the line item
↳ objectstringString representing the object type (line_item)
↳ amountnumberAmount in smallest currency unit
↳ amount_excluding_taxnumberAmount excluding tax
↳ currencystringThree-letter ISO currency code (lowercase)
↳ descriptionstringDescription of the line item
↳ discount_amountsarrayDiscount amounts applied
↳ discountablebooleanWhether the line item is discountable
↳ discountsarrayDiscounts applied to the line item
↳ invoicestringID of the invoice that contains this line item
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ periodjsonPeriod this line item covers
↳ pricejsonPrice object for this line item
↳ prorationbooleanWhether this is a proration
↳ proration_detailsjsonAdditional details for proration line items
↳ quantitynumberQuantity of the item
↳ subscriptionstringID of the subscription
↳ subscription_itemstringID of the subscription item
↳ tax_amountsarrayTax amounts for this line item
↳ tax_ratesarrayTax rates applied
↳ typestringType of line item (invoiceitem or subscription)
↳ unit_amount_excluding_taxstringUnit amount excluding tax
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_payment_attemptnumberUnix timestamp of next payment attempt
↳ numberstringHuman-readable invoice number
↳ on_behalf_ofstringAccount on behalf of which the invoice was issued
↳ paidbooleanWhether payment was successfully collected
↳ paid_out_of_bandbooleanWhether the invoice was paid out of band
↳ payment_intentstringID of the PaymentIntent associated with the invoice
↳ payment_settingsjsonConfiguration settings for payment collection
↳ period_endnumberEnd of the usage period
↳ period_startnumberStart of the usage period
↳ post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
↳ pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
↳ quotestringID of the quote this invoice was generated from
↳ receipt_numberstringReceipt number for the invoice
↳ renderingjsonInvoice rendering options
↳ rendering_optionsjsonInvoice rendering options (deprecated)
↳ shipping_costjsonShipping cost information
↳ shipping_detailsobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ starting_balancenumberStarting customer balance before invoice
↳ statement_descriptorstringStatement descriptor
↳ statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
↳ status_transitionsjsonTimestamps at which the invoice status was updated
↳ subscriptionstringID of the subscription for this invoice
↳ subscription_detailsjsonDetails about the subscription
↳ subscription_proration_datenumberOnly set for upcoming invoices with proration
↳ subtotalnumberTotal before discounts and taxes
↳ subtotal_excluding_taxnumberSubtotal excluding tax
↳ taxnumberTotal tax amount
↳ test_clockstringID of the test clock
↳ threshold_reasonjsonDetails about why the invoice was created
↳ totalnumberTotal after discounts and taxes
↳ total_discount_amountsarrayTotal discount amounts
↳ total_excluding_taxnumberTotal excluding tax
↳ total_tax_amountsarrayTotal tax amounts
↳ transfer_datajsonData for creating transfers
↳ webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amount_duenumberAmount remaining to be paid in smallest currency unit
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Void Invoice

Void an invoice

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesInvoice ID (e.g., in_1234567890)

Output

ParameterTypeDescription
invoiceobjectThe voided invoice object
↳ idstringUnique identifier for the invoice
↳ objectstringString representing the object type (invoice)
↳ account_countrystringCountry of the business associated with this invoice
↳ account_namestringName of the account associated with this invoice
↳ account_tax_idsarrayAccount tax IDs
↳ amount_duenumberFinal amount due in smallest currency unit
↳ amount_paidnumberAmount paid in smallest currency unit
↳ amount_remainingnumberAmount remaining in smallest currency unit
↳ amount_shippingnumberShipping amount in smallest currency unit
↳ applicationstringID of the Connect application that created the invoice
↳ application_fee_amountnumberApplication fee amount
↳ attempt_countnumberNumber of payment attempts made
↳ attemptedbooleanWhether an attempt has been made to pay the invoice
↳ auto_advancebooleanControls whether Stripe performs automatic collection
↳ automatic_taxjsonSettings and results for automatic tax lookup
↳ billing_reasonstringReason the invoice was created
↳ chargestringID of the latest charge for this invoice
↳ collection_methodstringCollection method (charge_automatically or send_invoice)
↳ creatednumberUnix timestamp when the invoice was created
↳ currencystringThree-letter ISO currency code (lowercase)
↳ custom_fieldsarrayCustom fields displayed on the invoice
↳ customerstringID of the customer who will be billed
↳ customer_addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_emailstringEmail of the customer
↳ customer_namestringName of the customer
↳ customer_phonestringPhone number of the customer
↳ customer_shippingobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ customer_tax_exemptstringTax exemption status of the customer
↳ customer_tax_idsarrayCustomer tax IDs
↳ default_payment_methodstringID of the default payment method
↳ default_sourcestringID of the default source
↳ default_tax_ratesarrayDefault tax rates
↳ descriptionstringDescription displayed in Dashboard (memo)
↳ discountjsonDiscount applied to the invoice
↳ discountsarrayDiscounts applied to the invoice
↳ due_datenumberUnix timestamp when payment is due
↳ effective_atnumberWhen the invoice was effective
↳ ending_balancenumberEnding customer balance after invoice is finalized
↳ footerstringFooter displayed on the invoice
↳ from_invoicejsonDetails of the invoice that this invoice was created from
↳ hosted_invoice_urlstringURL for the hosted invoice page
↳ invoice_pdfstringURL for the invoice PDF
↳ issuerjsonThe connected account that issues the invoice
↳ last_finalization_errorjsonError encountered during finalization
↳ latest_revisionstringID of the most recent revision
↳ linesobjectInvoice line items
↳ idstringUnique identifier for the line item
↳ objectstringString representing the object type (line_item)
↳ amountnumberAmount in smallest currency unit
↳ amount_excluding_taxnumberAmount excluding tax
↳ currencystringThree-letter ISO currency code (lowercase)
↳ descriptionstringDescription of the line item
↳ discount_amountsarrayDiscount amounts applied
↳ discountablebooleanWhether the line item is discountable
↳ discountsarrayDiscounts applied to the line item
↳ invoicestringID of the invoice that contains this line item
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ periodjsonPeriod this line item covers
↳ pricejsonPrice object for this line item
↳ prorationbooleanWhether this is a proration
↳ proration_detailsjsonAdditional details for proration line items
↳ quantitynumberQuantity of the item
↳ subscriptionstringID of the subscription
↳ subscription_itemstringID of the subscription item
↳ tax_amountsarrayTax amounts for this line item
↳ tax_ratesarrayTax rates applied
↳ typestringType of line item (invoiceitem or subscription)
↳ unit_amount_excluding_taxstringUnit amount excluding tax
↳ livemodebooleanWhether object exists in live mode or test mode
↳ metadatajsonSet of key-value pairs for storing additional information
↳ next_payment_attemptnumberUnix timestamp of next payment attempt
↳ numberstringHuman-readable invoice number
↳ on_behalf_ofstringAccount on behalf of which the invoice was issued
↳ paidbooleanWhether payment was successfully collected
↳ paid_out_of_bandbooleanWhether the invoice was paid out of band
↳ payment_intentstringID of the PaymentIntent associated with the invoice
↳ payment_settingsjsonConfiguration settings for payment collection
↳ period_endnumberEnd of the usage period
↳ period_startnumberStart of the usage period
↳ post_payment_credit_notes_amountnumberTotal of all post-payment credit notes
↳ pre_payment_credit_notes_amountnumberTotal of all pre-payment credit notes
↳ quotestringID of the quote this invoice was generated from
↳ receipt_numberstringReceipt number for the invoice
↳ renderingjsonInvoice rendering options
↳ rendering_optionsjsonInvoice rendering options (deprecated)
↳ shipping_costjsonShipping cost information
↳ shipping_detailsobjectShipping information
↳ namestringRecipient name
↳ phonestringRecipient phone number
↳ addressobjectAddress object
↳ line1stringAddress line 1 (street address)
↳ line2stringAddress line 2 (apartment, suite, etc.)
↳ citystringCity name
↳ statestringState, county, province, or region
↳ postal_codestringZIP or postal code
↳ countrystringTwo-letter country code (ISO 3166-1 alpha-2)
↳ starting_balancenumberStarting customer balance before invoice
↳ statement_descriptorstringStatement descriptor
↳ statusstringStatus of the invoice (draft, open, paid, uncollectible, void)
↳ status_transitionsjsonTimestamps at which the invoice status was updated
↳ subscriptionstringID of the subscription for this invoice
↳ subscription_detailsjsonDetails about the subscription
↳ subscription_proration_datenumberOnly set for upcoming invoices with proration
↳ subtotalnumberTotal before discounts and taxes
↳ subtotal_excluding_taxnumberSubtotal excluding tax
↳ taxnumberTotal tax amount
↳ test_clockstringID of the test clock
↳ threshold_reasonjsonDetails about why the invoice was created
↳ totalnumberTotal after discounts and taxes
↳ total_discount_amountsarrayTotal discount amounts
↳ total_excluding_taxnumberTotal excluding tax
↳ total_tax_amountsarrayTotal tax amounts
↳ transfer_datajsonData for creating transfers
↳ webhooks_delivered_atnumberUnix timestamp of webhooks delivery
metadatajsonInvoice metadata
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amount_duenumberAmount remaining to be paid in smallest currency unit
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Send Invoice

Send an invoice to the customer

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesInvoice ID (e.g., in_1234567890)

Output

ParameterTypeDescription
invoicejsonThe sent invoice object
metadatajsonInvoice metadata
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amount_duenumberAmount remaining to be paid in smallest currency unit
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe List Invoices

List all invoices

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
limitnumberNoNumber of results to return (default 10, max 100)
customerstringNoFilter by customer ID
statusstringNoFilter by invoice status

Output

ParameterTypeDescription
invoicesjsonArray of invoice objects
metadatajsonList metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Search Invoices

Search for invoices using query syntax

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
querystringYesSearch query (e.g., "customer:'cus_1234567890'")
limitnumberNoNumber of results to return (default 10, max 100)

Output

ParameterTypeDescription
invoicesjsonArray of matching invoice objects
metadatajsonSearch metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Create Charge

Create a new charge to process a payment

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
amountnumberYesAmount in cents (e.g., 2000 for $20.00)
currencystringYesThree-letter ISO currency code (e.g., usd, eur)
customerstringNoCustomer ID to associate with this charge
sourcestringNoPayment source ID (e.g., card token or saved card ID)
descriptionstringNoDescription of the charge
metadatajsonNoSet of key-value pairs for storing additional information
capturebooleanNoWhether to immediately capture the charge (defaults to true)

Output

ParameterTypeDescription
chargejsonThe created Charge object
metadatajsonCharge metadata including ID, status, amount, currency, and paid status
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)
↳ paidbooleanWhether payment has been received

Stripe Retrieve Charge

Retrieve an existing charge by ID

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesCharge ID (e.g., ch_1234567890)

Output

ParameterTypeDescription
chargejsonThe retrieved Charge object
metadatajsonCharge metadata including ID, status, amount, currency, and paid status
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)
↳ paidbooleanWhether payment has been received

Stripe Update Charge

Update an existing charge

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesCharge ID (e.g., ch_1234567890)
descriptionstringNoUpdated description
metadatajsonNoUpdated metadata

Output

ParameterTypeDescription
chargejsonThe updated Charge object
metadatajsonCharge metadata including ID, status, amount, currency, and paid status
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)
↳ paidbooleanWhether payment has been received

Stripe Capture Charge

Capture an uncaptured charge

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesCharge ID (e.g., ch_1234567890)
amountnumberNoAmount to capture in cents (defaults to full amount)

Output

ParameterTypeDescription
chargejsonThe captured Charge object
metadatajsonCharge metadata including ID, status, amount, currency, and paid status
↳ idstringStripe unique identifier
↳ statusstringCurrent state of the resource
↳ amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)
↳ paidbooleanWhether payment has been received

Stripe List Charges

List all charges

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
limitnumberNoNumber of results to return (default 10, max 100)
customerstringNoFilter by customer ID
createdjsonNoFilter by creation date (e.g., {"gt": 1633024800})

Output

ParameterTypeDescription
chargesjsonArray of Charge objects
metadatajsonList metadata including count and has_more
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Search Charges

Search for charges using query syntax

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
querystringYesSearch query (e.g., "status:'succeeded' AND currency:'usd'")
limitnumberNoNumber of results to return (default 10, max 100)

Output

ParameterTypeDescription
chargesjsonArray of matching Charge objects
metadatajsonSearch metadata including count and has_more
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Create Product

Create a new product object

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
namestringYesProduct name
descriptionstringNoProduct description
activebooleanNoWhether the product is active
imagesjsonNoArray of image URLs for the product
metadatajsonNoSet of key-value pairs

Output

ParameterTypeDescription
productjsonThe created product object
metadatajsonProduct metadata
↳ idstringStripe unique identifier
↳ namestringDisplay name
↳ activebooleanWhether the resource is currently active

Stripe Retrieve Product

Retrieve an existing product by ID

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesProduct ID (e.g., prod_1234567890)

Output

ParameterTypeDescription
productjsonThe retrieved product object
metadatajsonProduct metadata
↳ idstringStripe unique identifier
↳ namestringDisplay name
↳ activebooleanWhether the resource is currently active

Stripe Update Product

Update an existing product

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesProduct ID (e.g., prod_1234567890)
namestringNoUpdated product name
descriptionstringNoUpdated product description
activebooleanNoUpdated active status
imagesjsonNoUpdated array of image URLs
metadatajsonNoUpdated metadata

Output

ParameterTypeDescription
productjsonThe updated product object
metadatajsonProduct metadata
↳ idstringStripe unique identifier
↳ namestringDisplay name
↳ activebooleanWhether the resource is currently active

Stripe Delete Product

Permanently delete a product

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesProduct ID (e.g., prod_1234567890)

Output

ParameterTypeDescription
deletedbooleanWhether the product was deleted
idstringThe ID of the deleted product

Stripe List Products

List all products

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
limitnumberNoNumber of results to return (default 10, max 100)
activebooleanNoFilter by active status

Output

ParameterTypeDescription
productsjsonArray of product objects
metadatajsonList metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Search Products

Search for products using query syntax

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
querystringYesSearch query (e.g., "name:'shirt'")
limitnumberNoNumber of results to return (default 10, max 100)

Output

ParameterTypeDescription
productsjsonArray of matching product objects
metadatajsonSearch metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Create Price

Create a new price for a product

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
productstringYesProduct ID (e.g., prod_1234567890)
currencystringYesThree-letter ISO currency code (e.g., usd, eur)
unit_amountnumberNoAmount in cents (e.g., 1000 for $10.00)
recurringjsonNoRecurring billing configuration (interval: day/week/month/year)
metadatajsonNoSet of key-value pairs
billing_schemestringNoBilling scheme (per_unit or tiered)

Output

ParameterTypeDescription
pricejsonThe created price object
metadatajsonPrice metadata
↳ idstringStripe unique identifier
↳ productstringAssociated product ID
↳ unit_amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Retrieve Price

Retrieve an existing price by ID

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesPrice ID (e.g., price_1234567890)

Output

ParameterTypeDescription
pricejsonThe retrieved price object
metadatajsonPrice metadata
↳ idstringStripe unique identifier
↳ productstringAssociated product ID
↳ unit_amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe Update Price

Update an existing price

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesPrice ID (e.g., price_1234567890)
activebooleanNoWhether the price is active
metadatajsonNoUpdated metadata

Output

ParameterTypeDescription
pricejsonThe updated price object
metadatajsonPrice metadata
↳ idstringStripe unique identifier
↳ productstringAssociated product ID
↳ unit_amountnumberAmount in smallest currency unit (e.g., cents)
↳ currencystringThree-letter ISO currency code (lowercase)

Stripe List Prices

List all prices

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
limitnumberNoNumber of results to return (default 10, max 100)
productstringNoFilter by product ID
activebooleanNoFilter by active status

Output

ParameterTypeDescription
pricesjsonArray of price objects
metadatajsonList metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Search Prices

Search for prices using query syntax

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
querystringYesSearch query (e.g., "active:'true' AND currency:'usd'")
limitnumberNoNumber of results to return (default 10, max 100)

Output

ParameterTypeDescription
pricesjsonArray of matching price objects
metadatajsonSearch metadata
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Stripe Retrieve Event

Retrieve an existing Event by ID

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
idstringYesEvent ID (e.g., evt_1234567890)

Output

ParameterTypeDescription
eventjsonThe retrieved Event object
metadatajsonEvent metadata including ID, type, and created timestamp
↳ idstringStripe unique identifier
↳ typestringEvent type identifier
↳ creatednumberUnix timestamp of creation

Stripe List Events

List all Events

Input

ParameterTypeRequiredDescription
apiKeystringYesStripe API key (secret key)
limitnumberNoNumber of results to return (default 10, max 100)
typestringNoFilter by event type (e.g., payment_intent.created)
createdjsonNoFilter by creation date (e.g., {"gt": 1633024800})

Output

ParameterTypeDescription
eventsjsonArray of Event objects
metadatajsonList metadata including count and has_more
↳ countnumberNumber of items returned
↳ has_morebooleanWhether more items exist beyond this page

Triggers

A Trigger is a block that starts a workflow when an event happens in this service.

Stripe Webhook

Triggers when Stripe events occur (payments, subscriptions, invoices, etc.)

Configuration

ParameterTypeRequiredDescription
eventTypesstringNoSelect specific Stripe events to filter. Leave empty to receive all events from Stripe.
webhookSecretstringNoYour webhook signing secret from Stripe Dashboard. Used to verify webhook authenticity.

Output

ParameterTypeDescription
idstringUnique identifier for the event
typestringEvent type (e.g., payment_intent.succeeded, customer.created, invoice.paid)
objectstringAlways "event"
api_versionstringStripe API version used to render the event
creatednumberUnix timestamp when the event was created
datajsonEvent data containing the affected Stripe object. Structure varies by event type - access via data.object for the resource (PaymentIntent, Customer, Invoice, etc.)
livemodebooleanWhether this event occurred in live mode (true) or test mode (false)
pending_webhooksnumberNumber of webhooks yet to be delivered for this event
requestjsonInformation about the API request that triggered this event (id, idempotency_key)