{ "opencollection": "1.0.0", "info": { "name": "Dodo Payments Checkout Sessions Subscriptions API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "List subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://live.dodopayments.com/subscriptions", "params": [ { "name": "page_number", "value": "", "type": "query" }, { "name": "page_size", "value": "", "type": "query" } ] }, "docs": "List subscriptions" }, { "info": { "name": "Create a subscription", "type": "http" }, "http": { "method": "POST", "url": "https://live.dodopayments.com/subscriptions", "body": { "type": "json", "data": "{}" } }, "docs": "Create a subscription" }, { "info": { "name": "Get a subscription", "type": "http" }, "http": { "method": "GET", "url": "https://live.dodopayments.com/subscriptions/:id", "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get a subscription" }, { "info": { "name": "Update a subscription", "type": "http" }, "http": { "method": "PATCH", "url": "https://live.dodopayments.com/subscriptions/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a subscription" }, { "info": { "name": "Create an on-demand charge on a subscription", "type": "http" }, "http": { "method": "POST", "url": "https://live.dodopayments.com/subscriptions/:id/charge", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create an on-demand charge on a subscription" }, { "info": { "name": "Change a subscription plan", "type": "http" }, "http": { "method": "POST", "url": "https://live.dodopayments.com/subscriptions/:id/change-plan", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Change a subscription plan" } ] } ], "bundled": true }