Stripe integration without code: payments, subscriptions, invoices and refunds

The Stripe integration in nana800 creates Stripe Checkout pages, customers, subscriptions, invoices and refunds right from a scheme, without code. All you need is the secret key of your Stripe account, payments go to that account, and nana800 never receives the money. Each operation costs $0.002, and your balance is topped up to $3.50 for free every month.

Build it in the builder
  • Block run: $0.002
  • Free every month: $3.50
  • No card needed

What you can do

  • Create a Stripe Checkout page for a one-time payment, a subscription signup or saving a card without payment
  • Create, find and update customers and attach payment methods to them
  • Create payments (Payment Intents), capture held amounts in full or in part, and cancel them
  • Create products and prices, including recurring prices for subscriptions
  • Start, change and cancel subscriptions, with a free trial if you want one
  • Issue invoices that Stripe charges to a saved card or emails to the customer
  • Make full or partial refunds

Blocks in the builder

  • Stripe operation

    Action · $0.002 per run

    Runs one of 30 Stripe API operations: customers, payment methods, payments, Checkout pages, products and prices, subscriptions, invoices and refunds. Returns the object ID and the full Stripe answer.

How to set it up

  1. 1

    Copy your secret key

    In the Stripe dashboard, open Developers -> API keys and copy the Secret key. A sk_test_ key works with test data and never charges real money, a sk_live_ key works with real payments. A restricted rk_ key works too.

  2. 2

    Add a trigger and the Stripe Request block

    Create a scheme, add a trigger with order data, for example a webhook, and add the Stripe Request block. Choose the CREATE_CHECKOUT_SESSION operation and the payment mode for the checkout page.

  3. 3

    Fill in the items and addresses

    Enter the page address for after a successful payment and the list of items in JSON: with a ready Stripe price (price_...) or with a name and price right in the block. Amounts are whole numbers in the smallest currency unit, for example cents.

  4. 4

    Send the payment link

    The link to the checkout page is in the Stripe answer, in the url field inside data. Insert it into the Telegram message send block, an email, or return it to your website with the webhook response block.

  5. 5

    Receive Stripe events

    To let the scheme know about payments, add a webhook trigger with the POST method and add its address as a webhook endpoint in the Stripe dashboard. Before releasing goods, check the payment again with RETRIEVE_CHECKOUT_SESSION or RETRIEVE_PAYMENT_INTENT.

  6. 6

    Turn the scheme on and test with the test key

    Turn the scheme on and run it with a sk_test_ key using the button trigger. Then replace it with the sk_live_ key and keep the scheme on. While the scheme is on, it costs $0.0042 per hour.

Frequently asked questions

Each block operation costs $0.002. An enabled scheme costs $0.0042 per hour. Your balance is topped up to $3.50 for free every month, no card needed, and a scheme kept on around the clock spends most of it on hours. Stripe charges its own payment fees, nana800 takes no percentage of payments.

The block works with an existing Stripe account, and Stripe opens accounts only for companies in the countries it supports, which do not include Russia. For payments in rubles, nana800 has YooKassa, T-Bank and CloudPayments blocks.

Whole numbers in the smallest currency unit: for dollars and euros these are cents, so 1000 means ten dollars. The currency is a three-letter lowercase code such as usd or eur.

No. Creating a customer, payment, checkout page, subscription or invoice, and refunds are sent with an idempotency key. If the same block run is repeated after a network failure, Stripe returns the object it already created for 24 hours. A new scheme run creates a new object.

No, the webhook trigger accepts the request as it is and does not check the Stripe signature. So before releasing goods, fetch the payment from Stripe with RETRIEVE_PAYMENT_INTENT or RETRIEVE_CHECKOUT_SESSION and look at its status.

Paste a sk_test_ key: Stripe creates objects in test mode and charges no real money. When everything works, replace it with the sk_live_ key. Keys are stored in the block settings and hidden in the run log.

Build your first scheme for free

Sign-up is free and needs no card. Every month the balance is topped up to $3.50 for free, enough for about 3,500 runs of basic blocks.

Build it in the builder