WebMoney Withdrawal
The following method IDs are covered in this section:
ID | Name | Credit/Debit State |
---|---|---|
35 | WebMoneyWithdrawal | WithdrawnByProvider (20) |
Payment method interaction type: Synchronous execution (see Interaction Types).
Redirect Integration
Coming soon.
Content for this section will be added shortly.
Backend2BackendIntegration
The following table contains the fields to be sent in the initiatePaymentRequest.specificPaymentAccountData xml section:
key (value type, account type, required) | value |
---|---|
CustomerWMID (string) | Webmoney CustomerID |
StorePurse (string) | PurseID of the customer |
There are no specificPaymentData.
The following parameters can be provided in initiatePaymentRequest.specificPaymentData from roughly March 27th 2019 onwards (planned):
key (value type, account type, required) | value |
---|---|
PaymentDescription (string) | The purpose of the payment. |
Example initiatePaymentRequest:
<initiatePaymentRequest xmlns="http://www.cqrpayments.com/PaymentProcessing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<merchantID>YourMerchantID</merchantID>
<shopID>YourShopID</shopID>
<merchantTransactionID>0e23b2f1-1d92-4ddd-8d43-9de4e77e279b</merchantTransactionID>
<paymentMethodID>35</paymentMethodID>
<amount currencyCode="RUB">100</amount>
<userID>d48693ca-e96e-4ca1-9e01-035645a79300</userID>
<userData></userData>
<userIP>127.0.0.1</userIP>
<userSessionID>6a956eae-d903-4a01-8170-20dae92673d1</userSessionID>
<creationTypeID>1</creationTypeID>
<paymentAccountID>4765ad36-93ea-4327-a66f-767eb6f04e5d</paymentAccountID>
<paymentAccount>
<specificPaymentAccountData>
<data xsi:type="keyStringValuePair">
<key>CustomerWMID</key>
<value>testID</value>
</data>
<data xsi:type="keyStringValuePair">
<key>StorePurse</key>
<value>R846307738022</value>
</data>
</specificPaymentAccountData>
</paymentAccount>
</initiatePaymentRequest>
Example initiatePaymentResponse:
<initiatePaymentResponse xmlns="http://www.cqrpayments.com/PaymentProcessing">
<payment>
<merchantID>YourMerchantID</merchantID>
<shopID>YourShopID</shopID>
<paymentMethod>
<key>35</key>
<value>WebMoneyWithdrawal</value>
</paymentMethod>
<merchantTransactionID>0e23b2f1-1d92-4ddd-8d43-9de4e77e279b</merchantTransactionID>
<paymentID>a5afdad9-91b3-4222-b6c8-e187627639aa</paymentID>
<userID> d48693ca-e96e-4ca1-9e01-035645a79300</userID>
<paymentProvider>
<key>37</key>
<value>WebMoney</value>
</paymentProvider>
<amount currencyCode="RUB">100</amount>
<creationType>
<key>1</key>
<value>User</value>
</creationType>
<userIP>127.0.0.1</userIP>
<state>
<id>c8cd1ccf-a056-411d-b617-58b9f30a1c60</id>
<definition>
<key>20</key>
<value>WithdrawnByProvider</value>
</definition>
<createdOn>2011-05-18T09:28:28.0867184Z</createdOn>
<paymentStateDetails xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"></paymentStateDetails>
</state>
<isExecuted>true</isExecuted>
<baseAmount currencyCode="RUB">100</baseAmount>
<paymentDetails>
<detail xsi:type="keyStringValuePair">
<key>WebMoneyWithdrawalExecutionCode</key>
<value>0</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>WebMoneyWithdrawalDesc</key>
<value></value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>WebmoneyTransactionID</key>
<value>20111219153700370</value>
</detail>
<detail xsi:type="keyDecimalValuePair">
<key>WebMoneyWithdrawalFeeAmount</key>
<value>0.400000000</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>ProviderExternalID</key>
<value>844168</value>
</detail>
</paymentDetails>
<paymentAccount>
<paymentAccountID>e081cfd9-f7f6-40c9-b052-2a744c8652b6</paymentAccountID>
</paymentAccount>
</payment>
</initiatePaymentResponse>
Possible payment states in initiatePaymentResponse:
Payment State | Description |
---|---|
WithdrawnByProvider (20) | OK state; Redirect user to the Success Page URL |
ProviderCommunicationErrorOccurred (233) | Error state; Communication error with provider occurred |
Cancelled (113) | Error state; The payment was refused by provider and automatically cancelled |
WithdrawErrorReportedByProvider (21) | Error state; Error was reported by provider |
Notifications
The standard notification mechanism is used for notifying the merchant in the background (asynchronously) about payment state changes. For more information see PaymentStateChangedNotification.
In the Merchant Notification message “retval”, “retdesc”, “operation.id”, “comiss” parameters will be sent (in the paymentDetails.details collection the elements with “WebMoneyWithdrawalExecutionCode”, “WebMoneyWithdrawalDesc”, “WebmoneyTransactionID”, “WebMoneyWithdrawalFeeAmount” keys).
Example handlePaymentStateChangedNotificationRequest for WebMoney Withdrawal in WithdrawnByProvider state:
<?xml version="1.0" encoding="utf-16"?>
<handlePaymentStateChangedNotificationRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<payment xmlns="http://www.cqrpayments.com/PaymentProcessing" xsi:type="paymentWithPaymentAccount">
<merchantID>YourMerchant</merchantID>
<shopID>YourShop</shopID>
<paymentMethod>
<key>35</key>
<value>WebMoneyWithdrawal</value>
</paymentMethod>
<merchantTransactionID>38324c39-fd8b-4523-9641-673e4a79381b</merchantTransactionID>
<paymentID>5cab04cc-a3d3-44a8-b000-ca1709d88aa8</paymentID>
<userID>048bb05c-2ec8-4f16-a27f-ac50e47f088e</userID>
<paymentProvider>
<key>37</key>
<value>WebMoney</value>
</paymentProvider>
<amount currencyCode="EUR">10.0000</amount>
<creationType>
<key>1</key>
<value>User</value>
</creationType>
<userIP>127.0.0.1</userIP>
<state>
<id>80d3a432-82d6-42bd-80b1-8c5479c19ad2</id>
<definition>
<key>20</key>
<value>WithdrawnByProvider</value>
</definition>
<createdOn>2011-12-15T14:43:59.977</createdOn>
<description />
<paymentStateDetails xsi:nil="true" />
</state>
<isExecuted>true</isExecuted>
<baseAmount currencyCode="EUR">10.0000</baseAmount>
<paymentDetails>
<detail xsi:type="keyStringValuePair">
<key>WebMoneyWithdrawalExecutionCode</key>
<value>0</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>WebMoneyWithdrawalDesc</key>
<value></value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>WebmoneyTransactionID</key>
<value>20111219153700370</value>
</detail>
<detail xsi:type="keyDecimalValuePair">
<key>WebMoneyWithdrawalFeeAmount</key>
<value>0.400000000</value>
</detail>
<detail xsi:type="keyStringValuePair">
<key>ProviderExternalID</key>
<value>844168</value>
</detail>
</paymentDetails>
<paymentAccount>
<paymentAccountID>e081cfd9-f7f6-40c9-b052-2a744c8652b6</paymentAccountID>
</paymentAccount>
</payment>
</handlePaymentStateChangedNotificationRequest>
Updated over 5 years ago