cURL
curl --request GET \ --url https://api.togai.com/v2/price_plans/{price_plan_id}/versions \ --header 'Authorization: Bearer <token>'
{ "data": [ { "name": "<string>", "type": "BILLING", "supportedCurrencies": [ "<string>" ], "id": "<string>", "referenceId": "<string>", "version": 123, "status": "DRAFT", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "description": "<string>", "pricingCycleConfig": { "interval": "WEEKLY", "gracePeriod": 3, "startOffset": { "dayOffset": "<string>", "monthOffset": "<string>" }, "anniversaryCycle": true }, "deferredRevenue": true, "allowOngoingCycleUpdates": true } ], "nextToken": "<string>" }
List price plan versions
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
50
"pp.1zYnCiM9Bpg.lv25y"
"eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ=="
10
Response for list price plans request
Paginated response for price plan
Show child attributes