mirolabs / dotpay-client
service for api dotpay admin and transaction
dev-master
2017-02-23 13:38 UTC
Requires
- php: >=5.5
- guzzlehttp/guzzle: ^6.2
- jms/serializer: ^1.1
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-10-26 19:37:56 UTC
README
#dotpay-client
notification
$dotpay = new \mirolabs\dotpay\client\payment\DotPay('pin', 'current');
$dotpay->setNotificationObjects([$notificationClass]);
$dotpay->receivedNotice();
admin
use mirolabs\dotpay\client\admin\Configuration;
use mirolabs\dotpay\client\admin\Accounts;
$config = new Configuration(login, password);
$accounts = new Accounts($config);
$accounts->getAccounts();