{ "opencollection": "1.0.0", "info": { "name": "Openpay BankAccounts Cards API", "version": "1.0" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Cards", "type": "folder" }, "items": [ { "info": { "name": "List merchant-level cards.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/cards", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." } ] }, "docs": "List merchant-level cards." }, { "info": { "name": "Store a card at the merchant level.", "type": "http" }, "http": { "method": "POST", "url": "https://api.openpay.mx/v1/:merchant_id/cards", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Store a card at the merchant level." }, { "info": { "name": "Get a merchant-level card.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/cards/:card_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "card_id", "value": "", "type": "path" } ] }, "docs": "Get a merchant-level card." }, { "info": { "name": "Delete a merchant-level card.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.openpay.mx/v1/:merchant_id/cards/:card_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "card_id", "value": "", "type": "path" } ] }, "docs": "Delete a merchant-level card." }, { "info": { "name": "List a customer's cards.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id/cards", "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 cards." }, { "info": { "name": "Store a card for a customer.", "type": "http" }, "http": { "method": "POST", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id/cards", "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": "Store a card for a customer." }, { "info": { "name": "Get a customer's card.", "type": "http" }, "http": { "method": "GET", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id/cards/:card_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "customer_id", "value": "", "type": "path" }, { "name": "card_id", "value": "", "type": "path" } ] }, "docs": "Get a customer's card." }, { "info": { "name": "Delete a customer's card.", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.openpay.mx/v1/:merchant_id/customers/:customer_id/cards/:card_id", "params": [ { "name": "merchant_id", "value": "", "type": "path", "description": "The merchant identifier that scopes all resources." }, { "name": "customer_id", "value": "", "type": "path" }, { "name": "card_id", "value": "", "type": "path" } ] }, "docs": "Delete a customer's card." } ] } ], "bundled": true }