{ "opencollection": "1.0.0", "info": { "name": "Terminal Shop Address Card API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Card", "type": "folder" }, "items": [ { "info": { "name": "List cards", "type": "http" }, "http": { "method": "GET", "url": "https://api.terminal.shop/card" }, "docs": "List the credit cards associated with the current user." }, { "info": { "name": "Create card", "type": "http" }, "http": { "method": "POST", "url": "https://api.terminal.shop/card", "body": { "type": "json", "data": "{}" } }, "docs": "Attach a credit card (via a Stripe token) to the current user." }, { "info": { "name": "Collect card", "type": "http" }, "http": { "method": "POST", "url": "https://api.terminal.shop/card/collect" }, "docs": "Create a temporary URL for collecting credit card information on a Stripe-hosted page." }, { "info": { "name": "Get card", "type": "http" }, "http": { "method": "GET", "url": "https://api.terminal.shop/card/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get the credit card with the given ID." }, { "info": { "name": "Delete card", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.terminal.shop/card/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete a credit card associated with the current user." } ] } ], "bundled": true }