Yandex.Money withdraw

Yandex.Money is wallet payment method offered by Yandex.

The following method IDs are covered in this section:

IDNameCredit/Debit State
323YandexMoneyWithdrawWithdrawnByProvider (20)

Payment method interaction type: Redirection to External Payment Provider (see Interaction Types).

  1. User initiates withdraw via Yandex.Money
  2. Merchant sends initiatePaymentRequest to PXP
  3. PXP sends testDepositionRequest to Yandex
  4. PXP receives testDepositionResponse from Yandex
  5. PXP sends makeDepositionRequest to Yandex
  6. PXP receives makeDepositionResponse from YandexMerchant receives
  7. initiatePaymentResponse from PXP
  8. Merchant displays result to user
801

Redirect Integration

Currently not supported.

Backend2Backend Integration

The following table contains the fields to be sent in the initiatePaymentRequest.specificPaymentAccountData xml section:

key (value type, account type, required)value
AccountNumber (string, required)User's account number

Scenario: Successful Payment

<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <merchantID>KalixaAcceptDemo</merchantID>
    <shopID>KalixaAcceptDemo</shopID>
    <merchantTransactionID>4643334535353246-77-t7t9-g49579</merchantTransactionID>
    <paymentMethodID>323</paymentMethodID>
    <amount currencyCode="RUB">50</amount>
    <userID>usertsani</userID>
    <userIP>127.0.0.1</userIP>
    <userSessionID>0bde6d65-1c02-42c8-9a4f-149f2c5779fc</userSessionID>
    <creationTypeID>1</creationTypeID>
    <paymentAccount>
        <specificPaymentAccountData>
            <data xsi:type="keyStringValuePair">
                <key>AccountNumber</key>
                <value>4100322407607</value>
            </data>
        </specificPaymentAccountData>
    </paymentAccount>
</initiatePaymentRequest>
<initiatePaymentResponse xmlns="http://www.cqrpayments.com/PaymentProcessing" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <payment xsi:type="paymentWithPaymentAccount">
        <merchantID>KalixaAcceptDemo</merchantID>
        <shopID>KalixaAcceptDemo</shopID>
        <paymentMethod>
            <key>323</key>
            <value>YandexMoneyWithdrawal</value>
        </paymentMethod>
        <merchantTransactionID>4643334535353246-77-t7t9-g49579</merchantTransactionID>
        <paymentID>23a828f6-ee96-4d10-8235-c34547f01ca8</paymentID>
        <userID>usertsani</userID>
        <paymentProvider>
            <key>177</key>
            <value>Yandex</value>
        </paymentProvider>
        <amount currencyCode="RUB">50</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>90084a37-fb27-4a90-af23-7dec5f57fb46</id>
            <definition>
                <key>20</key>
                <value>WithdrawnByProvider</value>
            </definition>
            <createdOn>2019-01-21T11:44:27.9952256Z</createdOn>
            <paymentStateDetails xsi:nil="true" />
        </state>
        <isExecuted>true</isExecuted>
        <baseAmount currencyCode="EUR">1.23</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>1698882</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>62b6708c-907e-45dd-9cd9-3a72cef6fcdf</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>accountNumber</key>
                    <value>4100322407607</value>
                </detail>
            </details>
        </paymentAccount>
    </payment>
</initiatePaymentResponse>
890