Appbricx
Docs
FeaturesPricingStart free

Get started

OverviewWhat Appbricx isQuickstart with a coding agentQuickstart with the builderCore concepts

Guides

Data and tablesAccess and rolesBusiness rulesSign-inCustom screensRealtime and topicsWorkflows, schedules and webhooksServer functionsAI in your appPaymentsFilesMessagesIntegrationsVerifyPublishing, domains and rollbackOperating your appExport and self-hostSelf-host install

Tutorials

Build a booking app with Claude CodeMulti-user todo listClient portalSlack on new sign-upTemplates

Reference

Reference homeFrontend SDKHTTP APIMCP toolsCLIIntegrations catalogContract formatAI key resolutionRun Appbricx locally

Stripe

Create payment intents, manage customers, invoices, and subscriptions with Stripe.

Finance and paymentsAPI key19 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (19)
  4. create_customer
  5. create_invoice
  6. create_payment_intent
  7. cancel_subscription
  8. create_payment_link
  9. create_price
  10. create_product
  11. create_refund
  12. create_subscription
  13. custom_api_call
  14. deactivate_payment_link
  15. find_invoice
  16. retrieve_customer
  17. retrieve_invoice
  18. retrieve_payment_intent
  19. retrieve_payout
  20. search_customer
  21. search_subscriptions
  22. update_customer
  23. Env keys
  24. Details

Connect

Auth type: API key (secret_text). Paste the API key (or token) from the provider's settings into the connect dialog. It is encrypted at rest and only decrypted on the server when an action runs.

  • In the editor: Backend panel, Integrations tab, then Connect. This connects it for the project.
  • For every project in a workspace: Workspace settings, Integrations.
  • Owners and admins choose which integrations members may connect in the admin panel (Integrations tab), and can attach their own OAuth app there.

Call it from a workflow

Pass the action name and its input. The call resolves with { success, output, error? }; a missing connection resolves with success false and the reason. See ctx.integrations.invoke and ctx.integrations.call.

Native workflow
// .workflow.js (native ctx)
export async function run(ctx) {
  const res = await ctx.integrations.invoke("stripe", "create_customer", {
    "email": "<email>",
    "name": "<name>"
  });
  if (!res.success) throw new Error(res.error);
  ctx.log.info("Stripe answered", { output: res.output });
}
defineWorkflow module
// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";

export default defineWorkflow({
  id: "stripe-create-customer",
  name: "Stripe: Create Customer",
  description: "Calls Stripe when a row is created.",
  trigger: { type: "entity_event", entity: "tickets", event: "created" },
  async run(ctx, event) {
    const res = await ctx.integrations.call("stripe", {
      "action": "create_customer",
      "email": "<email>",
      "name": "<name>"
    }) as { success: boolean; error?: string };
    if (!res.success) throw new Error(res.error);
  },
});
From an app (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/stripe/create_customer" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"email":"<email>","name":"<name>"}}'

Actions

create_customerin catalog

Create Customer. Create a customer in stripe

InputTypeDescription
emailrequiredtextEmail
namerequiredtextName
descriptionoptionallong textDescription
phoneoptionaltextPhone
line1optionaltextAddress Line 1
postal_codeoptionaltextPostal Code
cityoptionaltextCity
stateoptionaltextState
countryoptionaltextCountry

create_invoicein catalog

Create Invoice. Create an Invoice in stripe

InputTypeDescription
customer_idrequiredtextStripe Customer ID
currencyrequiredtextCurrency for the invoice (e.g., USD)
descriptionoptionallong textDescription for the invoice

create_payment_intentin catalog

Create Payment (Payment Intent). Creates a new payment intent to start a payment flow.

InputTypeDescription
amountrequirednumberThe amount to charge, in a decimal format (e.g., 10.50 for $10.50).
currencyrequiredone of "usd" | "eur" | "gbp" | "aud" | "cad" | "chf" | "cny" | "jpy" | "inr" | "sgd"The three-letter ISO code for the currency.
customerrequiredid (picked from your account)Customer
payment_methodoptionaltextThe ID of the Payment Method to attach (e.g., `pm_...`). Required if you want to confirm the payment immediately.
confirmoptionalbooleanIf true, Stripe will attempt to charge the provided payment method. A `Payment Method ID` is required.
return_urloptionaltextThe URL to redirect your customer back to after they authenticate their payment. Required when confirming the payment.
descriptionoptionallong textDescription
receipt_emailoptionaltextThe email address to send a receipt to. This will override the customer's email address.

cancel_subscription

Cancel Subscription. Cancel an existing subscription, either immediately or at the end of the current billing period.

InputTypeDescription
subscriptionrequiredid (picked from your account)Subscription
cancel_at_period_endoptionalbooleanIf true, the subscription remains active until the end of the current billing period. If false, it cancels immediately.

create_payment_link

Create Payment Link. Creates a shareable, Stripe-hosted payment link for one-time purchases or subscriptions.

InputTypeDescription
line_itemsrequiredarrayThe products and quantities to include in the payment link.
after_completion_typeoptionalone of "hosted_confirmation" | "redirect"Controls the behavior after the purchase is complete. Defaults to showing Stripe's hosted confirmation page.
after_completion_redirect_urloptionaltextThe URL to redirect the customer to after a successful purchase. Only used if the behavior is set to "Redirect to URL".
allow_promotion_codesoptionalbooleanEnables the user to enter a promotion code on the Payment Link page.
billing_address_collectionoptionalone of "auto" | "required"Describes whether Checkout should collect the customer’s billing address.
metadataoptionalJSONMetadata

create_price

Create Price. Create a price (one-time or recurring), associated with a product.

InputTypeDescription
productrequiredid (picked from your account)Product
unit_amountrequirednumberThe price amount as a decimal, for example, 25.50 for $25.50.
currencyrequiredone of "usd" | "eur" | "gbp" | "inr" | "aud" | "cad" | "chf" | "cny" | "jpy" | "sgd"The three-letter ISO code for the currency.
recurring_intervalrequiredone of "one_time" | "day" | "week" | "month" | "year"Specify the billing frequency. Select 'One-Time' for a single, non-recurring payment.
recurring_interval_countoptionalnumberThe number of intervals between subscription billings (e.g., for billing every 3 months, set Interval to Monthly and Interval Count to 3). Only used for recurring prices.

create_product

Create Product. Create a new product object in Stripe.

InputTypeDescription
namerequiredtextThe product’s name, meant to be displayable to the customer.
descriptionoptionallong textThe product’s description, meant to be displayable to the customer.
activeoptionalbooleanWhether the product is currently available for purchase. Defaults to true.
imagesoptionalarrayA list of up to 8 URLs of images for this product.
urloptionaltextA publicly-accessible online page for this product.
metadataoptionalJSONA set of key-value pairs to store additional information about the product.

create_refund

Create a Refund. Create a full or partial refund for a payment.

InputTypeDescription
payment_intentrequiredid (picked from your account)Payment Intent
amountoptionalnumberThe amount to refund (e.g., 12.99). If left blank, a full refund will be issued.
reasonoptionalone of "duplicate" | "fraudulent" | "requested_by_customer"An optional reason for the refund.
metadataoptionalJSONA set of key-value pairs to store additional information about the refund.

create_subscription

Create Subscription. Start a subscription for a customer with specified items/prices.

InputTypeDescription
customerrequiredid (picked from your account)Customer
itemsrequiredarrayA list of prices to subscribe the customer to.
collection_methodoptionalone of "charge_automatically" | "send_invoice"How to collect payment. 'charge_automatically' will try to bill the default payment method. 'send_invoice' will email an invoice.
days_until_dueoptionalnumberNumber of days before an invoice is due. Required if Collection Method is 'Send Invoice'.
trial_period_daysoptionalnumberInteger representing the number of trial days the customer receives before the subscription bills for the first time.
default_payment_methodoptionaltextID of the default payment method for the subscription (e.g., `pm_...`).
metadataoptionalJSONMetadata

custom_api_call

Custom API Call. Make a custom API call to a specific endpoint

InputTypeDescription
urlrequiredobject (depends on other props)url
methodrequiredone of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD"Method
headersrequiredobjectAuthorization headers are injected automatically from your connection.
queryParamsrequiredobjectQuery Parameters
body_typeoptionalone of "none" | "json" | "form_data" | "raw"Body Type
bodyoptionalobject (depends on other props)Body
response_is_binaryoptionalbooleanEnable for files like PDFs, images, etc.
failsafeoptionalbooleanNo Error on Failure
timeoutoptionalnumberTimeout (in seconds)
followRedirectsoptionalbooleanFollow redirects

deactivate_payment_link

Deactivate Payment Link. Disable or deactivate a Payment Link so it can no longer be used.

InputTypeDescription
payment_link_idrequiredid (picked from your account)Payment Link

find_invoice

Find Invoice. Finds an invoice by its unique ID.

InputTypeDescription
invoice_idrequiredid (picked from your account)Invoice

retrieve_customer

Retrieve Customer. Retrieve a customer in stripe by id

InputTypeDescription
idrequiredtextID

retrieve_invoice

Retrieve an Invoice. Retrieves the details of an existing invoice by its ID.

InputTypeDescription
invoice_idrequiredid (picked from your account)Invoice

retrieve_payment_intent

Find Payment (by Payment Intent ID). Retrieves the details of a payment by its unique Payment Intent ID.

InputTypeDescription
payment_intent_idrequiredid (picked from your account)Payment Intent

retrieve_payout

Retrieve a Payout. Retrieves the details of an existing payout by its ID.

InputTypeDescription
payout_idrequiredid (picked from your account)Payout

search_customer

Search Customer. Search for a customer in stripe by email

InputTypeDescription
emailrequiredtextEmail

search_subscriptions

Search Subscriptions. Search for subscriptions by price ID, status, customer ID and other filters, including customer details

InputTypeDescription
price_idsoptionallong textComma-separated list of price IDs to filter by (e.g., price_1ABC123, price_2DEF456)
statusoptionalone of "" | "active" | "past_due" | "unpaid" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "paused"Filter by subscription status
customer_idoptionaltextFilter by specific customer ID (optional)
created_afteroptionaldate-time (ISO)Filter subscriptions created after this date (YYYY-MM-DD format)
created_beforeoptionaldate-time (ISO)Filter subscriptions created before this date (YYYY-MM-DD format)
limitoptionalnumberMaximum number of subscriptions to return (default: 100, set to 0 for all)
fetch_alloptionalbooleanFetch all matching subscriptions (ignores limit, may take longer for large datasets)
include_customer_detailsoptionalbooleanFetch detailed customer information for each subscription

update_customer

Update Customer. Modify an existing customer’s details.

InputTypeDescription
customerrequiredid (picked from your account)Customer
emailoptionaltextEmail
nameoptionaltextName
descriptionoptionallong textDescription
phoneoptionaltextPhone
line1optionaltextAddress Line 1
postal_codeoptionaltextPostal Code
cityoptionaltextCity
stateoptionaltextState
countryoptionaltextCountry

Env keys

When connected, these credential fields are exposed to the project's runtime as environment variables (Stripe payments and subscriptions.). Server keys never reach the browser.

VariableFieldWhere
STRIPE_SECRET_KEYsecretKeyserver only
VITE_STRIPE_PUBLISHABLE_KEYpublishableKeybrowser (VITE_)

Details

Id
stripe
Category
Finance and payments
Tags
payments, billing, subscriptions, invoicing
Package
@activepieces/piece-stripe@0.6.7
Tier
Built in

On this page

  1. Connect
  2. Call it from a workflow
  3. Actions (19)
  4. create_customer
  5. create_invoice
  6. create_payment_intent
  7. cancel_subscription
  8. create_payment_link
  9. create_price
  10. create_product
  11. create_refund
  12. create_subscription
  13. custom_api_call
  14. deactivate_payment_link
  15. find_invoice
  16. retrieve_customer
  17. retrieve_invoice
  18. retrieve_payment_intent
  19. retrieve_payout
  20. search_customer
  21. search_subscriptions
  22. update_customer
  23. Env keys
  24. Details
Appbricx

The backend, runtime and hosting for apps your coding agent builds. On our cloud, in yours, or on your own servers.

Features

Coding agents and MCPVerify testingBuilder consolePostgres databaseData APIRealtimeRow-level securitySign-in and authPaymentsWorkflows and jobsAI in your appIntegrationsBackups and rollbackHosting and domainsSelf-host and exportAll features

Product

ShowcasePricingFor coding agentsTemplatesPrivate cloudBring your own AI keyFAQ

Compare

Appbricx vs SupabaseLovable alternativeBolt alternativeFor freelancersFor agencies

Resources

DocumentationReferenceBlogSupportContact

© 2026 Appbricx. All rights reserved.

TermsPrivacyCookiesAcceptable Use