Stripe

The Stripe modules enable you to create charges, customers, events, refunds, payouts, balances, payment intents, invoices, and invoice items in your Stripe account.

Getting Started with Stripe

Prerequisites

  • A Stripe account 

In order to use Stripe with Integromat, it is necessary to have a Stripe account. If you do not have one, you can create a Stripe account at www.stripe.com.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting Stripe to Integromat

To connect your Stripe account to Integromat you need to obtain the API Key from your Stripe account and insert it in the Create a connection dialog in the Integromat module.

1. Log in to your Stripe account.

2. From the Dashboard, click Get your live API keys > Reveal Secret Key. For reference, test API Keys example is shown here.

ZzO0p9a2VQ.gif

3. Copy the Secret Key to your clipboard.

stripe3.png

4. Go to Integromat and open the Stripe module's Create a connection dialog.

vA47y5XxoN.gif

5. In the Connection name field, enter a name for the connection.

6. In the API Key field, enter the API copied in step 3, and click Continue.

The connection has been established. 

Triggers

You do not have to add the webhooks in the Stripe as it is automatically done for you once you add and save an instant trigger module to your scenario.

Watch Events

Triggers when a given event occurs.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your Stripe account.
GroupSelect the group and the events which you want to watch.
ConnectSelect the checkbox if you want this endpoint should receive events from connected accounts (true), or from your account (false).
Force different API VersionEnter the version of the API to which events to be sent that this endpoint will be generated with this Stripe Version instead of your account’s default Stripe Version.

Universal

Make an API Call

Performs an arbitrary authorized API call.

ConnectionEstablish a connection to your Stripe account.
URL

Enter a path relative to https://api.stripe.com/. For example: /v1/charges

For the list of available endpoints, refer to the Stripe API Documentation.
Method

Select the HTTP method you want to use:

GET
to retrieve information for an entry.

POST
to create a new entry.

PUT
to update/replace an existing entry.

PATCH
to make a partial entry update.

DELETE
to delete an entry.

HeadersEnter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query StringEnter the request query string.
BodyEnter the body content for your API call.

Example of Use - List Events

The following API call returns all the events from your Stripe account:

URL:
/v1/events

Method:
GET

stripe2.png

Matches of the search can be found in the module's Output under BundleBody > data
In our example, 10 events were returned:

stripe1.png

Payment Intents

List Payment Intents

Retrieves a list of payment intents or filters by customer ID.

ConnectionEstablish a connection to your Stripe account.
Customer IDEnter the Customer ID whose payment intents you want to list. You can search the customer using their email address.
LimitSet the maximum number of payment intents Integromat should return during one scenario execution cycle.

Create a Payment Intent

Creates a Payment Intent.

ConnectionEstablish a connection to your Stripe account.
AmountEnter the amount to be collected by this Payment Intent. A positive integer representing how much to charge in the smallest currency unit. For example, 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency.
The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits. For example, a value of 99999999 for a USD charge of $999,999.99.
CurrencyEnter the three-digit currency applicable for the payment intent.
DescriptionEnter the details of the payment intent.
Receipt EmailEnter the email address to which the payment intent recipient should be sent to.
Confirm this Payment Intent immediatelySelect whether you want to confirm the payment intent immediately.
Payment Method TypesSelect the payment methods for this payment intent.
Customer IDSelect the Customer ID to whom this payment intent receipt should go to.
Payment MethodSelect the payment method:
  • Choose an existing Payment Method
  • Create a Payment Method and attach it to this Payment Intent
Line 1Enter the recipient's street address.
Line 2Enter the recipient's street address.
Postal CodeEnter the recipient's area postal code.
CityEnter the recipient's city name.
StateEnter the recipient's state name.
Country CodeEnter the recipient's country code.
Recipient NameEnter the recipient's name.
Carrier Enter the courier service name. For example, FedEx.
PhoneEnter the recipient's phone number.
Tracking NumberEnter the courier tracking number.
Statement DescriptorEnter the details of the payment intent.
For non-card charges, you can use this value as the complete description that appears on your customers’ statements.
A maximum of 22 characters is allowed.
Statement Descriptor SuffixEnter the statement details that appear on the customer's statement. 
Concatenated with the statement descriptor prefix and statement descriptor to form the complete statement descriptor. 
A maximum of 22 characters is allowed.
Idempotency KeyEnter the ID that you associate with the cart or customer session in your application - when creating the Payment Intent to avoid erroneously creating duplicate Payment Intents for the same purchase.
Capture MethodSelect the payment intent capture method:
  • Automatic
  • Manual
Confirmation MethodSelect the payment intent confirmation method:
  • Automatic
  • Manual
Use Stripe SDKSelect whether you want to Stripe SDK for sending a confirmation about the payment intent. 
This is applicable only for Stripe Connect and only when using iOS or Android SDKs to handle additional authentication steps.
Transfer GroupEnter the transfer group associated with the payment intent. This field is only applicable if you are using Stripe Connect.
Application Fee AmountEnter the application fee amount for the payment intent.
This is applicable for Stripe Connect Only. For more information, see the Payment Intents use case for connected accounts.
On Behalf OfEnter the Stripe Account ID to whom the payment intent belongs.
This field is for Stripe Connect Only. For more information, see the Payment Intents use case for connected accounts.
DestinationEnter the destination account details.
AmountEnter the amount of this payment intent to send to the destination account.
MetadataEnter a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

Retrieve a Payment Intent

Retrieves the details of a Payment Intent that has previously been created.

ConnectionEstablish a connection to your Stripe account.
Payment Intent IDSelect the Payment Intent ID whose details you want to retrieve. You can find the Payment Intent ID on the Payments page.

Confirm a Payment Intent

Confirms a payment intent by its ID. Upon confirmation, the payment intent will attempt to initiate a payment.

ConnectionEstablish a connection to your Stripe account.
Payment Intent IDSelect the Payment Intent ID whose details you want to retrieve. You can find the Payment Intent ID on the Payments page.
Receipt EmailEnter the email address to which the payment intent recipient should be sent to.
Payment MethodSelect the payment method option to attach to this Payment Intent:
  • Choose an existing payment method
  • Create a Payment Method and attach it to this Payment Intent
Payment Method IDSelect the Payment Method ID to attach to the payment intent.
Setup Future UsageProviding this parameter will attach the payment method to the Payment Intent’s Customer if present, after the Payment Intent, is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.
TypeSelect the payment method. For example, Alipay.
Line 1Enter the recipient's billing street address.
Line 2Enter the recipient's billing street address.
Postal CodeEnter the recipient's area postal code.
CityEnter the recipient's city name.
State Enter the recipient's state name.
Country CodeEnter the recipient's country code.
EmailEnter the billing address contact's email address.
NameEnter the billing address contact's name.
PhoneEnter the billing address phone number.
MetadataAdd a set of Key-Pair values for the payment intent.
Line 1Enter the recipient's shipping street address.
Line 2Enter the recipient's street address.
Postal CodeEnter the recipient's area postal code.
CityEnter the recipient's city name.
StateEnter the recipient's state name.
Country CodeEnter the recipient's country code.
Recipient NameEnter the recipient's name.
CarrierEnter the courier service name. For example, FedEx.
Phone Enter the recipient's phone number.
Tracking NumberEnter the courier tracking number.
Payment Method TypesSelect the payment methods for this payment intent. For example, card, SOFORT.
Preferred LanguagesSelect the preferred language for the Bancontact payment method.
EnabledSelect whether the payment installation configuration is enabled for this payment intent. This applies only to Mexico Only. For more information, see the installments integration guide.
NetworkSelect the payment network. For example, American Express.
Request 3D SecureSelect the option for 3D secure payment:
  • Automatics
  • Any

Stripe strongly recommends that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your fraud engine, provide this option. Read the guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and the SCA Engine.

Preferred LanguageSelect the preferred language for the SOFORT payment method.
Off SessionSelect whether the customer is not in your checkout flow during this payment attempt, and therefore is unable to authenticate. This parameter is intended for scenarios where you collect card details and charge them later.
Error On Requires Act-OnSelect whether to fail the payment attempt if the Payment Intent transitions into requires action. This parameter is intended for simpler integrations that do not handle customer actions, like saving cards without authentication.
MandateSelect an option to mandate the payment intent:
  • Input an Existing Mandate ID
  • Create a Mandate
Mandate IDEnter the Mandate ID to be used for this payment only. The ID is your account's secret key.
TypeSelect the mandate type:
  • Offline
  • Online
IP AddressEnter the IP address from which the Mandate was accepted by the customer.
User AgentEnter the user agent of the browser from which the Mandate was accepted by the customer.
Accepted AtEnter the time at which the customer has accepted the mandate.
Return URLEnter the URL address to redirect the customer back to after they authenticate or cancel their payment on the payment method’s app or site. If you prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.

Capture a Payment Intent

Captures an existing uncaptured payment intent by its ID.

ConnectionEstablish a connection to your Stripe account.
Payment Intent IDEnter the Payment Intent ID you want to capture. You can search for the payment Intent ID using Customer ID.
Amount to CaptureEnter the amount to capture from the Payment Intent. The amount must be less than or equal to the original amount. Any additional amount will be automatically refunded. Defaults to the full amount_capturable if not provided.
Statement DescriptorEnter the details of the payment intent that appears on the card statement.
For non-card charges, you can use this value as the complete description that appears on your customers’ statements. The description must be at most 22 characters long.
Statement Descriptor Suffix
Enter the details of the payment intent that appears on the card statement.
For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must be at most 22 characters long.
Application Fee AmountEnter the amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner’s Stripe account. The amount of the application fee collected will be capped at the total payment amount.
This is applicable for Stripe Connect only. For more information, see the Payment Intents use case for connected accounts.
AmountThe amount that will be transferred automatically when a charge succeeds. The amount is capped at the total transaction amount and if no amount is set, the full amount is transferred.

Update a Payment Intent

Updates the specified payment intent by setting the values of the parameters passed.

ConnectionEstablish a connection to your Stripe account.
Payment Intent IDSelect the Payment Intent ID whose details you want to retrieve. You can find the Payment Intent ID on the Payments page.
AmountEnter the amount to charge in the smallest currency unit. For example, 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency. The minimum amount is $0.50 US or equivalent in charge currency.

The amount must be lower than or equal to 99999999.

Receipt EmailEnter the email address to which the payment intent recipient should be sent to.
Payment MethodSelect the payment method option to attach to this Payment Intent:
  • Choose an existing payment method
  • Create a Payment Method and attach it to this Payment Intent
Payment Method IDSelect the Payment Method ID to attach to the payment intent.
Setup Future UsageProviding this parameter will attach the payment method to the Payment Intent’s Customer if present, after the Payment Intent, is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be attached to a Customer after the transaction completes.
Type

Select the payment method. For example, Alipay.

Line 1

Enter the recipient's billing street address

Line 2Enter the recipient's billing street address.
Postal CodeEnter the recipient's area postal code.
CityEnter the recipient's city name.
State Enter the recipient's state name.
Country CodeEnter the recipient's country code.
EmailEnter the billing address contact's email address.
NameEnter the billing address contact's name.
PhoneEnter the billing address phone number.
MetadataAdd a set of Key-Pair values for the payment intent.
Line 1Enter the recipient's shipping street address.
Line 2Enter the recipient's street address.
Postal CodeEnter the recipient's area postal code.
CityEnter the recipient's city name.
StateEnter the recipient's state name.
Country CodeEnter the recipient's country code.
Recipient NameEnter the recipient's name.
CarrierEnter the courier service name. For example, FedEx.
Phone Enter the recipient's phone number.
Tracking NumberEnter the courier tracking number.
Payment Method TypesSelect the payment methods for this payment intent. For example, cardSOFORT.
Preferred LanguagesSelect the preferred language for the Bancontact payment method.
EnabledSelect whether the payment installation configuration is enabled for this payment intent. This applies only to Mexico Only. For more information, see the installments integration guide.
NetworkSelect the payment network. For example, American Express.
Request 3D SecureSelect the option for 3D secure payment:
  • Automatics
  • Any

Stripe strongly recommends that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and other requirements. However, if you wish to request 3D Secure based on logic from your fraud engine, provide this option. Read the guide on manually requesting 3D Secure for more information on how this configuration interacts with Radar and the SCA Engine.

Preferred LanguageSelect the preferred language for the SOFORT payment method.
Off SessionSelect whether the customer is not in your checkout flow during this payment attempt, and therefore is unable to authenticate. This parameter is intended for scenarios where you collect card details and charge them later.
Error On Requires Act-OnSelect whether to fail the payment attempt if the Payment Intent transitions into requires action. This parameter is intended for simpler integrations that do not handle customer actions, like saving cards without authentication.
MandateSelect an option to mandate the payment intent:
  • Input an Existing Mandate ID
  • Create a Mandate
Mandate ID

Enter the Mandate ID to be used for this payment only. The ID is your account's secret key.

TypeSelect the mandate type:
  • Offline
  • Online
IP AddressEnter the IP address from which the Mandate was accepted by the customer.
User AgentEnter the user agent of the browser from which the mandate was accepted by the customer.
Accepted AtEnter the time at which the customer has accepted the mandate.
Return URLEnter the URL address to redirect the customer back to after they authenticate or cancel their payment on the payment method’s app or site. If you prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.

Capture a Payment Intent

Captures an existing uncaptured payment intent by its ID.

ConnectionEstablish a connection to your Stripe account.
Payment Intent IDEnter the Payment Intent ID you want to capture. You can search for the payment Intent ID using Customer ID.
Amount to CaptureEnter the amount to capture from the Payment Intent. The amount must be less than or equal to the original amount. Any additional amount will be automatically refunded. Defaults to the full amount_capturable if not provided.
Statement DescriptorEnter the details of the payment intent that appears on the card statement.
For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must be at most 22 characters long.
Statement Descriptor Suffix
Enter the details of the payment intent that appears on the card statement.
For non-card charges, you can use this value as the complete description that appears on your customers’ statements. Must be at most 22 characters long.
Application Fee AmountEnter the amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner’s Stripe account. The amount of the application fee collected will be capped at the total payment amount.
This is applicable for Stripe Connect only. For more information, see the Payment Intents use case for connected accounts.
AmountThe amount that will be transferred automatically when a charge succeeds. The amount is capped at the total transaction amount and if no amount is set, the full amount is transferred.

Cancel a Payment Intent

Cancels a payment intent by its ID. For Payment.

ConnectionEstablish a connection to your Stripe account.
Payment IntentEnter the Payment Intent ID you want to delete. You can search for the payment Intent ID using customer ID through their email address.

Customers

Search Customers

Retrieves a list of customers filtered by criteria.

ConnectionEstablish a connection to your Stripe account.
EmailEnter the customer's email address. 
FilterSelect the filters to search the customer based on the selected option. For example, created date
LimitSet the maximum number of customers Integromat should return during one scenario execution cycle.

List All Customers

Retrieves a list of customers.

ConnectionEstablish a connection to your Stripe account.
EmailEnter the email address to list the customers with the specified email. 
Created AtSelect the filters to search the customer based on the selected option. For example, before
TimestampEnter the date and time to list the customer created on, before, or after the specified time. 
LimitSet the maximum number of customers Integromat should return during one scenario execution cycle.

Create a Customer

Creates a new Customer object.

ConnectionEstablish a connection to your Stripe account.
DescriptionEnter the details of the customer.
EmailEnter the customer's email address. 
Name
Enter the customer's name.
PhoneEnter the customer's phone number 
Line 1Enter the customer's shipping street address.
Line 2Enter the customer's shipping street address.
Postal CodeEnter the customer's area postal code.
CityEnter the customer's city name.
StateEnter the customer's state name.
CountryEnter the customer's country name.
Name
Enter the contact's name at the shipping address.
PhoneEnter the shipping address contact phone number. 
Payment Method IDEnter the customer's Payment Method ID.
MetadataAdd a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
BalanceEnter an integer amount in paise/cents that represent the customer’s current balance. This amount affects the customer’s future invoices.
A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice.
Coupon IDEnter the customer's Coupon ID. If you provide a coupon code, the customer will have a discount applied on all recurring charges. Charges you create through the API will not have a discount.
Invoice PrefixEnter the prefix for the customer used to generate unique invoice numbers. The prefix must be 3–12 uppercase letters or numbers.
Custom FieldsAdd the custom fields and values for the customer. For example, Permanent Address.
Default Payment Method IDEnter the default Payment Method ID of the customer. This is used in customer's invoices.
FooterEnter the information that appears in the footer of the invoice.
Next Invoice SequenceEnter the sequence to be used on the customer's next invoice.
Preferred LocalesAdd the customer's preferred communication languages.
Promotion Code IDEnter the customer's Promotion Code ID used to avail discounts.
The customer will have a discount applied on all recurring payments. Charges created through the API will not have a discount.
Source IDEnter the Source ID from where the customer is registering with. 
When using payment sources created via the Token or Sources APIs, the passing source will create a new source object, make it the new customer default source, and delete the old customer default if one exists.
Tax ExemptSelect the tax exemption option applicable for the customer:
  • None
  • Exempt
  • Reverse
TAX ID Data

Add the customer's Tax ID data:

Type

Select the tax type. For example, EU-VAT.

Tax ID

Enter the customer's Tax ID.

Retrieve a Customer

Retrieves the details of an existing customer.

ConnectionEstablish a connection to your Stripe account.
Customer IDSelect the Customer ID whose details you want to retrieve.

Update a Customer

Updates a specified customer by setting the values of the parameters passed.

ConnectionEstablish a connection to your Stripe account.
Customer IDSelect the Customer ID whose details you want to update.

See the Create a Customer for field descriptions.

Delete a Customer

Permanently deletes a customer. It cannot be undone.

ConnectionEstablish a connection to your Stripe account.
Customer IDSelect the Customer ID you want to delete.

Refunds

List All Refunds

Returns a list of all refunds you've previously created.

ConnectionEstablish a connection to your Stripe account.
ChargeSelect the charge whose refunds you want to list.
LimitSet the maximum number of refunds Integromat should return during one scenario execution cycle.

Create a Refund

Creates a new refund.

ConnectionEstablish a connection to your Stripe account.
ChargeSelect the charge for which you want to create a refund.
AmountEnter the amount to be refunded. 
A positive integer in the smallest currency unit. For example, 100 cents to charge $1.00 or 100 to charge ¥100, a 0-decimal currency representing the amount to refund.
You can only refund up to the unrefunded amount remaining of the charge.
ReasonSelect the reason for the refund. For example, duplicate.
Refund Applicable FeeSelect whether the application fee should be refunded when refunding this charge. If a full charge refund is given, the full application fee will be refunded. Otherwise, the application fee will be refunded in an amount proportional to the amount of the charge refunded.
Reverse TransferSelect whether the transfer should be reversed when refunding this charge. The transfer will be reversed proportionally to the amount being refunded (either the entire or partial amount).
A transfer can be reversed only by the application that created the charge.
MetadataEnter a set of key-value pairs that you can attach to a Refund object. This can be useful for storing additional information about the refund in a structured format. You can unset individual keys if you POST an empty value for that key. You can clear all keys if you POST an empty value for metadata.

Retrieve a Refund

Retrieves the details of an existing 

ConnectionEstablish a connection to your Stripe account.
RefundEnter the refund identifier whose details you want to retrieve.

Update a Refund

Updates the specified payout by setting the values of the parameters passed.

ConnectionEstablish a connection to your Stripe account.
RefundSelect the charge for which you want to create a refund.
MetadataEnter a set of key-value pairs that you can attach to a Refund object. This can be useful for storing additional information about the refund in a structured format. You can unset individual keys if you POST an empty value for that key. You can clear all keys if you POST an empty value for metadata

Payouts

List All Payouts

Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you.

ConnectionEstablish a connection to your Stripe account.
DestinationThe ID of an external account - only return payouts sent to this external account.
Limit

Set the maximum number of payouts Integromat should return during one scenario execution cycle.

Enter a number between 1 and 1000.

Created AtSelect the filters to search the payouts based on the selected option. For example, before
TimestampEnter the date and time to list the payouts created on, before, or after the specified time. See the list of supported date and time formats.
Arrival DateSelect the filters to search the payouts based on the selected option. For example, before.
TimestampEnter the date and time to list the payouts created on, before, or after the specified time. See the list of supported date and time formats.
StatusSelect the status of the payout you want to list:
  • Pending
  • Paid
  • Failed
  • Canceled

Create a Payout

To send funds to your own bank account. you create a new payout object.

ConnectionEstablish a connection to your Stripe account.
AmountEnter the payout amount.
Enter a positive integer in the smallest currency unit. For example, 100 cents to charge $1.00 or 100 to charge ¥100, a 0-decimal currency representing how much to payout.
CurrencyEnter the three-character currency applicable for the payout. For example, USD.
DescriptionEnter the details of the payout.
MetadataEnter a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
MethodThe method used to send this payout:
  • Standard
  • Instant

The instant is only supported for payouts to debit cards.
For more information, see Instant payouts for marketplaces.

Source TypeSelect the source for payout. For example, Bank accountcardAlipay account.
Statement DescriptorEnter the information that appears on the customer's statement.

Cancel a Payout

Cancels a previously created payout.

ConnectionEstablish a connection to your Stripe account.
PayoutEnter the payout identifier you want to cancel.

Retrieve a Payout

Retrieves the details of an existing payout.

ConnectionEstablish a connection to your Stripe account.
PayoutEnter the payout identifier whose details you want to retrieve.

Update a Payout

Updates the specified payout by setting the values of the parameters passed.

ConnectionEstablish a connection to your Stripe account.
PayoutEnter the payout identifier you want to update.
MetadataEnter a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

Balance

Retrieve Balance

Retrieves the current account balance.

ConnectionEstablish a connection to your Stripe account.

List All Balance History

Returns a list of transactions that have contributed to the Stripe account balance.

ConnectionEstablish a connection to your Stripe account.
LimitSet the maximum number of balance histories Integromat should return during one scenario execution cycle.
CurrencyEnter the three-character currency code to list the balance history for the selected currency.
PayoutEnter the Payout ID whose balance history you want to list.
For automatic Stripe payouts only, it returns transactions that were paid out on the specified payout ID.
TypeSelect the option whose balance history you want to list. For example, charge.
Created AtSelect the filters to list the balance history based on the selected option. For example, before
Created TimestampEnter the date and time to list the balance history created on, before, or after the specified time. See the list of supported date and time formats.
AvailableSelect the filters to list the balance history based on the selected option. For example, before
Available TimestampEnter the date and time to list the balance history available on, before, or after the specified time. See the list of supported date and time formats.

Retrieve a Balance Transaction

Retrieves the balance transaction with the given ID.

ConnectionEstablish a connection to your Stripe account.
IDEnter the identifier of the balance transaction to be retrieved. Usually starts with txn_

Invoices

Search Invoices

Retrieves a list of invoices filtered by criteria.

ConnectionEstablish a connection to your Stripe account.
List BySelect the option to list the invoices:
  • Customer
  • Invoice
Customer IDEnter the Customer ID whose invoices you want to list.
Invoice IDEnter the Invoice ID whose details you want to list.
PendingSelect whether to list only the pending invoices.
FilterSelect the filters to list the invoices based on the selected option. For example, created date
LimitSet the maximum number of invoices Integromat should return during one scenario execution cycle.

List All Invoice Line Items

Retrieves a list of invoice line items by the invoice ID.

ConnectionEstablish a connection to your Stripe account.
Invoice IDEnter the Invoice ID whose line items you want to list.
LimitSet the maximum number of invoices Integromat should return during one scenario execution cycle.

Create an Invoice

Creates a new invoice by the customer ID.

ConnectionEstablish a connection to your Stripe account.
Customer IDSelect the Customer ID for whom invoice you want to create the invoice.
Auto AdvanceSelect whether you want Stripe to perform an automatic collection of the invoice. When left unselected, the invoice’s state will not automatically advance without explicit action.
Collection MethodSelect the option for invoice collection method:
  • Charge Automatically
  • Send Invoice
Days Until Due

Enter the number of days from when the invoice is created until it is due. Applicable only when the collection method is selected as Send Invoices.

Due Date

Enter the date on which the payment for the invoice is due. Applicable only when collection method is Send Invoices.

DescriptionEnter the invoice details.
Subscription IDEnter the Subscription ID of the invoice. If left blank, the created invoice will include all pending invoice items for the customer. If set, the created invoice will only include pending invoice items for that subscription and pending invoice items not associated with any subscription. The subscription’s billing cycle and regular subscription events won’t be affected.
MetadataEnter a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
Application Fee AmountEnter the application fee in cents that will be applied to the invoice and transferred to the application owner’s Stripe account. The request must be made with an OAuth key or the Stripe-Account header to take an application fee.
For more information, see the application fees documentation.
Custom Fields

Add the custom fields for the invoice:
Field Name

Enter the name of the custom field. You can enter a maximum of 30 characters.
Value

Enter the value of the custom field. You can enter a maximum of 30 characters.

Default Payment Method IDEnter the default payment method  ID for the invoice.
It must belong to the customer associated with the invoice. If not set, defaults to the subscription’s default payment method, if any, or to the default payment method in the customer’s invoice settings.
Default Tax Rates IDEnter the Default Tax Rate ID.
DiscountsAdd the discounts applicable for the invoice:
Coupon ID
Select the Coupon ID applicable for the invoice.
Discount ID
Enter an existing discount ID on the object (or one of its ancestors) to reuse.
FooterEnter the text that appears at the footer of the invoice.
Statement DescriptorEnter the text that appears in the customer's invoice statement. If not specified and this invoice is part of a subscription, the default statement_descriptor will be set to the first subscription item’s product’s statement_descriptor.
DestinationEnter the account to which the invoice amount to be transferred.
AmountEnter the amount to be transferred.

Retrieve an Invoice

Retrieves the details of an existing invoice with the given ID.

ConnectionEstablish a connection to your Stripe account.
Invoice IDSelect the Invoice ID whose details you want to retrieve.

Update an Invoice

Updates the specified invoice by setting the values of the parameters passed.

ConnectionEstablish a connection to your Stripe account.
Invoice IDSelect the Invoice ID whose details you want to update. You can search the invoices by Customer ID, Subscription ID, Status, and Collection Method
Auto AdvanceSelect whether you want Stripe to perform an automatic collection of the invoice. When left unselected, the invoice’s state will not automatically advance without explicit action.
Collection MethodSelect the option for invoice collection method:
  • Charge Automatically
  • Send Invoice
Days Until DueEnter the number of days from when the invoice is created until it is due. Applicable only when the collection method is selected as Send Invoices.
Due DateEnter the date on which the payment for the invoice is due. Applicable only when collection method is Send Invoices.
DescriptionEnter the invoice details.
Subscription IDEnter the Subscription ID of the invoice. If left blank, the created invoice will include all pending invoice items for the customer. If set, the created invoice will only include pending invoice items for that subscription and pending invoice items not associated with any subscription. The subscription’s billing cycle and regular subscription events won’t be affected.
MetadataEnter a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
Application Fee AmountEnter the application fee in cents that will be applied to the invoice and transferred to the application owner’s Stripe account. The request must be made with an OAuth key or the Stripe-Account header to take an application fee.
For more information, see the application fees documentation.
Custom Fields

Add the custom fields for the invoice:
Field Name

Enter the name of the custom field. You can enter a maximum of 30 characters.
Value

Enter the value of the custom field. You can enter a maximum of 30 characters.

Default Payment Method IDEnter the default payment method  ID for the invoice.
It must belong to the customer associated with the invoice. If not set, defaults to the subscription’s default payment method, if any, or to the default payment method in the customer’s invoice settings.
Default Tax Rates IDEnter the Default Tax Rate ID.
DiscountsAdd the discounts applicable for the invoice:
Coupon ID
Select the Coupon ID applicable for the invoice.
Discount ID
Enter an existing discount ID on the object (or one of its ancestors) to reuse.
FooterEnter the text that appears at the footer of the invoice.
Statement DescriptorEnter the text that appears in the customer's invoice statement. If not specified and this invoice is part of a subscription, the default statement_descriptor will be set to the first subscription item’s product’s statement_descriptor.
DestinationEnter the account to which the invoice amount to be transferred.
AmountEnter the amount to be transferred.

Finalize a Draft Invoice

Finalizes a draft invoice by its ID.

ConnectionEstablish a connection to your Stripe account.
Invoice IDSelect the draft Invoice ID you want to finalize.

Void an Invoice 

Voids a finalized invoice with the given ID. This cannot be undone.

ConnectionEstablish a connection to your Stripe account.
Invoice IDSelect the Invoice ID you want to void.

Delete a Draft Invoice

Permanently deletes a drat invoice. Use the Void an Invoice module for a finalized invoice.

ConnectionEstablish a connection to your Stripe account.
Invoice IDSelect the draft Invoice ID you want to delete.

Invoice Items

Search Invoice Items

Retrieves a list of invoice items filtered by criteria.

ConnectionEstablish a connection to your Stripe account.
List BySelect the option to list the invoice items:
  • Customer
  • Invoice
Customer IDEnter the Customer ID whose invoice items you want to list.
Invoice IDEnter the Invoice ID whose invoice items you want to list.
PendingSelect whether to list only the pending invoice items.
FilterSelect the filters to list the invoice items based on the selected option. For example, created date
LimitSet the maximum number of invoice items Integromat should return during one scenario execution cycle.

Create an Invoice Item

Creates a new invoice item to be added to a draft invoice.

ConnectionEstablish a connection to your Stripe account.
Customer IDEnter the Customer ID whose invoice item you want to create.
Input an AmountSelect the option to input the invoice amount:
  • By a Total Amount
  • By a Unit Amount and Quantity
  • By an Existing Price Object
AmountEnter the invoice item amount.
Enter the cents of the charge to be applied to the upcoming invoice. Passing in a negative amount will reduce the amount_due on the invoice.
Price ObjectSelect the price object option:
  • Input an Existing Price ID                        
  • Create a New Price Object
Product IDSelect the Product ID whose items invoice you are creating.
Price IDEnter the Price ID of the price object.
QuantityEnter the number of items to add to the invoice.
CurrencyEnter the three-character currency code applicable to the invoice. For example, USD.
DescriptionEnter the description of the invoice to display in the invoice for easy tracking.
StartEnter the start date of the time period for the invoice. See the list of supported date and time formats.
EndEnter the last of the time period for the invoice and it must be greater than or equal to the start. See the list of supported date and time formats.
MetadataEnter a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
DiscountableSelect whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items. Cannot be set to true for prorations.
Tax Rates IDEnter the tax rates which apply to the invoice item. When set, the default_tax_rates on the invoice does not apply to this invoice item. Pass an empty string to remove previously-defined tax rates.

Retrieve an Invoice Item

Retrieves the details of an existing invoice item with the given ID.

ConnectionEstablish a connection to your Stripe account.
Invoice Item IDEnter the Invoice Item ID whose details you want to retrieve.

Update an Invoice Item

Updates the specified invoice item by setting the values of the parameters passed.

ConnectionEstablish a connection to your Stripe account.
Invoice Item IDEnter the Invoice Item ID whose details you want to update.
Input an AmountEnter an amount in paise/cents of the charge to be applied to the upcoming invoice.
If you want to apply a credit to the customer’s account, pass a negative amount.
DescriptionEnter the description of the invoice to display in the invoice for easy tracking.
StartEnter the start date of the time period for the invoice. See the list of supported date and time formats.
EndEnter the last of the time period for the invoice and it must be greater than or equal to the start. See the list of supported date and time formats.
MetadataEnter a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
DiscountableSelect whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items. Cannot be set to true for prorations.
Tax Rates IDEnter the tax rates which apply to the invoice item. When set, the default_tax_rates on the invoice does not apply to this invoice item. Pass an empty string to remove previously-defined tax rates.

Delete an Invoice Item

Permanently deletes an invoice item that is not attached to invoices, or if it's attached to a draft invoice.

ConnectionEstablish a connection to your Stripe account.
Invoice Item IDEnter the Invoice Item ID you want to delete.

Charges

List All Charges

Returns a list of charges you've previously created. The changes are returned in sorted order, with the most recent charges appearing first.

ConnectionEstablish a connection to your Stripe account.
CustomerSelect the customer whose charges you want to list.
LimitSet the maximum number of charges Integromat should return during one scenario execution cycle.
Created AtSelect the filter for time and enter the timestamp for which you want to list the charges.
For example, if you select the filter as before and the date as 2021-11-02, then the charges before the date will be returned.
SourceSelect the source to list the charges based on the specified source.
Transfer GroupEnter the transfer group to list the charges related to the specified group. This field is only applicable if you are using Stripe Connect.

Create a Charge

Creates a charge.

ConnectionEstablish a connection to your Stripe account.
AmountEnter the amount to be charged.
CurrencyEnter a three-digit currency code applicable for the charge. For example, USD.
CaptureSelect whether or not to immediately capture the charge. When false, the charge issues an authorization (or pre-authorization) and will need to be captured later. Uncaptured charges expire in **7 days**. For more information, see authorizing charges and settling later.
DescriptionEnter the details of the charge.
CustomerEnter the ID of an existing customer who will be charged in this request.
SourceEnter a payment source to be charged. For example, this can be the ID of a credit card or debit card, a bank account, a source, a token, or a connected account. For certain sources—namely, cardsbank accounts, and attached sources—you must also pass the ID of the associated customer.

Capture a Charge

Capture the payment of an existing uncaptured charge.

ConnectionEstablish a connection to your Stripe account.
Charge to CaptureEnter the Charge ID you want to capture. You can find the charge details on your account's payment page.
AmountEnter the amount charged. A positive integer in the smallest currency unit, For example, 100 cents to charge $1.00 or 100 to charge ¥100, a 0-decimal currency representing how much to capture. The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded.
Statement DescriptorEnter the details of the charge.
Application Fee
Enter an application fee to add to this charge. This can only be used with Stripe Connect.
AmountThe portion of this charge to send to the destination account.
Receipt EmailEnter the receipt's email address. This will override the previously-specified email address for this charge if one was set.

Retrieve a Charge

Retrieves the details of a charge that has previously been created.

ConnectionEstablish a connection to your Stripe account.
ChargeEnter the Charge ID you want to capture. You can find the charge details on your account's payment page.
Application FeeSelect the checkbox to retrieve the application fee along with the charge details.

Update a Charge

Updates the specified charge by setting the values of the parameters passed.

ConnectionEstablish a connection to your Stripe account.
ChargeEnter the Charge ID whose details you want to update.
CustomerSelect the customer associated with the charge.
DescriptionEnter the charge details.
Fraud DetailsEnter a set of key-value pairs to attach to a charge giving information about its risk.
If you believe a charge is fraudulent, include a user_report key with a value of fraudulent.
If you believe a charge is safe, include a user_report key with a value of safe. Stripe will use the information you send to improve our fraud detection algorithms.
MetadataEnter a set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
Receipt MailEnter the email address to which the receipt for this charge will be sent.
CityEnter the recipient's city name.
CountryEnter the recipient's country name.
Line 1Enter the recipient's street address.
Line 2Enter the recipient's street address.
Postal CodeEnter the recipient's area postal code.
StateEnter the recipient's state name.
CarrierEnter the courier details. For example, FedEx.
NameEnter the recipient's name.
Phone Enter the recipient's phone numbers.
Tracking NumberEnter the courier tracking number.
Transfer GroupEnter the transfer group associated with the charge. This field is only applicable if you are using Stripe Connect.

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.