Payouts to a YooMoney wallet (Yandex.Money)
You can send a payout to a YooMoney wallet (Yandex.Money). To do that, you will need a wallet number and an amount in ruble decimal format.
Payout parameters
Name | Mandatory | Type | Description |
---|---|---|---|
payment_method/payout_details | + | object | Payout details |
type | + | string | Value: wallet |
wallet | + | object | Recipient's electronic wallet |
type | + | string | Wallet type. Value: yoomoney |
yoomoney | + | object | YooMoney wallet details |
account | + | string | YooMoney wallet number, 11 to 20 digits. Example: 4100175017397 |
amount_details | + | object | Amount |
amount | + | int | Amount in ruble decimal format. The value must be greater than zero. To send 100 rubles, specify 10000 |
currency | + | string | ISO 4217 currency code. Case insensitive. Always: rub |
participant_details | - | object | Information about the participants (the sender and the recipient) |
metadata | - | * | Additional information. Any data you need in order to perform the operation. Returned in responses and webhooks |
How to perform a payout
To make a payout, follow the standard scenario.
YooMoney wallet payout request example
curl -X POST \
https://demo.smart-glocal.com/api/v1/session/init/payout \
-H 'Content-Type: application/json' \
-H 'X-PARTNER-PROJECT: your_project_name' \
-H 'X-PARTNER-SIGN: signature' \
-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"
}
}
}'