{ "opencollection": "1.0.0", "info": { "name": "PayU GPO Europe REST Authorize Statements API", "version": "2.1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Statements", "type": "folder" }, "items": [ { "info": { "name": "Retrieve Statement", "type": "http" }, "http": { "method": "GET", "url": "https://secure.payu.com/api/v2_1/reports/:reportId", "headers": [ { "name": "Content-Type", "value": "application/json" }, { "name": "Authorization", "value": "Bearer 3e5cac39-7e38-4139-8fd6-30adc06a61bd" } ], "params": [ { "name": "reportId", "value": "4a3534fb-85b5-4f29-9da8-a6d73b34d528", "type": "path" } ], "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "docs": "In response to retrieving a statement via the API, PayU returns a statement file (as indicated by the `Content-Type=application/octet-stream`) in the `Content-Disposition` header. You should take this attached binary data and save it with the same name and file extension. \n\nFor example, if the value of the `Content-Disposition` header is **attachment; filename=\"69e45495-bed9-4824-ace9-f7c191449bbb.zip\"**, then you should save the attached data on your computer with the same name **69e45495-bed9-" } ] } ], "bundled": true }