{ "opencollection": "1.0.0", "info": { "name": "Openpay BankAccounts Plans API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Plans", "type": "folder" }, "items": [ { "info": { "name": "List plans.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/plans", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "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 plans." }, { "info": { "name": "Create a plan.", "type": "http" }, "http": { "method": "POST", "url": "https://api.openpay.mx/v1/:merchant_id/plans", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a plan." }, { "info": { "name": "Get a plan by id.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/plans/:plan_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "plan_id", "value": "", "type": "path" } ] }, "docs": "Get a plan by id." }, { "info": { "name": "Update a plan.", "type": "http" }, "http": { "method": "PUT", "url": "https://api.openpay.mx/v1/:merchant_id/plans/:plan_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "plan_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a plan." }, { "info": { "name": "Delete a plan.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.openpay.mx/v1/:merchant_id/plans/:plan_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "plan_id", "value": "", "type": "path" } ] }, "docs": "Delete a plan." } ] } ], "bundled": true }