API ReferenceBilling
Get Subscription
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Response Body
application/json
curl -X GET "https://samva.app/api/v1/billing/subscription"{
"planTier": "starter",
"status": "active",
"currentPeriodEnd": "string",
"stripePriceId": "string",
"cancelAtPeriodEnd": true,
"hasPaymentMethod": true,
"pendingPlanTier": "starter",
"pendingEffectiveAt": "string",
"scheduleStatus": "string"
}