stripe

Create Promo Checkout Session

Create a Stripe Checkout Session for a promotional subscription.

This creates a subscription checkout with a deep discount coupon applied. On successful payment, the webhook grants credits to the user.

post/api/v1/stripe/create-promo-checkout-session

Request

  • Base URL: https://api.trylapis.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trylapis.com/api/v1/stripe/create-promo-checkout-session
  • Auth: HTTP bearer

Request body

promotion_idstring required
success_urlstring nullable
cancel_urlstring nullable

Response

Successful Response

session_idstring required
urlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.