Transfer form
The YooMoney form is a set of fields with information about a transfer. You can embed payment form into your interface (for instance, a website or blog). When the sender pushes the button, the details from the form are sent to YooMoney and an order for a transfer to your wallet is initiated.
The form is sent using the POST method.
Address for sending requests
Required parameters
receiverstringNumber of the YooMoney wallet which money from senders is credited to.
quickpay-formstringForm type. Fixed value: button.
Payment method. Possible values:
  • PC for a payment from a YooMoney wallet;
  • AC for a payment from a bank card.
sumCurrencyAmountTransfer amount (the amount debited from the sender).
Optional parameters
up to 64 characters
The label that a site or app assigns to a certain transfer. For instance, a code or order identifier may be used for this label.
successURLstring, URL pathURL where the user is redirected after the transfer.
Calculating commission
You can calculate the commission charge (for instance, to show it to the transfer sender) by applying a multiplier using a formula with the following parameters:
  • amount_due for the amount to be received;
  • sum for the amount to be debited;
  • a for the commission multiplier.
Payment typeCommission multiplier (a)Where the commission comes fromFormula for calculationExample
YooMoney wallet
0,01from the recipient, off the amount to be receivedamount_due = sum — sum * (a / (1 + a))The sender transfers 1,000 rubles from the wallet. The recipient will get 990 rubles and 9 kopecks.
Bank card
0,03from the recipient, off the amount to be debitedamount_due = sum * (1 — a)The sender transfers 1,000 rubles from the card. The recipient will get 970 rubles.
Sample form
<form method="POST" action="">
    <input type="hidden" name="receiver" value="41001xxxxxxxxxxxx"/>
    <input type="hidden" name="label" value="$order_id"/>
    <input type="hidden" name="quickpay-form" value="button"/>
    <input type="hidden" name="sum" value="4568.25" data-type="number"/>
    <label><input type="radio" name="paymentType" value="PC"/>YooMoney</label>
    <label><input type="radio" name="paymentType" value="AC"/>Bank card</label>
    <input type="submit" value="Transfer"/>
See also
Notifications about transfers Widgets and buttons Construction Kit