Skip to main content
GET
/
billing
/
subscription
Get Subscription
curl --request GET \
  --url https://api.example.com/billing/subscription \
  --header 'Authorization: Bearer <token>'
{
  "plan": "<string>",
  "subscription_balance": 123,
  "purchased_balance": 123,
  "monthly_grant": 123,
  "stripe_customer_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

plan
string
required
subscription_balance
integer
required
purchased_balance
integer
required
monthly_grant
integer
required
stripe_customer_id
string | null
required