{ "opencollection": "1.0.0", "info": { "name": "Recharge Addresses Subscriptions API", "version": "2021-11" }, "request": { "auth": { "type": "apikey", "key": "X-Recharge-Access-Token", "value": "{{X-Recharge-Access-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Subscriptions", "type": "folder" }, "items": [ { "info": { "name": "List subscriptions", "type": "http" }, "http": { "method": "GET", "url": "https://api.rechargeapps.com/subscriptions", "params": [ { "name": "limit", "value": "", "type": "query", "description": "The maximum number of results per page (default 50, max 250)." }, { "name": "page_info", "value": "", "type": "query", "description": "Cursor for cursor-based pagination, taken from the Link response header." } ] }, "docs": "Retrieves a list of subscriptions, optionally filtered by customer, address, status, or product." }, { "info": { "name": "Create a subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/subscriptions", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new subscription for a customer address and payment method." }, { "info": { "name": "Retrieve a subscription", "type": "http" }, "http": { "method": "GET", "url": "https://api.rechargeapps.com/subscriptions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Retrieve a subscription" }, { "info": { "name": "Update a subscription", "type": "http" }, "http": { "method": "PUT", "url": "https://api.rechargeapps.com/subscriptions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a subscription" }, { "info": { "name": "Delete a subscription", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.rechargeapps.com/subscriptions/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Delete a subscription" }, { "info": { "name": "Change the next charge date", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/subscriptions/:id/change_next_charge_date", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Sets the date of the next scheduled charge for a subscription." }, { "info": { "name": "Cancel a subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/subscriptions/:id/cancel", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Cancel a subscription" }, { "info": { "name": "Activate a cancelled subscription", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/subscriptions/:id/activate", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Activate a cancelled subscription" } ] } ], "bundled": true }