List Billing Plans For Installation
GET
/v1/installations/{installationId}/plansReturns the set of billing plans available to a specific Installation
/v1/installations/{installationId}/plans
const response = await fetch('/v1/installations/installationId/plans', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "plans": [ { "id": "icfg_1234567890", "type": "prepayment", "name": "Example Name", "scope": "installation", "description": "string", "paymentMethodRequired": "true", "preauthorizationAmount": "123", "initialCharge": "string", "minimumAmount": "100.00", "maximumAmount": "100.00", "maximumAmountAutoPurchasePerPeriod": "100.00", "cost": "string", "details": [ { "label": "string", "value": "string" } ], "highlightedDetails": [ { "label": "string", "value": "string" } ], "quote": [ { "line": "string", "amount": "100.00" } ], "effectiveDate": "2024-01-01T00:00:00Z", "disabled": "true" } ]}Errors
{ "error": { "code": "forbidden", "message": "string", "user": { "message": "string", "url": "https://example.com" } }}AuthorizationSystem Authentication
Default authentication mechanism
installationIdstringRequired
X-Vercel-AuthstringOptional
The auth style used in the request (system, user, etc)