Skip to main content
GET
Handle Stripe Checkout success callback
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

GET /billing/upgrade/checkout-success Validates the given session_id belongs to the tenant and has payment_status: paid, then finalizes the upgrade locally. Intended as a redirect target from a Stripe-hosted Checkout Session. Authorization:
  • Required role: user or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Query Parameters

session_id
string
required

Response

Upgrade processed successfully

status
string
Example:

"success"

message
string
data
object