Payments & stores
Stores built on the API builder (like the e-commerce template) take real payments with Stripe Checkout, paid into the store owner's own Stripe account — yours or your client's.
Two ways to connect Stripe #
Open API → Payments:
- Stripe Connect (recommended) — create an onboarding link and open it yourself or send it to your client. They sign up or sign in to Stripe in a few minutes; no keys to copy. The link stays valid for 14 days and only ever controls its own account.
- Your own keys — paste the store's Stripe secret key and add the webhook shown.
Prices always come from the server, so shoppers can't change what they pay. Orders are marked paid only when Stripe confirms the payment. Refunds made in Stripe update the order automatically.
Developer fees #
If you build stores for clients, you can take a percentage of each sale (up to 20%). Set Your fee in API → Payments. The store owner agrees to it during onboarding — or later through an approval email sent only to their Stripe account's address. Without their consent no fee is taken.
Your share is paid out to your Devmachinist payout account; see Earnings in the account menu. Full refunds return the fee too.
Native apps #
For Android and desktop apps, set the Store URL so Stripe can return shoppers to your store after payment.