- ApiKey is no more mandatory when creating a Client. Useful when you want to perform Public API calls only.
- Added possibility for late
$client->setApiKey('YOUR_API_TOKEN')
and$client->setEnvironment('sandbox')
assignments. - Added support for Public API calls.
- Added support for Get Exchange Rate
- Added support for List Exchange Rates
- Added support for Ping
- Added support for IP Addresses
- Added support for Currencies
- Added support for Platforms
- Library now requires PHP 7.3.0 or greater.
- Added support for an additional Payment Gateway API calls.
- Added support for Checkout
- Added support for List Orders
- Added possibility to extend and/or use custom HttpClient.
- Library was completely refactored from the ground up and resulted into usage changes.
\CoinGate\CoinGate::config(...)
=>$client = new \CoinGate\Client('YOUR_API_TOKEN')
\CoinGate\Merchant\Order::create($params)
=>$client->order->create($params)
\CoinGate\Merchant\Order::find(7294)
=>$client->order->get(7294)