/billing/getcheckoutsession
DevelopingGET
/billing/getcheckoutsessionModified at: a year ago
Return the URL to a new Stripe checkout session.
Request
Query Params
subscription_level
string
required
A subscription level expressed by a number of metrics. This must match a specific defined subscription level. Example: 100000.
Request samples
Responses
An example Response(200)
An example Response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{
"status": {
...
},
"data": {
"stripe_session_id": "cs_test_a117qPR9rL78pwCb9GdWdlj6fg44NxxGOsHzop76evPEygEsJJif6nhNwL",
"stripe_checkout_url": "https:\/\/checkout.stripe.com\/c\/pay\/cs_test_a117qPR9rL78pwCb9GdWdlj6fg44NxxGOsHzop76evPEygEsJJif6nhNwL#fidkdWxOYHwnPyd1blpxYHZxWjA0SGlGfXJDUTxrd0oyaU5UUDxnUERCcnFdMjNWNDdrYlZzaHRXUEhmVElTNz01f0FEbEZ1cTdkX0k3QlR2UlRxMG9Val02V3NcRHBHRFRGV3BmV0NuQ088NTVxRlQ3NVdtMCcpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl"
}
}
Last modified: a year ago