billing

Create subscription link

Creates a short-lived Stripe-hosted paid Checkout, exact upgrade-confirmation, or billing-recovery link for the selected plan. API-created Checkout does not include a free trial. Creating the link never changes or charges the subscription; a human must open and confirm it in Stripe.

post/billing/subscription-link

Request

  • Base URL: https://storeinspect.com/api/v1
  • URL: https://storeinspect.com/api/v1/billing/subscription-link
  • Auth: HTTP bearer

Request body

plan'pro' | 'business' | 'enterprise' required
billing'monthly' | 'annual'

Response

Short-lived Stripe-hosted billing link.

object'billing_link' required
kind'checkout' | 'subscription_update_confirm' | 'billing_portal' required
urlstring uri required
target_plan'pro' | 'business' | 'enterprise' | 'null' nullable required
target_billing'monthly' | 'annual' | 'null' nullable required
expires_atstring date-time nullable required
requires_customer_confirmationtrue required
request_idstring required

Changes

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