Skip to main content
POST
/
checkout-usage
Create usage subscription checkout session
curl --request POST \
  --url https://api.thundercompute.com:8443/v1/checkout-usage \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "already_subscribed": true,
  "checkout_url": "<string>",
  "refresh": true,
  "retry_after_ms": 123
}

Authorizations

Authorization
string
header
required

Body

application/json

The body is of type object.

Response

OK

already_subscribed
boolean
checkout_url
string
refresh
boolean
retry_after_ms
integer