SkillHub
Referenceorgs

Preview a plan change

GET
/orgs/{orgHandle}/billing/preview

Path Parameters

orgHandle*string
Lengthlength <= 64

Query Parameters

planId*string
Length1 <= length
interval*string

Value in

  • "monthly"
  • "annual"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/orgs/string/billing/preview?planId=string&interval=monthly"
{  "currentPlanId": "string",  "targetPlanId": "string",  "interval": "monthly",  "amountDueNow": -9007199254740991,  "currency": "str",  "nextRenewalAmount": -9007199254740991,  "effectiveAt": "2019-08-24T14:15:22Z"}