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

Lemon Squeezy

List products and create checkout links with Lemon Squeezy.

Finance and paymentsAPI key7 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (7)
  4. create_checkout
  5. custom_api_call
  6. get_order
  7. list_customers
  8. list_orders
  9. list_products
  10. list_subscriptions
  11. 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("lemon-squeezy", "create_checkout", {
    "storeId": "<storeId>",
    "variantId": "<variantId>"
  });
  if (!res.success) throw new Error(res.error);
  ctx.log.info("Lemon Squeezy answered", { output: res.output });
}
defineWorkflow module
// defineWorkflow module (@app/sdk ctx)
import { defineWorkflow } from "@app/sdk";

export default defineWorkflow({
  id: "lemon-squeezy-create-checkout",
  name: "Lemon Squeezy: Create Checkout",
  description: "Calls Lemon Squeezy when a row is created.",
  trigger: { type: "entity_event", entity: "tickets", event: "created" },
  async run(ctx, event) {
    const res = await ctx.integrations.call("lemon-squeezy", {
      "action": "create_checkout",
      "storeId": "<storeId>",
      "variantId": "<variantId>"
    }) 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/lemon-squeezy/create_checkout" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"storeId":"<storeId>","variantId":"<variantId>"}}'

Actions

create_checkoutin catalog

Create Checkout. Create a checkout URL for a specific Lemon Squeezy product variant.

InputTypeDescription
storeIdrequiredid (picked from your account)The store the checkout belongs to.
productIdoptionalid (picked from your account)Select a product to filter the variant list below.
variantIdrequiredid (picked from your account)The product variant to create a checkout for.
customerEmailoptionaltextPre-fill the customer email address on the checkout page.
customerNameoptionaltextPre-fill the customer name on the checkout page.
customPriceoptionalnumberOverride the product price in the smallest currency unit (e.g. 999 = $9.99). Only works if custom prices are enabled on the variant.
discountCodeoptionaltextPre-apply a discount code to the checkout.
redirectUrloptionaltextURL to redirect the customer to after a successful purchase.
expiresAtoptionaltextISO 8601 datetime when this checkout URL expires (e.g. 2024-12-31T23:59:59Z). Leave empty for no expiry.
customDataoptionalJSONKey-value pairs of custom data to attach to the order (accessible via webhooks).

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

get_order

Get Order. Retrieve the details of a specific order by its ID.

InputTypeDescription
orderIdrequiredid (picked from your account)Select the order to retrieve.

list_customers

List Customers. Retrieve a paginated list of customers from your Lemon Squeezy store.

InputTypeDescription
storeIdoptionalid (picked from your account)Filter customers by store. Leave empty to return customers from all stores.
emailoptionaltextFilter customers by their email address.
pageoptionalnumberPage number for pagination (starts at 1).
perPageoptionalnumberNumber of customers to return per page (1–100). Default is 10.

list_orders

List Orders. Retrieve a paginated list of orders from your Lemon Squeezy store, with optional filters.

InputTypeDescription
storeIdoptionalid (picked from your account)Filter orders by store. Leave empty to return orders from all stores.
userEmailoptionaltextFilter orders by customer email address.
statusoptionalone of "" | "pending" | "failed" | "paid" | "refunded" | "partial_refund" | "chargedback"Filter orders by status.
pageoptionalnumberPage number for pagination (starts at 1).
perPageoptionalnumberNumber of orders to return per page (1–100). Default is 10.

list_products

List Products. Retrieve a paginated list of products from your Lemon Squeezy store.

InputTypeDescription
storeIdoptionalid (picked from your account)Filter products by store. Leave empty to return products from all stores.
pageoptionalnumberPage number for pagination (starts at 1).
perPageoptionalnumberNumber of products to return per page (1–100). Default is 10.

list_subscriptions

List Subscriptions. Retrieve a paginated list of subscriptions from your Lemon Squeezy store.

InputTypeDescription
storeIdoptionalid (picked from your account)Filter subscriptions by store.
orderIdoptionalid (picked from your account)Filter subscriptions by order.
orderItemIdoptionaltextFilter subscriptions by a specific order item ID.
productIdoptionalid (picked from your account)Filter subscriptions by product.
variantIdoptionalid (picked from your account)Filter subscriptions by variant.
userEmailoptionaltextFilter subscriptions by customer email address.
statusoptionalone of "" | "on_trial" | "active" | "paused" | "past_due" | "unpaid" | "cancelled" | "expired"Filter subscriptions by status.
pageoptionalnumberPage number for pagination (starts at 1).
perPageoptionalnumberNumber of subscriptions to return per page (1–100). Default is 10.

Details

Id
lemon-squeezy
Category
Finance and payments
Tags
payments, digital-products, subscriptions, checkout
Package
@activepieces/piece-lemon-squeezy@0.1.5
Tier
Community

On this page

  1. Connect
  2. Call it from a workflow
  3. Actions (7)
  4. create_checkout
  5. custom_api_call
  6. get_order
  7. list_customers
  8. list_orders
  9. list_products
  10. list_subscriptions
  11. 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