{
"opencollection": "1.0.0",
"info": {
"name": "Ekspres Przelewy24 REST API Documentation Additional API functionality Report API API",
"version": "1.0.6"
},
"items": [
{
"info": {
"name": "Report API",
"type": "folder"
},
"items": [
{
"info": {
"name": "History transaction",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://sandbox.przelewy24.pl/api/v1/report/history",
"params": [
{
"name": "dateFrom",
"value": "",
"type": "path",
"description": "Date in format YYYYMMDD"
},
{
"name": "dateTo",
"value": "",
"type": "path",
"description": "Date in format YYYYMMDD. Max period length is 31 days"
},
{
"name": "type",
"value": "",
"type": "path",
"description": "Type of objects to load. Omit this parameter, if you want to load everything. Acceptable values: batch, transaction, refund."
}
],
"auth": {
"type": "basic",
"username": "{{username}}",
"password": "{{password}}"
}
},
"docs": "
This method gives you back information about: batches, transactions and refunds, in questioned period of time.
Pagination
To call next page you need to call report/history with token as a query parameter, e.g.:| GET | [https://secure.przelewy24.pl/api/v1/report/history/{token}](https://secure.przelewy24.pl/api/v1/report/history/{token}) |
|---|
"
},
{
"info": {
"name": "Batch information",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://sandbox.przelewy24.pl/api/v1/report/batch/details",
"params": [
{
"name": "batch",
"value": "",
"type": "path",
"description": "Unique ID of batch (withdrawal)"
},
{
"name": "token",
"value": "",
"type": "path",
"description": "Token needed to request next page"
}
],
"auth": {
"type": "basic",
"username": "{{username}}",
"password": "{{password}}"
}
},
"docs": "Method returns all transactions and refunds paid in requested batch.
Pagination
To call next page you need to call report/batch/details with token in payload e.g.:| GET | [https://secure.przelewy24.pl/api/v1/report/batch/details](https://secure.przelewy24.pl/api/v1/report/batch/details) |
|---|
"
},
{
"info": {
"name": "Issue Withdrawal",
"type": "http"
},
"http": {
"method": "POST",
"url": "https://sandbox.przelewy24.pl/api/v1/issueWithdrawal",
"body": {
"type": "json",
"data": "{}"
},
"auth": {
"type": "basic",
"username": "{{username}}",
"password": "{{password}}"
}
},
"docs": "Method allows to generete withdrawals/batches."
}
]
}
],
"bundled": true
}