Stripe Connector Reference
Online payment processing platforms, like Stripe, are used by a growing number of businesses. Stripe enables businesses of all sizes to process payments through APIs by keeping customers and payment information synched.
To connect to a system, whether it is a source of data or the target where you are sending data, you must create a connection with that system’s required credentials. You typically connect to different systems within a flow and can reuse each connection every time you need to connect.
This system requires the following credential information for its connections:
- Connection Name
Enter a connection name that will help you remember the details of this connection. You can reuse connections multiple times in a single flow, and in more than one flow, and the credentials are hidden after you create the connection. Therefore, it’s helpful to provide a name that easily identifies this connection from others.
Only you can see the connection. Other users in your Composer app must create their own connections.
- API key
The value in this field maps to the
Authorizationfield in the specialist connector and functions as a username in Stripe. Authentication to the API is performed via HTTP Basic Authentication. Your API key is your username and a password is not required. You can find your API key in your Stripe Dashboard. The Stripe API:
Uses API keys to authenticate requests.
Supplies test mode keys that have the prefix
sk_test_and live mode secret keys that have the prefix
Allows users to use restricted API keys for granular permissions.
Ensures that all API requests are made via HTTPS.
Stripe Connect supports OAuth authentication, but Stripe does not. For more information on OAuth authentication in Stripe, see https://www.similartech.com/compare/stripe-vs-stripe-connect.
Each flow starts with a scheduler that specifies a time span for how frequently the flow starts or with a trigger that you define, such as "each time a new record is created." Triggers provide multiple options related to the data in your system.
Triggers execute every ten minutes.
This system provides the following trigger options:
- New charge
Checks for a new charge to a payment source.
- New refund
Executes when a new refund is created.
After you connect to a system and define the trigger or configure a scheduler, you define the actions that the flow performs, such as copying a record from Workday to Salesforce. The actions you can perform depend on which system you are connected to.
This system provides the following actions:
- Create charge
Create a new charge. When creating a new charge, note that:
Amountfield, the value is an integer. For instance, 1.00 is 100.
The following fields require values:
Note that best practice dictates that the value in the Customer ID field should come from an existing account in Stripe. For example,
Some shipping fields are required if any shipping fields are present.
For more information on the Create Charge action in Stripe, see https://stripe.com/docs/api/charges/create.
- Create customer
Create a new customer. When creating a new customer, the
Phonefield is the customer’s phone number and not the shipping phone number.
- Find customer
Finds an existing customer by
- Create product
Creates a new product object. The following field is required: Name.