This operation is used for making a transfer to a Yandex.Money Wallet. The Wallet number is passed in the dstAccount parameter. The paymentParams parameters pass data that is required for depositing to the appropriate Wallet.
Before sending the money to the user, the ability to deposit the funds must be checked using the testDeposition request. This request lets you check whether the amount specified can be transferred to the appropriate user, including:
When a testDeposition request is received, the deposit is not made.
The testDeposition and makeDeposition requests have the same set of parameters.
ID of the transfer recipient: Wallet number, phone number, or payment code.
The user's Wallet number in Yandex.Money, such as 4100175017397. The length is from 11 to 16 digits.
The phone number linked to the Yandex.Money Wallet (money is deposited to this Wallet). Only mobile phone numbers from Russian mobile carriers are allowed. The recommended format is 10 digits without any other symbols or spaces (ex. 79217575400).
If the ID passed is a phone number that isn't linked to a Yandex.Money Wallet, the money is deposited to this mobile phone account.
The payment code is generated in the Yandex.Money service. Format: row of digits with no spaces; may begin with 255, 256, 257, 50, 51.
Operation ID. Must be unique for the Counterparty over the entire history of operations. Recommended values: a positive integer in decimal notation.
The date and time the operation request was formed on the Counterparty's side, according to their system.
The transfer amount. For example: 12.34.
Currency code of the transfer. Possible values:
Counterparty ID issued by Yandex.Money.
up to 128 characters
|The reason for making the transfer.|
Request element for transmitting additional transfer parameters.
<testDepositionRequest agentId="123" clientOrderId="12345" requestDT="2011-07-01T20:38:00.000Z" dstAccount="410011234567" amount="10.00" currency="643" contract="Win in the game Sphere"/>
<makeDepositionRequest agentId="200225" clientOrderId="272517" requestDT="2013-04-12T00:01:54.000Z" dstAccount="2570066957329" amount="249.00" currency="643" contract=""> <paymentParams> <pof_offerAccepted>1</pof_offerAccepted> <PROPERTY1>905</PROPERTY1> <PROPERTY2>2075556</PROPERTY2> <smsPhoneNumber>79653457676</smsPhoneNumber> </paymentParams> </makeDepositionRequest>
Responses to the testDeposition and makeDeposition requests have the same set of parameters.
Result of executing the operation. The value of this field should be used on the Counterparty's side to make a decision about the request state. See Request status codes
Code of the request execution error. Additional explanation of the status.
The value of the clientOrderId request parameter.
Time when the request was processed, according to the Yandex.Money server. For a successful transfer, this is the actual time when money was transferred.
The difference between the security amount that the Counterparty has transferred to the gateway account in Yandex.Money, and the amount of money that Yandex.Money has transferred to users at the request of the Counterparty. This parameter is passed in the response only for the makeDeposition request, and only if the transfer was successful.
Optional field. May contain an additional explanation for refusals to accept the transfer. This text contains technical information and should not be displayed in any user interface.
This field contains information about the status of the Wallet in the Yandex.Money service. Only present for deposits to Yandex.Money Wallets.
<testDepositionResponse clientOrderId="12345" status="0" processedDT="2011-07-01T20:38:01.000Z"/>
<makeDepositionResponse clientOrderId="12345" status="0" processedDT="2011-07-01T20:38:01.000Z" balance="1000.00"/>