{ "opencollection": "1.0.0", "info": { "name": "Pagar.me Core Anticipations Subscriptions API", "version": "5" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "List subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://api.pagar.me/core/v5/subscriptions", "params": [ { "name": "page", "value": "", "type": "query" }, { "name": "size", "value": "", "type": "query" } ] }, "docs": "List subscriptions" }, { "info": { "name": "Create subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.pagar.me/core/v5/subscriptions", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a recurring subscription, either from a plan (plan_id) or standalone with inline items and interval." }, { "info": { "name": "Get subscription", "type": "http" }, "http": { "method": "GET", "url": "https://api.pagar.me/core/v5/subscriptions/:subscription_id", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ] }, "docs": "Get subscription" }, { "info": { "name": "Cancel subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.pagar.me/core/v5/subscriptions/:subscription_id", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ] }, "docs": "Cancel subscription" }, { "info": { "name": "Renew subscription cycle", "type": "http" }, "http": { "method": "POST", "url": "https://api.pagar.me/core/v5/subscriptions/:subscription_id/cycles", "params": [ { "name": "subscription_id", "value": "", "type": "path" } ] }, "docs": "Renew subscription cycle" } ] } ], "bundled": true }