All URIs are relative to https://api.rb.cz.
| Method | HTTP request | Description |
|---|---|---|
| downloadStatement() | POST /rbcz/premium/api/accounts/statements/download |
Download the selected statement. Returns one of the following Content-type header values depending on the downloaded document type: application/pdf, application/xml, text/mt940, application/json (in case of an error).
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new VitexSoftware\Raiffeisenbank\Api\DownloadStatementApi(
// If you want use custom http client, pass your client which implements `Psr\Http\Client\ClientInterface`.
// This is optional, `Psr18ClientDiscovery` will be used to find http client. For instance `GuzzleHttp\Client` implements that interface
new GuzzleHttp\Client()
);
$xRequestId = 'xRequestId_example'; // string | Unique request id provided by consumer application for reference and auditing.
$acceptLanguage = 'acceptLanguage_example'; // string | The Accept-Language request HTTP header is used to determine document language. Supported languages are `cs` and `en`.
$requestBody = new \VitexSoftware\Raiffeisenbank\Model\DownloadStatementRequest(); // \VitexSoftware\Raiffeisenbank\Model\DownloadStatementRequest
try {
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DownloadStatementApi->downloadStatement: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| xRequestId | string | Unique request id provided by consumer application for reference and auditing. | |
| acceptLanguage | string | The Accept-Language request HTTP header is used to determine document language. Supported languages are `cs` and `en`. | |
| requestBody | \VitexSoftware\Raiffeisenbank\Model\DownloadStatementRequest |
\SplFileObject
No authorization required
- Content-Type:
application/json - Accept:
*/*
[Back to top] [Back to API list] [Back to Model list] [Back to README]