vinkas/airwallex
最新稳定版本:v1.0.3
Composer 安装命令:
composer require vinkas/airwallex
包简介
PHP SDK for Airwallex API
README 文档
README
PHP SDK for Airwallex API
Installation
The package vinkas/airwallex can be installed using composer via Packagist.
composer require vinkas/airwallex
Configuration
Set the Airwallex Client ID and API Key values in Environment variables using the keys AIRWALLEX_CLIENT_ID and AIRWALLEX_API_KEY.
Usage
Create a new Client instance and get the balances related endpoints like below
use Vinkas\Airwallex\Client; $client = new Client(); $balances = $client->getBalances()->getCurrent()->array(); $balanceHistory = $client->getBalances()->getHistory()->object(); // Result will include records for the last 7 days by default $balanceHistory = $client->getBalances()->getHistory($from, $to)->object(); // $from & $to - any dates in ISO8601 format. max time range - 7 days
For more API-related details refer to https://www.airwallex.com/docs/api
统计信息
- 总下载量: 196
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-04