{ "opencollection": "1.0.0", "info": { "name": "Openpay BankAccounts Customers API", "version": "1.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://api.openpay.mx/v1/:merchant_id/customers", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "creation", "value": "", "type": "query", "description": "Filter by creation date (yyyy-mm-dd)." }, { "name": "offset", "value": "", "type": "query", "description": "Number of records to skip for pagination." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of records to return." } ] }, "docs": "List customers." }, { "info": { "name": "Create a customer.", "type": "http" }, "http": { "method": "POST", "url": "https://api.openpay.mx/v1/:merchant_id/customers", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a customer." }, { "info": { "name": "Get a customer by id.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "customer_id", "value": "", "type": "path" } ] }, "docs": "Get a customer by id." }, { "info": { "name": "Update a customer.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "customer_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a customer." }, { "info": { "name": "Delete a customer.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "customer_id", "value": "", "type": "path" } ] }, "docs": "Delete a customer." } ] } ], "bundled": true }