{ "opencollection": "1.0.0", "info": { "name": "Vantage AccessGrants BillingProfiles API", "version": "2.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "BillingProfiles", "type": "folder" }, "items": [ { "info": { "name": "Get all billing profiles", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/billing_profiles", "params": [ { "name": "page", "value": "", "type": "query", "description": "The page of results to return." }, { "name": "limit", "value": "", "type": "query", "description": "The amount of results to return. The maximum is 1000." } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Returns a list of billing profiles (MSP invoicing required)." }, { "info": { "name": "Create billing profile", "type": "http" }, "http": { "method": "POST", "url": "https://api.vantage.sh/v2/billing_profiles", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a billing profile (MSP invoicing required)." }, { "info": { "name": "Get billing profile by token", "type": "http" }, "http": { "method": "GET", "url": "https://api.vantage.sh/v2/billing_profiles/:billing_profile_token", "params": [ { "name": "billing_profile_token", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires MSP invoicing to be enabled on the account." }, { "info": { "name": "Update billing profile", "type": "http" }, "http": { "method": "PUT", "url": "https://api.vantage.sh/v2/billing_profiles/:billing_profile_token", "params": [ { "name": "billing_profile_token", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires MSP invoicing to be enabled on the account." }, { "info": { "name": "Delete billing profile", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.vantage.sh/v2/billing_profiles/:billing_profile_token", "params": [ { "name": "billing_profile_token", "value": "", "type": "path" } ], "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "https://console.vantage.sh/account/profile", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Requires MSP invoicing to be enabled on the account." } ] } ], "bundled": true }