{ "opencollection": "1.0.0", "info": { "name": "Openpay BankAccounts API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "BankAccounts", "type": "folder" }, "items": [ { "info": { "name": "List a customer's bank accounts.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id/bankaccounts", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "customer_id", "value": "", "type": "path" } ] }, "docs": "List a customer's bank accounts." }, { "info": { "name": "Add a bank account to a customer.", "type": "http" }, "http": { "method": "POST", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id/bankaccounts", "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": "Add a bank account to a customer." }, { "info": { "name": "Get a bank account by id.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id/bankaccounts/:bank_account_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "customer_id", "value": "", "type": "path" }, { "name": "bank_account_id", "value": "", "type": "path" } ] }, "docs": "Get a bank account by id." }, { "info": { "name": "Delete a bank account.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id/bankaccounts/:bank_account_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "customer_id", "value": "", "type": "path" }, { "name": "bank_account_id", "value": "", "type": "path" } ] }, "docs": "Delete a bank account." } ] } ], "bundled": true }