Please see the official multisafepay client(https://github.com/MultiSafepay/php-sdk)
API Client for the MultiSafepay API.
For more information about the MultiSafepay API see: https://www.multisafepay.com/documentation/doc/API-Reference/
The following versions of PHP are supported.
- PHP 5.6
- PHP 7.0
- HTTPlug compatible HTTP Library. (See: http://docs.php-http.org/en/latest/httplug/users.html)
You can use composer require
to add the client to your composer.json
file.
$ composer require ntholenaar/multisafepay-client
$client = new Client();
$client->setApiKey('API-KEY');
$response = $client->environment('test')->api('gateways')->all();
var_dump($response);
$response = $client->environment('test')->api('issuers')->all('IDEAL');
var_dump($response);
$response = $client->environment('test')->api('orders')->show('ORDER-ID');
var_dump($response);
The MIT License (MIT). Please see License File for more information.