{ "opencollection": "1.0.0", "info": { "name": "Qovery Account Info Billing API", "version": "1.0.4" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Billing", "type": "folder" }, "items": [ { "info": { "name": "Get organization current cost", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/currentCost", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ] }, "docs": "Get organization current cost" }, { "info": { "name": "Add credit code", "type": "http" }, "http": { "method": "POST", "url": "https://api.qovery.com/organization/:organizationId/creditCode", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add credit code" }, { "info": { "name": "Change organization plan", "type": "http" }, "http": { "method": "POST", "url": "https://api.qovery.com/organization/:organizationId/changePlan", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Change organization plan" }, { "info": { "name": "Get cluster current cost", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/cluster/:clusterId/currentCost", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" }, { "name": "clusterId", "value": "", "type": "path", "description": "Cluster ID" } ] }, "docs": "Get your cluster cost range. We are unable to give a precise cost of your infrastructure at the moment.\nBut Qovery guarantees that the cost of your cluster will not exceed the max range.\n" }, { "info": { "name": "Get organization billing info", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/billingInfo", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ] }, "docs": "Get organization billing info" }, { "info": { "name": "Edit Organization Billing Info", "type": "http" }, "http": { "method": "PUT", "url": "https://api.qovery.com/organization/:organizationId/billingInfo", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Edit Organization Billing Info" }, { "info": { "name": "Get organization billing status", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/billingStatus", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ] }, "docs": "This endpoint returns a \"is_valid\" boolean field reflecting the billing status of the organization:\n- If true, the organization billing is valid\n- For Startup organization, it returns false if there is at least 1 invoice unpaid since 1 week\n- For Community organization, it returns false if there is no credit left\n" }, { "info": { "name": "Generate organization billing usage report", "type": "http" }, "http": { "method": "POST", "url": "https://api.qovery.com/organization/:organizationId/billingUsageReport", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generate organization billing usage report" }, { "info": { "name": "Get organization billing external ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/billingExternalId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ] }, "docs": "This endpoint returns the external ID of the organization's billing account\n" }, { "info": { "name": "List organization invoices", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/invoice", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ] }, "docs": "List organization invoices" }, { "info": { "name": "Get organization invoice", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/invoice/:invoiceId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" }, { "name": "invoiceId", "value": "", "type": "path", "description": "Invoice ID" } ] }, "docs": "Get organization invoice" }, { "info": { "name": "Get invoice link", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/invoice/:invoiceId/download", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" }, { "name": "invoiceId", "value": "", "type": "path", "description": "Invoice ID" } ] }, "docs": "This will return URL of the invoice PDF" }, { "info": { "name": "Download all invoices", "type": "http" }, "http": { "method": "POST", "url": "https://api.qovery.com/organization/:organizationId/downloadInvoices", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ] }, "docs": "Download all invoices" }, { "info": { "name": "List organization credit cards", "type": "http" }, "http": { "method": "GET", "url": "https://api.qovery.com/organization/:organizationId/creditCard", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ] }, "docs": "List organization credit cards" }, { "info": { "name": "Add credit card", "type": "http" }, "http": { "method": "POST", "url": "https://api.qovery.com/organization/:organizationId/creditCard", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add credit card" }, { "info": { "name": "Delete credit card", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.qovery.com/organization/:organizationId/creditCard/:creditCardId", "params": [ { "name": "organizationId", "value": "", "type": "path", "description": "Organization ID" }, { "name": "creditCardId", "value": "", "type": "path", "description": "Credit Card ID" } ] }, "docs": "Delete credit card" } ] } ], "bundled": true }