{ "opencollection": "1.0.0", "info": { "name": "Orb Alerts Invoices API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Invoices", "type": "folder" }, "items": [ { "info": { "name": "List invoices", "type": "http" }, "http": { "method": "GET", "url": "https://api.withorb.com/v1/invoices", "params": [ { "name": "customer_id", "value": "", "type": "query" }, { "name": "subscription_id", "value": "", "type": "query" }, { "name": "status", "value": "", "type": "query" }, { "name": "cursor", "value": "", "type": "query", "description": "An opaque cursor for the next page of results." }, { "name": "limit", "value": "", "type": "query", "description": "The number of items to return per page (default 20, max 100)." } ] }, "docs": "List invoices" }, { "info": { "name": "Create a one-off invoice", "type": "http" }, "http": { "method": "POST", "url": "https://api.withorb.com/v1/invoices", "body": { "type": "json", "data": "{}" } }, "docs": "Create a one-off invoice" }, { "info": { "name": "Fetch invoice", "type": "http" }, "http": { "method": "GET", "url": "https://api.withorb.com/v1/invoices/:invoice_id", "params": [ { "name": "invoice_id", "value": "", "type": "path" } ] }, "docs": "Fetch invoice" }, { "info": { "name": "Issue invoice", "type": "http" }, "http": { "method": "POST", "url": "https://api.withorb.com/v1/invoices/:invoice_id/issue", "params": [ { "name": "invoice_id", "value": "", "type": "path" } ] }, "docs": "Transitions a draft invoice to issued, triggering payment collection." }, { "info": { "name": "Void invoice", "type": "http" }, "http": { "method": "POST", "url": "https://api.withorb.com/v1/invoices/:invoice_id/void", "params": [ { "name": "invoice_id", "value": "", "type": "path" } ] }, "docs": "Void invoice" } ] } ], "bundled": true }