Russian | English
Client to work on the Protocol for mass payouts
You can with this SDK:
- Generate a certificate for interaction with YooMoney.
- Transfer money to individuals for wallets in YooMoney, mobile phone numbers, Bank cards and accounts (makeDeposition).
- To test the possibility of transfer of remittances to wallets in YooMoney (testDeposition).
- Keep track of the balance of payments (balance).
- Receive notifications the unsuccessful status of transfers to a Bank account, card, or mobile phone (errorDepositionNotification).
PHP 5.6.0 (or later version) with the libcurl and libxml libraries
- Install Composer, a package manager.
- In the console, run the following command:
composer require yoomoney/yookassa-payout-sdk-php
- Add a string
"yoomoney/yookassa-payout-sdk-php": "^2.0"
to the list of dependencies of your project in the composer.json file
...
"require": {
"php": ">=5.6.0",
"yoomoney/yookassa-payout-sdk-php": "^2.0"
...
- Refresh the project's dependencies. In the console, navigate to the catalog with composer.json and run the following command:
composer update
- Adjust your project's code to activate automated uploading of files for our product:
require __DIR__ . '/vendor/autoload.php';
- Download the YooMoney API PHP Client Library archive, extract it and copy the lib catalog to the required place of your project.
- Adjust your project's code to activate automated uploading of files for our product:
require __DIR__ . '/lib/autoload.php';