{ "opencollection": "1.0.0", "info": { "name": "Hyperline Billable Events Customers API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Customers", "type": "folder" }, "items": [ { "info": { "name": "List customers", "type": "http" }, "http": { "method": "GET", "url": "https://api.hyperline.co/v1/customers", "params": [ { "name": "limit", "value": "", "type": "query" }, { "name": "starting_after", "value": "", "type": "query" } ] }, "docs": "List customers" }, { "info": { "name": "Create a customer", "type": "http" }, "http": { "method": "POST", "url": "https://api.hyperline.co/v1/customers", "body": { "type": "json", "data": "{}" } }, "docs": "Create a customer" }, { "info": { "name": "Retrieve a customer", "type": "http" }, "http": { "method": "GET", "url": "https://api.hyperline.co/v1/customers/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Retrieve a customer" }, { "info": { "name": "Update a customer", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.hyperline.co/v1/customers/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a customer" }, { "info": { "name": "Delete a customer (must be archived first)", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.hyperline.co/v1/customers/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete a customer (must be archived first)" }, { "info": { "name": "Archive a customer", "type": "http" }, "http": { "method": "POST", "url": "https://api.hyperline.co/v1/customers/:id/archive", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Archive a customer" }, { "info": { "name": "List a customer's credits", "type": "http" }, "http": { "method": "GET", "url": "https://api.hyperline.co/v1/customers/:id/credits", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "List a customer's credits" }, { "info": { "name": "Grant a credit to a customer", "type": "http" }, "http": { "method": "POST", "url": "https://api.hyperline.co/v1/customers/:id/credits", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Grant a credit to a customer" }, { "info": { "name": "Get aggregated usage for a customer", "type": "http" }, "http": { "method": "GET", "url": "https://api.hyperline.co/v1/customers/:id/usage/:aggregatorId", "params": [ { "name": "id", "value": "", "type": "path" }, { "name": "aggregatorId", "value": "", "type": "path" } ] }, "docs": "Get aggregated usage for a customer" } ] } ], "bundled": true }