Compartir a través de


Stripe

Stripe allows private individuals and businesses to accept payments over the internet. You can track customers, orders, invoices and more.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Microsoft
URL Microsoft LogicApps Support
Microsoft Power Automate Support
Microsoft Power Apps Support
Connector Metadata
Publisher Microsoft
Website https://stripe.com/
Privacy policy https://stripe.com/privacy

Known issues and limitations

  1. Due to Stripe API limitations, triggers are unable to process more than 100 events per second.

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring API Key True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds
Frequency of trigger polls 1 120 seconds

Actions

Create a customer

Create a new customer.

Create a product

Creates a new product.

Get a customer

Returns the details of specified customer.

Update a customer

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

Update a product

Updates the specific product by setting the values of the parameters passed.

Create a customer

Create a new customer.

Parameters

Name Key Required Type Description
Description
description string

An arbitrary string that you can attach to a customer, this will be unset if you send with an empty value.

Email
email string

The email address of the customer, this will be unset if you send with an empty value.

Returns

Create a product

Creates a new product.

Parameters

Name Key Required Type Description
Name
name True string

The product’s name, meant to be displayable to the customer.

Id
id string

The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated.

Active
active boolean

Whether or not the product is currently available for purchase. Defaults to true.

Caption
caption string

A short one-line description of the product, meant to be displayable to the customer.

Description
description string

The product’s description, meant to be displayable to the customer.

Images
images string

A list of up to 8 URLs of images for this product, meant to be displayable to the customer.

Shippable
shippable boolean

Whether this product is shipped (i.e. physical goods). Defaults to true.

URL
url string

A URL of a publicly-accessible webpage for this product.

Returns

Get a customer

Returns the details of specified customer.

Parameters

Name Key Required Type Description
Id
id True string

The id of the customer.

Returns

Update a customer

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

Parameters

Name Key Required Type Description
Id
id True string

The id of the customer.

Description
description string

An arbitrary string that you can attach to a customer, this will be unset if you send with an empty value.

Email
email string

The email address of the customer, this will be unset if you send with an empty value.

Returns

Update a product

Updates the specific product by setting the values of the parameters passed.

Parameters

Name Key Required Type Description
Id
id True string

The identifier for the product.

Name
name True string

The product’s name, meant to be displayable to the customer.

Active
active boolean

Whether or not the product is currently available for purchase. Defaults to true.

Caption
caption string

A short one-line description of the product, meant to be displayable to the customer.

Description
description string

The product’s description, meant to be displayable to the customer.

Images
images string

A list of up to 8 URLs of images for this product, meant to be displayable to the customer.

Shippable
shippable boolean

Whether this product is shipped (i.e. physical goods). Defaults to true.

URL
url string

A URL of a publicly-accessible webpage for this product.

Returns

Triggers

When a charge is added

Triggers a new flow when a charge is added.

When a customer is added

Triggers a new flow when a customer is added.

When an invoice item is added

Triggers a new flow when an invoice item is added.

When an order is added

Triggers a new flow when an order is added.

When a charge is added

Triggers a new flow when a charge is added.

Returns

Name Path Type Description
Id
id string

The id of the charge.

Amount
amount integer

A positive integer in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a 0-decimal currency) representing how much to charge.

Amount Refunded
amount_refunded integer

Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was issued).

Captured
captured boolean

If the charge was created without capturing, this boolean represents whether or not it is still uncaptured or has since been captured.

Created
created date-time

The datetime the charge was created.

Currency
currency string

Three-letter ISO currency code representing the currency in which the charge was made.

Customer
customer string

ID of the customer this charge is for if one exists.

Description
description string

The description of the charge.

Failure Code
failure_code string

Error code explaining reason for charge failure if available.

Failure Message
failure_message string

Message to user further explaining reason for charge failure if available.

Invoice
invoice string

ID of the invoice this charge is for if one exists.

Order
order string

ID of the order this charge is for if one exists.

Network Status
outcome.network_status string

Possible values are approved_by_network, declined_by_network, not_sent_to_network, and reversed_after_approval.

Reason
outcome.reason string

An enumerated value indicating a more detailed explanation of the outcome’s type.

Risk Level
outcome.risk_level string

Stripe’s evaluation of the riskiness of the payment.

Seller Message
outcome.seller_message string

A human-readable description of the outcome type and reason, designed for the recipient of the payment.

Type
outcome.type string

Possible values are authorized, issuer_declined, blocked, and invalid.

Paid
paid boolean

True if the charge succeeded, or was successfully authorized for later capture.

Receipt Email
receipt_email string

This is the email address that the receipt for this charge was sent to.

Receipt Number
receipt_number string

This is the transaction number that appears on email receipts sent for this charge.

Refunded
refunded boolean

Whether or not the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.

Statement Descriptor
statement_descriptor string

Extra information about a charge. This will appear on your customer’s credit card statement.

Status
status string

The status of the payment is either succeeded, pending, or failed.

When a customer is added

Triggers a new flow when a customer is added.

Returns

Name Path Type Description
Id
id string

The id of the customer.

Account Balance
account_balance integer

Current balance, if any, being stored on the customer’s account.

Created
created date-time

The datetime the customer was created.

Currency
currency string

The currency the customer can be charged in for recurring billing purposes.

Delinquent
delinquent boolean

Whether or not the latest charge for the customer’s latest invoice has failed.

Description
description string

The description of the customer.

Discount
discount Discount

Describes the current discount active on the customer, if there is one.

Email
email string

The email of the customer.

When an invoice item is added

Triggers a new flow when an invoice item is added.

Returns

Name Path Type Description
Id
id string

The id of the invoice item.

Amount
amount integer

A positive integer in the smallest currency unit representing the total amount for the invoice item.

Currency
currency string

3-letter ISO code representing the currency in which the invoice item was made.

Customer
customer string

The customer id used for the invoice item.

Date
date date-time

The date of the invoice item.

description
description string

The description of the invoice item.

Discountable
discountable boolean

If true, discounts will apply to this invoice item. Always false for prorations.

Invoice
invoice string

The id of the invoice the invoice item was added to.

Proration
proration boolean

Whether or not the invoice item was created automatically as a proration adjustment when the customer switched plans.

Quantity
quantity integer

If the invoice item is a proration, the quantity of the subscription that the proration was computed for.

Subscription
subscription string

The subscription that this invoice item has been created for, if any.

When an order is added

Triggers a new flow when an order is added.

Returns

Name Path Type Description
Id
id string

The id of the order.

Amount
amount integer

A positive integer in the smallest currency unit.

Amount Returned
amount_returned integer

Amount in cents refunded (can be less than the amount attribute on the charge if a partial refund was issued).

Charge
charge string

The ID of the payment used to pay for the order. Present if the order status is paid, fulfilled, or refunded.

Created
created date-time

The datetime the order was created.

Currency
currency string

3-letter ISO code representing the currency in which the order was made.

Customer
customer string

The customer used for the order.

Email
email string

The email address of the customer placing the order.

Selected Shipping method
selected_shipping_method string

The shipping method that is currently selected for this order, if any.

Status
status string

Current order status. One of created, paid, canceled, fulfilled, or returned.

Updated
updated date-time

The datetime the order was updated.

Definitions

Discount

Describes the current discount active on the customer, if there is one.

Name Path Type Description
Customer
customer string

The ID of the customer associated with this discount.

End
end integer

If the coupon has a duration of repeating, the date that this discount will end.

Start
start integer

Date that the coupon was applied.

Subscription
subscription string

The subscription that this coupon is applied to, if it is applied to a particular subscription.

coupon
coupon Coupon

Coupon

Name Path Type Description
Id
id string

Unique identifier for the object.

Name
name string

Name of the coupon displayed to customers on for instance invoices or receipts.

Duration
duration string

One of forever, once, and repeating. Describes how long a customer who applies this coupon will get the discount.

Percent off
percent_off float

Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon.

Amount off
amount_off float

Amount (in the currency specified) that will be taken off the subtotal of any invoices for this customer.

Product_Response

Name Path Type Description
Id
id string

The id of the product.

Active
active boolean

Whether or not the product is currently available for purchase.

Caption
caption string

A short one-line description of the product, meant to be displayable to the customer.

Created
created date-time

the datetime the product was created at.

Description
description string

The product’s description, meant to be displayable to the customer.

Images
images array of string

A list of up to 8 URLs of images for this product, meant to be displayable to the customer.

Name
name string

The product’s name, meant to be displayable to the customer.

Shippable
shippable boolean

Whether this product is a shipped good.

Updated
updated date-time

The datetime the product was updated.

URL
url string

A URL of a publicly-accessible webpage for this product.

Customer_Response

Name Path Type Description
Id
id string

The id of the customer.

Account Balance
account_balance integer

Current balance, if any, being stored on the customer’s account.

Created
created date-time

The datetime the customer was created.

Currency
currency string

The currency the customer can be charged in for recurring billing purposes.

Delinquent
delinquent boolean

Whether or not the latest charge for the customer’s latest invoice has failed.

Description
description string

The description of the customer.

Discount
discount Discount

Describes the current discount active on the customer, if there is one.

Email
email string

The email of the customer.