Skip to main content

Payout to a YooMoney wallet

You can send a payout to the YooMoney wallet (Yandex.Money). For that, you will need a wallet number and an amount in copecks.

Mandatory payout parameters

NameTypeDescription
payment_methodPaymentMethodPayment details object
typestringValue: wallet
walletWalletPaymentMethodRecipient's electronic wallet
typestringWallet type. Value: yoomoney
yoomoneyYooMoneyWalletPaymentMethodYooMoney wallet details
accountstringYooMoney wallet number, 11 to 20 digits. Example: 4100175017397
amount_detailsAmountDetailsThe amount
amount intThe amount in ruble decimal format. The value must be greater than zero. If you want to send 100 rubles, you will need to specify 10000
currency stringThe ISO 4217 currency code. Case insensitive. Always: rub

How to perform the payout

The payout is performed as in the general scenario. Open parameters are passed. You do not need to use the widget.

See the payout scenario

YooMoney wallet payout request example

curl -X POST \
https://demo.bank131.ru/api/v1/session/init/payout \
-H 'Content-Type: application/json' \
-H 'X-PARTNER-PROJECT: your_project_name' \
-H 'X-PARTNER-SIGN: 721af394d5a7aefd0e91f5390abc4d7e20fb2b5784b091fef621f3c61b7abb4b' \
-d '{
"payment_method": {
"type": "wallet",
"wallet": {
"type": "yoomoney",
"yoomoney": {
"account": "410012411727100"
}
}
},
"amount_details": {
"amount": 10000,
"currency": "rub"
},
"metadata": "good",
"participant_details": {
"recipient": {
"full_name": "Ivanov Ivan Ivanovich"
}
}
}'