{ "opencollection": "1.0.0", "info": { "name": "Recharge Addresses Charges API", "version": "2021-11" }, "request": { "auth": { "type": "apikey", "key": "X-Recharge-Access-Token", "value": "{{X-Recharge-Access-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Charges", "type": "folder" }, "items": [ { "info": { "name": "List charges", "type": "http" }, "http": { "method": "GET", "url": "https://api.rechargeapps.com/charges", "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": "List charges" }, { "info": { "name": "Retrieve a charge", "type": "http" }, "http": { "method": "GET", "url": "https://api.rechargeapps.com/charges/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Retrieve a charge" }, { "info": { "name": "Skip a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/charges/:id/skip", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Skips a queued charge so it will not process on its scheduled date." }, { "info": { "name": "Unskip a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/charges/:id/unskip", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Unskip a charge" }, { "info": { "name": "Process a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/charges/:id/process", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Attempts to process a queued charge immediately." }, { "info": { "name": "Refund a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/charges/:id/refund", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Refund a charge" }, { "info": { "name": "Apply a discount to a charge", "type": "http" }, "http": { "method": "POST", "url": "https://api.rechargeapps.com/charges/:id/apply_discount", "params": [ { "name": "id", "value": "", "type": "path", "description": "The unique identifier of the resource." } ] }, "docs": "Apply a discount to a charge" } ] } ], "bundled": true }