All URIs are relative to https://api.rb.cz.
| Method | HTTP request | Description |
|---|---|---|
| getTransactionList() | GET /rbcz/premium/api/accounts/{accountNumber}/{currencyCode}/transactions |
getTransactionList( $xRequestId, $accountNumber, $currencyCode, $from, $to, $page): \VitexSoftware\Raiffeisenbank\Model\GetTransactionList200ResponseGet a list of posted transactions (including intraday). In addition, transactions must not be older than 90 days - see request parameter from. The list is returned as a sequence of pages - see request parameter page. The request parameter/flag lastPage indicates whether the returned page is the last one or if there are more pages that you can iterate.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new VitexSoftware\Raiffeisenbank\Api\GetTransactionListApi(
// 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.
$accountNumber = 'accountNumber_example'; // string | Account number for which to get list of transactions in national format without 0 padding.
$currencyCode = 'currencyCode_example'; // string | Currency code of the account in ISO-4217 standard (e.g. czk, eur, usd)
$from = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime | Defines date (and optionally time) from which transactions will be requested. If no time is specified then 00:00:00.0 (Central European Time) will be used. Example values - 2021-08-01 or 2021-08-01T10:00:00.0Z
$to = new \DateTime('2013-10-20T19:20:30+01:00'); // \DateTime | Defines date (and optionally time) until which transactions will be requested. If no time is specified then 23:59:59.999 (Central European Time) will be used. Example values - 2021-08-02 or 2021-08-02T14:00:00.0Z
$page = 56; // int | Page number to be requested. The first page is 1.
try {
$result = $apiInstance->getTransactionList( $xRequestId, $accountNumber, $currencyCode, $from, $to, $page);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling GetTransactionListApi->getTransactionList: ', $e->getMessage(), PHP_EOL;
}| Name | Type | Description | Notes |
|---|---|---|---|
| xRequestId | string | Unique request id provided by consumer application for reference and auditing. | |
| accountNumber | string | Account number for which to get list of transactions in national format without 0 padding. | |
| currencyCode | string | Currency code of the account in ISO-4217 standard (e.g. czk, eur, usd) | |
| from | \DateTime | Defines date (and optionally time) from which transactions will be requested. If no time is specified then 00:00:00.0 (Central European Time) will be used. Example values - 2021-08-01 or 2021-08-01T10:00:00.0Z | |
| to | \DateTime | Defines date (and optionally time) until which transactions will be requested. If no time is specified then 23:59:59.999 (Central European Time) will be used. Example values - 2021-08-02 or 2021-08-02T14:00:00.0Z | |
| page | int | Page number to be requested. The first page is 1. | [optional] |
\VitexSoftware\Raiffeisenbank\Model\GetTransactionList200Response
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]