Payout to a QIWI Wallet
You can perform a payout to a QIWI wallet using the recipient's phone number.
Mandatory payout parameters
To do this, you will need the recipient's phone number and the amount in ruble decimal format.
Name | Type | Description |
---|---|---|
payment_method | PaymentMethod | Payment details object |
type | string | value: wallet |
wallet | WalletPaymentMethod | Recipient's electronic wallet |
type | string | Wallet type. Possible values: qiwi |
qiwi | QiwiWalletPaymentMethod | QIWI wallet details |
account | string | QIWI Wallet ID: holder phone number in international format (without + ). Example: 79210010203 |
amount_details | AmountDetails | The amount |
amount | int | The 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 | string | The 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.
QIWI 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": "qiwi",
"qiwi": {
"account": "79687638997"
}
}
},
"amount_details": {
"amount": 10000,
"currency": "rub"
},
"metadata": "good",
"participant_details": {
"recipient": {
"full_name": "Ivanov Ivan Ivanovich"
}
}
}'