vitexsoftware/rbczpremiumapi
Composer 安装命令:
composer require vitexsoftware/rbczpremiumapi
包简介
##### API Overview - Accounts list and balance - Transaction overview (also for saving accounts) - Payments import - Statement list and download - FX rates ##### Authentication Before making a call to Premium API, you need to register your app at our _Developer portal_. This is where you get the **
README 文档
README
php client library for rbczpremiumapi
Installation & Usage
Requirements
Should with PHP 8+.
Composer
To install the bindings via Composer, add the following to composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/VitexSoftware/php-vitexsoftware-rbczpremiumapi.git"
}
],
"require": {
"vitexsoftware/php-vitexsoftware-rbczpremiumapi": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php:
<?php require_once('/path/to/Raiffeisenbank Premium API client library/vendor/autoload.php');
Getting Started
Example environment or contents of .env file for basic library configuration
CERT_FILE=examples/test_cert.p12
CERT_PASS=test12345678
XIBMCLIENTID=FbboLD2r1WHDRcuKS4wWUbSRHxlDloWL
API_DEBUG=True
Set the RBAPI_RATE_LIMIT_JSON_FILE to override default /tmp/rbczpremiumapi_rates.json
When the RBAPI_RATE_WAIT_MODE is not set, the RateLimitExceededException is throwed. The 'true' value wait till the next day, to continue.
Please follow the installation procedure and then run the following:
<?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 // `GuzzleHttp\ClientInterface`. // This is optional, Internal `ApiClient` will be used as default. // Else you must call setXIBMClientId($lientID) and $this->setSUIPAddress($clientPubIP) // methods to set API call properly new \VitexSoftware\Raiffeisenbank\ApiClient(['clientpubip'=> \VitexSoftware\Raiffeisenbank\ApiClient::getPublicIP() ,'debug'=>true]) ); $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 { $result = $apiInstance->downloadStatement( $xRequestId, $acceptLanguage, $requestBody, $pSUIPAddress); print_r($result); } catch (Exception $e) { echo 'Exception when calling DownloadStatementApi->downloadStatement: ', $e->getMessage(), PHP_EOL; }
API Endpoints
All URIs are relative to https://api.rb.cz
| Class | Method | HTTP request | Description |
|---|---|---|---|
| DownloadStatementApi | downloadStatement | POST /rbcz/premium/api/accounts/statements/download | |
| GetAccountBalanceApi | getBalance | GET /rbcz/premium/api/accounts/{accountNumber}/balance | |
| GetAccountsApi | getAccounts | GET /rbcz/premium/api/accounts | |
| GetBatchDetailApi | getBatchDetail | GET /rbcz/premium/api/payments/batches/{batchFileId} | |
| GetFxRatesApi | getFxRates | GET /rbcz/premium/api/fxrates/{currencyCode} | |
| GetFxRatesListApi | getFxRatesList | GET /rbcz/premium/api/fxrates | |
| GetStatementListApi | getStatements | POST /rbcz/premium/api/accounts/statements | |
| GetTransactionListApi | getTransactionList | GET /rbcz/premium/api/accounts/{accountNumber}/{currencyCode}/transactions | |
| UploadPaymentsApi | importPayments | POST /rbcz/premium/api/payments/batches |
Models
- CurrencyListSimple
- DownloadStatementRequest
- ExchangeRate
- ExchangeRateList
- GetAccounts200Response
- GetAccounts200ResponseAccountsInner
- GetBalance200Response
- GetBalance200ResponseCurrencyFoldersInner
- GetBalance200ResponseCurrencyFoldersInnerBalancesInner
- GetBalance401Response
- GetBalance403Response
- GetBalance404Response
- GetBalance429Response
- GetBatchDetail200Response
- GetBatchDetail200ResponseBatchItemsInner
- GetBatchDetail200ResponseBatchItemsInnerAccountInfo
- GetBatchDetail400Response
- GetStatements200Response
- GetStatements200ResponseStatementsInner
- GetStatements400Response
- GetStatementsRequest
- GetTransactionList200Response
- GetTransactionList200ResponseTransactionsInner
- GetTransactionList200ResponseTransactionsInnerAmount
- GetTransactionList200ResponseTransactionsInnerBankTransactionCode
- GetTransactionList200ResponseTransactionsInnerEntryDetails
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetails
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsInstructedAmount
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsReferences
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedParties
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedPartiesCounterParty
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedPartiesCounterPartyAccount
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedPartiesCounterPartyOrganisationIdentification
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedPartiesCounterPartyOrganisationIdentificationPostalAddress
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedPartiesCounterPartyPostalAddress
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedPartiesIntermediaryInstitution
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedPartiesIntermediaryInstitutionPostalAddress
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRelatedPartiesUltimateCounterParty
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformation
- GetTransactionList200ResponseTransactionsInnerEntryDetailsTransactionDetailsRemittanceInformationCreditorReferenceInformation
- GetTransactionList400Response
- ImportPayments200Response
- ImportPayments400Response
- ImportPayments413Response
- ImportPayments415Response
Authorization
All endpoints do not require authorization.
Rate Limiting
This library implements a rate limiting mechanism in the VitexSoftware\Raiffeisenbank\RateLimit namespace. It automatically tracks and respects API rate limits using response headers, and can pause or throw exceptions if limits are exceeded.
- RateLimiter: Handles rate limit logic and enforces waiting or error on limit exceed.
- RateLimitStoreInterface: Interface for storing rate limit state per client and window (second/day).
- SqlDialect: Interface for SQL dialects used in rate limit storage implementations.
The rate limiting mechanism ensures compliance with the API's restrictions and helps prevent accidental overuse. See the source code in lib/RateLimit/ for details and extension options.
Tests
To run the tests, use:
composer install vendor/bin/phpunit
Author
About this package
This PHP package is automatically generated by the OpenAPI Generator project:
- API version:
1.1.20240910- Package version:
1.3.1
- Package version:
- Build package:
org.openapitools.codegen.languages.PhpClientCodegen
Library is Used by:
vitexsoftware/rbczpremiumapi 适用场景与选型建议
vitexsoftware/rbczpremiumapi 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 338 次下载、GitHub Stars 达 6, 最近一次更新时间为 2023 年 03 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「php」 「rest」 「api」 「sdk」 「openapi」 「openapitools」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 vitexsoftware/rbczpremiumapi 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 vitexsoftware/rbczpremiumapi 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 vitexsoftware/rbczpremiumapi 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A PSR-7 compatible library for making CRUD API endpoints
Api bundle
Alfabank REST API integration
A Flickr wrapper to allow you to call the Flickr api with Guzzle as the backend.Goal is to have 100% Flickr api coverage rather than just upload/display photos (currently at 23%).
BlockCypher's PHP SDK for REST API
Helper classes for creating cookie headers
统计信息
- 总下载量: 338
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-28