Pular para o conteúdo
Criar conta ou Entrar
O logotipo da documentação da Stripe
/
Pergunte à IA
Criar contaLogin
Comece já
Pagamentos
Receita
Plataformas e marketplaces
Gestão de valores
Recursos para desenvolvedores
APIs e SDKsAjuda
Visão geral
Billing
Visão geralSobre as APIs do Billing
Assinaturas
    Visão geral
    Como funcionam as assinaturas
    Comece já
    Início rápido
    Projete uma integração
    Criar uma integração
    Incorporar uma tabela de preços
    Adiar pagamentos de assinaturas
    Migrar assinaturas para a Stripe
    Configurar eventos da assinatura
    Gerenciar assinaturas
    Defina ciclos de faturamento
    Definir períodos de avaliação
    Ativar o modo de faturamento
    Use assinaturas de intervalos mistos
    Aplicar cupons
    Direitos
    Modifique assinaturas
    Cancelar assinaturas
    Gerenciar assinaturas no iOS
    Faturar e receber pagamentos
    Faturas de assinatura
    Configurar métodos de cobrança
    Gerenciar formas de pagamento de assinatura
    Suspender a coleta de pagamentos
    Integrar com processamento de pagamentos externo
    Faturamento baseado em vendas
    Cronogramas de assinatura
    Inicie assinaturas com data passada
    Análises
Invoicing
Cobrança por uso
Cobrança por uso antecipado
Cotações
Gerenciamento de clientes
Cobrança com outros produtos
Recuperação de receitas
Automações
Teste sua integração
Tributos
Visão geral
Usar Stripe Tax
Gerenciar conformidade
Relatórios
Visão geral
Selecionar um relatório
Configurar relatórios
Relatórios para várias contas
API de relatórios
Reconhecimento de receitas
Dados
Visão geral
Consultar os dados da empresa
Sigma
Data Pipeline
Importar dados externos
Estados Unidos
Português (Brasil)
Página inicialReceitaSubscriptions

Design a subscriptions integration

Learn about the configuration options for a subscriptions integration.

Use this guide to learn the different ways to build your subscriptions integration, and follow the links to in-depth, step-by-step guides. You’ll need to consider the following:

  • How you want to charge customers
  • How you want your customers to check out and provide their payment information
  • When you want customers to pay for the subscription

Decide how you want to charge customers

Compare the following pricing models and determine how you want to charge your customers for the subscription to your product or service:

  • Flat rate: Charge customers a flat rate for the service tier they choose.
  • Per-seat: Charge customers for each pricing unit, which represents one user or seat.
  • Tiered: Charge customers a varied amount for each pricing unit (such as a user or seat), based on quantity or usage.
  • Usage-based: Charge customers based on their usage of your product or service.
Pricing model Description

Flat rate

In the following example, you offer three different service levels: basic, starter, and enterprise. For each service level, you specify a monthly and yearly price.

An example of the flat rate pricing model that shows three service levels.

Per-seat

In the following example, you offer a per-seat plan for software licenses. For each user, you charge a specific amount for their license.

An example of the per-seat pricing model that shows a per-seat plan for software licenses.

Tiered

Volume-based pricing: You multiply the quantity by the unit cost of the tier that corresponds to the usage at the end of the period.

Graduated pricing: You multiply the usage for each tier used during the period and then sum the totals for each tier. This differs from volume-based pricing, which only uses the tier from the end of the period.

In the following example, you offer lower rates for customers who use more projects per month, with tiers that you can adjust based on volume or graduated pricing.

Number of projectsPrice per tier
First tier1-57 USD
Second tier6-106.50 USD
Third tier11+6 USD

Usage-based

Fixed fee and overage pricing: You charge a flat fee per month for your product or service. The flat fee has some included usage entitlement, and you charge any additional usage (overage) at the end of the period.

Pay as you go pricing: You charge for usage tracked over a specific period. You can use any of the following pricing: per unit, per package, volume-based, or graduated.

Credit burndown pricing: You collect prepayment for your usage-based product or service, and allow customers to apply billing credits as they use your product or service.

In the following example, you charge a flat rate per month for your service that includes a set number of tokens. You charge any usage above the included tokens at an additional rate per token.

First unitLast unitPer unitFlat rate
First tier0100,0000.001 USD1.00 USD
Second tier100,001∞0.002 USD2.00 USD

Decide how customers check out

Compare the following checkout interfaces and determine how you want your customers to provide their payment information for the subscription to your product or service.

Interface DescriptionExample

Stripe-hosted page

Use a payment page that’s prebuilt and hosted by Stripe.

Benefits:

  • Stripe handles payment method collection and validation.
  • Stripe automatically starts the subscription process.

UI customization: 20 preset fonts, 3 preset border radiuses, custom background and border color, and custom logo

Embedded payment form

Embed a payment form that’s prebuilt and hosted by Stripe directly into your site.

Benefits:

  • Stripe handles payment method collection and validation.
  • Stripe automatically starts the subscription process.

UI customization: 20 preset fonts, 3 preset border radiuses, custom background and border color, and custom logo

Custom payment form

Build a custom payment form using UI components that you can integrate on your website.

Benefits:

  • Combines Stripe Elements with the front end of your web app.
  • Allows you to customize the Payment Element layout to fit your checkout flow.

UI customization: Customize the look and feel of the payment form with the Appearance API.

Pricing table

Embed a pricing table on your website to show pricing information for subscriptions.

Benefits:

  • Displays a range of pricing options.
  • Redirects to a Stripe-hosted payment page for the checkout flow.

UI customization: Customize the button layout, text, and appearance.

One-click payment button

Accept payments through one-click payment buttons for various payment methods.

Benefits:

  • Allows you to add payment buttons without any front-end changes.
  • Dynamically sorts payment buttons based on a customer’s location.
  • Supports the following payment methods: Link, Apple Pay, Google Pay, PayPal, Klarna, and Amazon Pay.

UI customization: Customize the button layout, text, and appearance.

Payment link

Create a payment link that you can share directly with customers. When customers click the payment link, they’re redirected to a Stripe-hosted payment page.1

Benefits:

  • Allows you to accept payments using a payment link that you can share as many times as you want.

  • Uses your customer’s preferred browser language.

  • Supports more than 20 payment methods, including credit and debit cards, Apple Pay, and Google Pay.

  • Allows you to customize the UI with 20 preset fonts, 3 preset border radiuses, custom background and border color, and custom logo

Mobile app

Use a payment form that’s prebuilt and hosted by Stripe in your mobile app.

Benefits:

  • Allows you to use a prebuilt sheet or a customizable drop-in component on any screen in your app.
  • Supports wallet payments, such as Apple Pay, Google Pay, and Link.

UI customization: Customize the look and feel of the payment form with the Appearance API.

1Payment links aren’t supported for usage-based billing.

Decide when you want customers to pay

Compare the following models and determine when you want your customers to pay for the subscription to your product or service.

Billing model Description

Pay up front

Require that your customers pay before you provide access to your product or service.

A typical flow looks like this:

  1. Your customer chooses their subscription plan.
  2. You collect payment information.
  3. You provision access to your product or service.
  4. You continue to provision access to the customer throughout the subscription lifecycle.
  5. After the initial charge, you continue to charge the customer the same fixed price for the same service at regular periods.

Free trial

Offer your customers a free trial period for your product or service before billing them.

A typical flow looks like this:

  1. Your customer chooses their subscription plan.
  2. You collect payment information, but don’t charge the customer.
  3. You provision access to your product or service for a limited time.
  4. When the trial ends, a new billing period starts.
  5. Stripe generates an invoice with the price you defined for your service.

Freemium

Allow customers access to your product or service without requesting payment information.

A typical flow looks like this:

  1. Your customer chooses their subscription plan.
  2. You provision access to your product or service for a limited time.
  3. Before the trial ends, you collect payment information.
  4. When the trial ends, a new billing period starts.
  5. Stripe generates an invoice with the price you defined for your service.

Build your subscriptions integration

Pricing modelCheckout interfaceBilling modelUse caseInstructions
Flat ratePayment page or embedded formFree trialYou want to offer a free trial period for your subscription and collect a payment method to use after the trial ends. Use either a Stripe-hosted page, a Stripe-hosted payment form that’s embedded in your checkout flow, or your custom payment form.Start a free trial period using a Stripe-hosted page, an embedded payment form, or a custom payment form
Usage-basedPayment page, embedded form, or mobile appYou want to charge customers based on their usage of your product or service. Collect payment information using either a Stripe-hosted page, a Stripe-hosted payment form that’s embedded in your checkout flow, your custom payment form, or a payment form in your mobile app.Set up usage-based billing
Flat rate, per-seat, or tieredPricing tableFree trialYou want to display different subscription pricing levels in a pricing table that’s embedded on your website. You can offer a flat rate, per-seat or tiered pricing, or a free trial. After choosing a pricing level, customers can provide their payment information in a prebuilt payment form.Create and embed a pricing table on your website
Flat ratePayment linkPay up frontYou want to sell subscriptions for a flat rate, and collect payment information using a payment link that you share with your customers. The payment link redirects to a Stripe-hosted payment page.2Create your subscription and then create a payment link for your subscription
Flat rateMobile appPay up frontYou want to sell subscriptions for a flat rate. Collect payment information using a custom payment form that’s embedded in your mobile app.Create and embed a payment form in your iOS app, Android app, or React Native app
Flat rateOne-click payment buttonsPay up frontYou want to sell subscriptions for a flat rate. Collect payment information using one-click payment buttons on either a Stripe-hosted payment page, a Stripe-hosted payment form that’s embedded in your checkout flow, or your custom payment form.Add one-click payment buttons on your checkout page

2Payment links aren’t supported for usage-based billing.

Esta página foi útil?
SimNão
  • Precisa de ajuda? Fale com o suporte.
  • Confira nosso changelog.
  • Dúvidas? Fale com a equipe de vendas.
  • LLM? Read llms.txt.
  • Powered by Markdoc