LuxonPay Wallet withdraw

LuxonPayWithdrawal is a payment method, offered by Luxon Payments. It allows users to initiate withdraws from merchant's account. EUR is the only currency allowed. If a payment is initiated in different currency, it will be converted to EUR by PXP.

The following method IDs are covered in this section:

ID

Name

Credit/Debit State

327

LuxonPayWithdrawal

WithdrawnByProvider (20)

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

(Short additional explanation how the method works technically)

Redirect Integration

Currently not supported.

Backend2Backend Integration

The following parameters can be provided in initiatePaymentRequest:

key (value type, account type, required)

value

AccountNumber (string, required)

User wallet ID on Luxon site

PaymentDescription (string )

Billing descriptor

PaymentDescriptionLanguageCode (string )

Two-digits billing descriptor language code

Scenario: Successful Payment

Example initiatePaymentRequest:

<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <merchantID>KalixaAcceptDEMO</merchantID>
    <shopID>KalixaAcceptDEMO</shopID>
    <merchantTransactionID>4566fd91-1e10-4608-c8f-f9439877d247</merchantTransactionID>
    <paymentMethodID>327</paymentMethodID>
    <amount currencyCode="EUR">1.13</amount>
    <userID>6895456</userID>
    <userData>
        <username>6895456</username>
    </userData>
    <userIP>127.0.0.1</userIP>
    <userSessionID>451afd0f-1e10-4608-bc8f-fb43987fdc45</userSessionID>
    <creationTypeID>1</creationTypeID>
    <specificPaymentData>
        <data xsi:type="keyStringValuePair">
            <key>PaymentDescription</key>
            <value>DTD payout 1.13 EUR</value>
        </data>
        <data xsi:type="keyStringValuePair">
            <key>PaymentDescriptionLanguageCode</key>
            <value>EN</value>
        </data>
    </specificPaymentData>
    <paymentAccount>
        <specificPaymentAccountData>
            <data xsi:type="keyStringValuePair">
                <key>AccountNumber</key>
                <value>0xf123324dd</value>
            </data>
        </specificPaymentAccountData>
    </paymentAccount>
</initiatePaymentRequest>

Example initiatePaymentResponse:

<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <merchantID>KalixaAcceptDEMO</merchantID>
    <shopID>KalixaAcceptDEMO</shopID>
    <merchantTransactionID>4566fd91-1e10-4608-c8f-f9439877d247</merchantTransactionID>
    <paymentMethodID>327</paymentMethodID>
    <amount currencyCode="EUR">1.13</amount>
    <userID>6895456</userID>
    <userData>
        <username>6895456</username>
    </userData>
    <userIP>127.0.0.1</userIP>
    <userSessionID>451afd0f-1e10-4608-bc8f-fb43987fdc45</userSessionID>
    <creationTypeID>1</creationTypeID>
    <specificPaymentData>
        <data xsi:type="keyStringValuePair">
            <key>PaymentDescription</key>
            <value>DTD payout 1.13 EUR</value>
        </data>
        <data xsi:type="keyStringValuePair">
            <key>PaymentDescriptionLanguageCode</key>
            <value>EN</value>
        </data>
    </specificPaymentData>
    <paymentAccount>
        <specificPaymentAccountData>
            <data xsi:type="keyStringValuePair">
                <key>AccountNumber</key>
                <value>0xf123324dd</value>
            </data>
        </specificPaymentAccountData>
    </paymentAccount>
</initiatePaymentRequest>

Notifications

The standard notification mechanism is used for notifying the merchant in the background (asynchronously) about payment state changes. For more information see PaymentStateChangedNotification.

Scenario: Successful Payment Notification

<?xml version="1.0" encoding="utf-16"?>
<handlePaymentStateChangedNotificationRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <payment xmlns:q1="http://www.cqrpayments.com/PaymentProcessing" xsi:type="paymentWithPaymentAccount">
        <merchantID>KalixaAcceptDEMO</merchantID>
        <shopID>KalixaAcceptDEMO</shopID>
        <paymentMethod>
            <key>327</key>
            <value>LuxonPayWithdrawal</value>
        </paymentMethod>
        <merchantTransactionID>5003e90a-cfe0-4e7f-a9ac-0b36766f302d</merchantTransactionID>
        <paymentID>68c62a61-22d4-4387-a0c1-72a28f20529a</paymentID>
        <userID>6895457</userID>
        <paymentProvider>
            <key>178</key>
            <value>Luxon</value>
        </paymentProvider>
        <amount currencyCode="EUR">2.0000</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>5ce9f109-c5ad-48de-afd8-bbe13d0b7e1a</id>
            <definition>
                <key>20</key>
                <value>WithdrawnByProvider</value>
            </definition>
            <createdOn>2019-02-07T21:18:07.51</createdOn>
            <paymentStateDetails>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseCode</key>
                    <value>PROCESSED</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseMessage</key>
                    <value>Transaction has been successfully processed</value>
                </detail>
            </paymentStateDetails>
        </state>
        <isExecuted>true</isExecuted>
        <baseAmount currencyCode="EUR">2.0000</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>27187737</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderTransactionID</key>
                <value>a58e59d8-845d-4870-8382-1d448750e543</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>e4a68a14-4f85-4456-a8a6-343373a1df03</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>accountNumber</key>
                    <value>0xf123324dd</value>
                </detail>
            </details>
        </paymentAccount>
    </payment>
</handlePaymentStateChangedNotificationRequest>

Scenario: Unsuccessful Payment Notification

<?xml version="1.0" encoding="utf-16"?>
<handlePaymentStateChangedNotificationRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <payment xmlns:q1="http://www.cqrpayments.com/PaymentProcessing" xsi:type="paymentWithPaymentAccount">
        <merchantID>KalixaAcceptDEMO</merchantID>
        <shopID>KalixaAcceptDEMO</shopID>
        <paymentMethod>
            <key>327</key>
            <value>LuxonPayWithdrawal</value>
        </paymentMethod>
        <merchantTransactionID>ef6f59b5-8250-4ecb-852b-f4f886b0506c</merchantTransactionID>
        <paymentID>f699cd80-5f99-4320-888f-90bf53b20194</paymentID>
        <userID>6895457</userID>
        <paymentProvider>
            <key>178</key>
            <value>Luxon</value>
        </paymentProvider>
        <amount currencyCode="EUR">1.5100</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>cbbf743c-78b2-4278-b82e-4df6db36e4cb</id>
            <definition>
                <key>100</key>
                <value>RefusedByProvider</value>
            </definition>
            <createdOn>2019-02-07T21:18:22.227</createdOn>
            <paymentStateDetails>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseCode</key>
                    <value>REJECTED</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseMessage</key>
                    <value>Transaction has been rejected</value>
                </detail>
                <detail xsi:type="keyIntValuePair">
                    <key>PaymentStateReasonID</key>
                    <value>1</value>
                </detail>
            </paymentStateDetails>
        </state>
        <isExecuted>false</isExecuted>
        <baseAmount currencyCode="EUR">1.5100</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>27187771</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderTransactionID</key>
                <value>f98c0f90-42c2-4ab1-8e5b-ddb512ee707c</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>e4a68a14-4f85-4456-a8a6-343373a1df03</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>accountNumber</key>
                    <value>0xf123324dd</value>
                </detail>
            </details>
        </paymentAccount>
    </payment>
</handlePaymentStateChangedNotificationRequest>