{ "opencollection": "1.0.0", "info": { "name": "Bayou Energy Bills Customers API", "version": "2.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Customers", "type": "folder" }, "items": [ { "info": { "name": "List customers", "type": "http" }, "http": { "method": "GET", "url": "https://bayou.energy/api/v2/customers" }, "docs": "Retrieve the list of customers created on your account." }, { "info": { "name": "Create a customer", "type": "http" }, "http": { "method": "POST", "url": "https://bayou.energy/api/v2/customers", "body": { "type": "json", "data": "{}" } }, "docs": "Create a customer for a given utility. The response includes an onboarding link the customer uses to connect their utility credentials." }, { "info": { "name": "Retrieve a customer", "type": "http" }, "http": { "method": "GET", "url": "https://bayou.energy/api/v2/customers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The customer identifier." } ] }, "docs": "Retrieve a customer, including status fields such as has_filled_credentials, bills_are_ready, and intervals_are_ready." }, { "info": { "name": "Update a customer", "type": "http" }, "http": { "method": "PATCH", "url": "https://bayou.energy/api/v2/customers/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The customer identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a customer's attributes." } ] } ], "bundled": true }