PHP binding for TransferWise API v1
Note: This library is under active development as we expand it to cover our (expanding!) API. Consider the public API of this package a little unstable as we work towards a v1.0.
The recommended way to install this package is via the Packagist Dependency Manager (transferwise-php/sdk).
The TransferWise API can be found here.
- Borderless Accounts
- Get Account Balance
- Get Account Statement
- Convert Currencies
- Get Available Currencies
- Get Currency Pairs
- Exchange Rates
- Quotes (Works in progress)
- Recipient Accounts
- Terms and Conditions
- Users (Works in progress)
- User Profiles
Note that this repository is currently under development, additional classes and endpoints being actively added.
<?php require 'vendor/autoload.php'; use TransferWise\SDK; $apiKey = 'your-api-key-here'; $client = SDK::createClient($apiKey, SDK::API_MODE_SANDBOX); $sdk = new SDK($client); // Show current authenticated user /** @var \TransferWise\Model\Token $whoami */ $whoami = $sdk->users()->me(); // List transfers $transfers = $sdk->transfers()->list(['status' => 'funds_refunded']);
We welcome community contribution to this repository. CONTRIBUTING.md will help you start contributing.
Licensed under the 3-clause BSD license. See the LICENSE file for details.