{ "opencollection": "1.0.0", "info": { "name": "Pagar.me Core Anticipations Cards API", "version": "5" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Cards", "type": "folder" }, "items": [ { "info": { "name": "List customer cards", "type": "http" }, "http": { "method": "GET", "url": "https://api.pagar.me/core/v5/customers/:customer_id/cards", "params": [ { "name": "customer_id", "value": "", "type": "path" } ] }, "docs": "List customer cards" }, { "info": { "name": "Create card", "type": "http" }, "http": { "method": "POST", "url": "https://api.pagar.me/core/v5/customers/:customer_id/cards", "params": [ { "name": "customer_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds a card to the customer wallet. Send card_token or card_id; never raw card data in production flows that require tokenization." }, { "info": { "name": "Get card", "type": "http" }, "http": { "method": "GET", "url": "https://api.pagar.me/core/v5/customers/:customer_id/cards/:card_id", "params": [ { "name": "customer_id", "value": "", "type": "path" }, { "name": "card_id", "value": "", "type": "path" } ] }, "docs": "Get card" }, { "info": { "name": "Delete card", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.pagar.me/core/v5/customers/:customer_id/cards/:card_id", "params": [ { "name": "customer_id", "value": "", "type": "path" }, { "name": "card_id", "value": "", "type": "path" } ] }, "docs": "Delete card" }, { "info": { "name": "Create card token", "type": "http" }, "http": { "method": "POST", "url": "https://api.pagar.me/core/v5/tokens", "params": [ { "name": "appId", "value": "", "type": "query", "description": "Account public key." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Generates a single-use token from card data using the account public key (appId query parameter)." } ] } ], "bundled": true }