Stripe Payments

Generate subscription management link

Generates a URL for the subscription management webview. Requires authentication. The URL includes a token that can be used to authenticate in the webview.

get/v1/payments/subscription-management-link

Response

Subscription management link generated successfully

urlstring required

URL for the subscription management webview

expiresInnumber required

Token expiration time in seconds

provider'stripe' | 'apple' | 'funnelfox' | 'unlimit' | 'null' nullable required

Payment provider (stripe, apple, funnelfox, unlimit, or null if no subscription)

canManageOnlineboolean required

Whether user can manage subscription via Stripe portal

Example response

{
  "url": "https://api.example.com/v1/payments/subscription-portal?token=abc123",
  "expiresIn": 3600,
  "provider": "stripe",
  "canManageOnline": true
}

Changes

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