Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 2.48 KB

File metadata and controls

70 lines (47 loc) · 2.48 KB

VitexSoftware\Raiffeisenbank\GetStatementListApi

All URIs are relative to https://api.rb.cz.

Method HTTP request Description
getStatements() POST /rbcz/premium/api/accounts/statements

getStatements()

getStatements( $xRequestId, $requestBody,  $page, $size): \VitexSoftware\Raiffeisenbank\Model\GetStatements200Response

Lists statements for all available accounts for which the client has appropriate access rights.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new VitexSoftware\Raiffeisenbank\Api\GetStatementListApi(
    // 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.
$requestBody = new \VitexSoftware\Raiffeisenbank\Model\GetStatementsRequest(); // \VitexSoftware\Raiffeisenbank\Model\GetStatementsRequest
$page = 56; // int | Number of the requested page. Default is 1.
$size = 56; // int | Number of items on the page. Default is 15.

try {
    $result = $apiInstance->getStatements( $xRequestId, $requestBody,  $page, $size);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling GetStatementListApi->getStatements: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
xRequestId string Unique request id provided by consumer application for reference and auditing.
requestBody \VitexSoftware\Raiffeisenbank\Model\GetStatementsRequest
page int Number of the requested page. Default is 1. [optional]
size int Number of items on the page. Default is 15. [optional]

Return type

\VitexSoftware\Raiffeisenbank\Model\GetStatements200Response

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]