Documentation
Get Started
  • Welcome
  • Affiliate Promo Codes Setup
    • Stripe Checkout
    • Stripe API
    • Setting a Default Coupon Code
  • Affiliate Links Setup
    • Stripe API
    • Stripe Payment Links
  • Integrations
    • Memberstack
    • Outseta
    • MemberSpace
  • Payouts
    • Payouts Overview
    • PayPal Mass Payments
    • Wise Batch Payments
  • Frequently Asked Questions
Powered by GitBook
On this page
  • Enable Promo Codes When Calling the Stripe API
  • Enable Promo Codes Using Stripe Payment Links

Was this helpful?

  1. Affiliate Promo Codes Setup

Stripe Checkout

PreviousWelcomeNextStripe API

Last updated 1 year ago

Was this helpful?

Promo codes tracking with Stripe Checkout requires almost no setup. No website script is required, you just have to make sure that promo codes are enabled on your Stripe Checkout page. You can kick off Stripe Checkout sessions via the API or with Stripe Payment Links.

Enable Promo Codes When Calling the Stripe API

To enable promo codes when calling the Stripe API, include the allow_promotion_codes parameter when .

allow_promotion_codes: true

Enable Promo Codes Using Stripe Payment Links

To enable promo codes when using Stripe Payment Links, edit your Payment Link, expand Advanced options, and check Allow promotion codes.

Once promo codes are enabled, move on to .

Setting a Default Coupon Code
creating the checkout session