Skip to main content
GET
Get checkout session result

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Query Parameters

session_id
string
required

Stripe checkout session ID (from the success URL redirect)

Response

Checkout result retrieved successfully

success
boolean
Example:

true

plan
string

Package display name (e.g., 'Silver', 'Pro')

Example:

"Pro"

credits
integer | null

Number of credits added to the account

Example:

500

amount
integer

Total amount charged in cents

Example:

5000

currency
string

Three-letter ISO currency code

Example:

"usd"

accountName
string

Name of the account credited (institution name or 'Personal')

Example:

"Personal"

paymentStatus
enum<string>

Stripe payment status

Available options:
paid,
unpaid,
no_payment_required
Example:

"paid"

mode
enum<string>

Stripe checkout mode

Available options:
payment,
subscription
Example:

"payment"