{ "opencollection": "1.0.0", "info": { "name": "Embedded Consumer Wallets Balances Businesses API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Businesses", "type": "folder" }, "items": [ { "info": { "name": "Get Business", "type": "http" }, "http": { "method": "GET", "url": "https://api.cadanapay.com/v1/businesses/:businessId", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The unique identifier for the business" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Get a business" }, { "info": { "name": "Get Current Identity", "type": "http" }, "http": { "method": "GET", "url": "https://api.cadanapay.com/v1/me", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve the calling API key's access level and the business the request resolved to, including its `businessId` and tenant key. With a Platform API token, pass `X-MultiTenantKey` to confirm which sub-business your requests operate on." }, { "info": { "name": "Create Department", "type": "http" }, "http": { "method": "POST", "url": "https://api.cadanapay.com/v1/businesses/:businessId/departments", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The unique identifier for the business" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a department" }, { "info": { "name": "Update Department", "type": "http" }, "http": { "method": "PUT", "url": "https://api.cadanapay.com/v1/businesses/:businessId/departments/:departmentId", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The unique identifier for the business" }, { "name": "departmentId", "value": "", "type": "path", "description": "The unique identifier for the department" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a department" }, { "info": { "name": "Create Custom Field", "type": "http" }, "http": { "method": "POST", "url": "https://api.cadanapay.com/v1/businesses/:businessId/customFields", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The unique identifier for the business" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a custom field" }, { "info": { "name": "Update Custom Field", "type": "http" }, "http": { "method": "PUT", "url": "https://api.cadanapay.com/v1/businesses/:businessId/customFields/:customFieldId", "headers": [ { "name": "X-MultiTenantKey", "value": "" } ], "params": [ { "name": "businessId", "value": "", "type": "path", "description": "The unique identifier for the business" }, { "name": "customFieldId", "value": "", "type": "path", "description": "The unique identifier for the custom field" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a custom field" } ] } ], "bundled": true }