{ "opencollection": "1.0.0", "info": { "name": "m3ter Account Debits API", "version": "1.0" }, "request": { "auth": { "type": "oauth2", "flow": "client_credentials", "accessTokenUrl": "/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Debits", "type": "folder" }, "items": [ { "info": { "name": "Retrieve Debit Line Item", "type": "http" }, "http": { "method": "GET", "url": "https://api.m3ter.com/organizations/:orgId/bills/:billId/debitlineitems/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." }, { "name": "billId", "value": "", "type": "path", "description": "UUID of the bill." }, { "name": "id", "value": "", "type": "path", "description": "The UUID of the debit line item to retrieve." } ] }, "docs": "Retrieve the Debit line item with the given UUID." }, { "info": { "name": "Update Debit Line Item", "type": "http" }, "http": { "method": "PUT", "url": "https://api.m3ter.com/organizations/:orgId/bills/:billId/debitlineitems/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." }, { "name": "billId", "value": "", "type": "path", "description": "UUID of the bill." }, { "name": "id", "value": "", "type": "path", "description": "The UUID of the debit line item to update." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the Debit line item with the given UUID." }, { "info": { "name": "Delete Debit Line Item", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.m3ter.com/organizations/:orgId/bills/:billId/debitlineitems/:id", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." }, { "name": "billId", "value": "", "type": "path", "description": "UUID of the bill." }, { "name": "id", "value": "", "type": "path", "description": "UUID of the debit line item." } ] }, "docs": "Delete the Debit line item with the given UUID." }, { "info": { "name": "List Debit Line Items", "type": "http" }, "http": { "method": "GET", "url": "https://api.m3ter.com/organizations/:orgId/bills/:billId/debitlineitems", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service." }, { "name": "billId", "value": "", "type": "path", "description": "UUID of the bill." }, { "name": "pageSize", "value": "", "type": "query", "description": "Number of line items to retrieve per page." }, { "name": "nextToken", "value": "", "type": "query", "description": "`nextToken` for multi page retrievals." } ] }, "docs": "List the Debit line items for the given bill." }, { "info": { "name": "Create Debit Line Item", "type": "http" }, "http": { "method": "POST", "url": "https://api.m3ter.com/organizations/:orgId/bills/:billId/debitlineitems", "params": [ { "name": "orgId", "value": "", "type": "path", "description": "UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service. " }, { "name": "billId", "value": "", "type": "path", "description": "UUID of the bill." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Debit line item for the given bill.\n \nWhen creating Debit line items for Bills, use the Debit Reasons created for your Organization. See [DebitReason](https://www.m3ter.com/docs/api#tag/DebitReason)." } ] } ], "bundled": true }