Credit card deposits (via directa24/Astropay)

Directa24 is processing credit card payments for the Latin America.

The provider for this payment method is called "Astropay".

The following method IDs are covered in this section:

ID

Name

Credit/Debit State

2

Visa Deposit

AuthorisedByProvider (13)

1

ECMC Deposit

AuthorisedByProvider (13)

113

AMEX Deposit

AuthorisedByProvider (13)

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

Redirect Integration

Currently not supported.

Backend2Backend Integration

The following table contains the fields to be sent in initiatePaymentRequest:

key (value type, account type, required)

value

userIP
(string, required)

The IP of the user

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

key (value type, account type, required)

value

PaymentDescription
(string)

Description of the payment

PaymentDescriptionLanguageCode
(string)

Language value for the description

PaymentProviderID (Int)

The provider´s ID - 152 for Astropay

Please note that sending data of the user is essential for this payment method as the data is sent to provider. The following parameters must be provided in initiatePaymentRequest.userData xml section:

key (value type, account type, required)

value

Firstname
(string, required)

The user’s first name

Lastname
(string, required)

The user’s last name

Email
(string, required)

The user’s email address

Document
(string, required)

The user´s document ID

Mexico: CURP /RFC / IFE / PASS / Residencia: Length between 8 and 18 inclusive

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>B2BTestMerchant</merchantID>
    <shopID>IrisMockShop</shopID>
    <merchantTransactionID>aba05322-fc95-402a-a1b1-7ee5f62e1b9f</merchantTransactionID>
    <paymentMethodID>2</paymentMethodID>
    <amount currencyCode="USD">99.99</amount>
    <userID>zc1544de-7443-45f6-976e-d253c2</userID>
    <userData>
        <username>Johndoe</username>
        <firstname>John</firstname>
        <lastname>Doe</lastname>
        <currencyCode xsi:nil="true" />
        <languageCode>EN</languageCode>
        <email>[email protected]</email>
        <address>
            <street>Marxergasse</street>
            <houseName xsi:nil="true" />
            <houseNumber>1b</houseNumber>
            <houseNumberExtension xsi:nil="true" />
            <postalCode>1030</postalCode>
            <city xsi:nil="true" />
            <state xsi:nil="true" />
            <countryCode2>MX</countryCode2>
            <telephoneNumber>00437778889999</telephoneNumber>
        </address>
        <gender>Male</gender>
        <identificationNumber>84932568207</identificationNumber>
        <identificationNumberType xsi:nil="true" />
        <drivingLicenseNumber xsi:nil="true" />
        <drivingLicenseIssuingState xsi:nil="true" />
    </userData>
    <userIP>127.0.0.1</userIP>
    <userSessionID>14aa4a97-024d-46d1-afc0-f3b1db91fe72</userSessionID>
    <creationTypeID>1</creationTypeID>
    <specificPaymentData>
        <data xsi:type="keyStringValuePair">
            <key>PaymentDescription</key>
            <value>51e6372f-7730-4f17-8ef0-974e54df6234</value>
        </data>
        <data xsi:type="keyStringValuePair">
            <key>PaymentDescriptionLanguageCode</key>
            <value>en</value>
        </data>
        <data xsi:type="keyIntValuePair">
            <key>PaymentProviderID</key>
            <value>152</value>
        </data>
    </specificPaymentData>
    <paymentAccountID>dfby945c4-9cx5c2-4034-8234-2628z4c1283nl</paymentAccountID>
    <paymentAccount>
        <specificPaymentAccountData>
            <data xsi:type="keyStringValuePair">
                <key>CardNumber</key>
                <value>4111111372680044</value>
            </data>
            <data xsi:type="keyIntValuePair">
                <key>ExpiryYear</key>
                <value>2025</value>
            </data>
            <data xsi:type="keyIntValuePair">
                <key>ExpiryMonth</key>
                <value>12</value>
            </data>
            <data xsi:type="keyStringValuePair">
                <key>CardVerificationCode</key>
                <value>123</value>
            </data>
            <data xsi:type="keyStringValuePair">
                <key>HolderName</key>
                <value>John Doe</value>
            </data>
        </specificPaymentAccountData>
    </paymentAccount>
</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>B2BTestMerchant</merchantID>
    <shopID>IrisMockShop</shopID>
    <merchantTransactionID>ab0278d1-c891-459d-9314-c6bd3ced01a3</merchantTransactionID>
    <paymentMethodID>1</paymentMethodID>
    <amount currencyCode="USD">99.99</amount>
    <userID>zc1544de-7443-45f6-976e-d253c2</userID>
    <userData>
        <username>Johndoe</username>
        <firstname>John</firstname>
        <lastname>Doe</lastname>
        <currencyCode xsi:nil="true" />
        <languageCode>EN</languageCode>
        <email>[email protected]</email>
        <address>
            <street>Marxergasse</street>
            <houseName xsi:nil="true" />
            <houseNumber>1b</houseNumber>
            <houseNumberExtension xsi:nil="true" />
            <postalCode>1030</postalCode>
            <city xsi:nil="true" />
            <state xsi:nil="true" />
            <countryCode2>MX</countryCode2>
            <telephoneNumber>00437778889999</telephoneNumber>
        </address>
        <gender>Male</gender>
        <identificationNumber>84932568207</identificationNumber>
        <identificationNumberType xsi:nil="true" />
        <drivingLicenseNumber xsi:nil="true" />
        <drivingLicenseIssuingState xsi:nil="true" />
    </userData>
    <userIP>127.0.0.1</userIP>
    <userSessionID>3a236df3-01ad-4919-8f05-1314549a7bc0</userSessionID>
    <creationTypeID>1</creationTypeID>
    <specificPaymentData>
        <data xsi:type="keyStringValuePair">
            <key>PaymentDescription</key>
            <value>162546b8-c47f-4d31-b303-74f780af7570</value>
        </data>
        <data xsi:type="keyStringValuePair">
            <key>PaymentDescriptionLanguageCode</key>
            <value>en</value>
        </data>
        <data xsi:type="keyIntValuePair">
            <key>PaymentProviderID</key>
            <value>152</value>
        </data>
    </specificPaymentData>
    <paymentAccountID>dfby945c4-9cx5c2-4034-8234-2628z4c12836n</paymentAccountID>
    <paymentAccount>
        <specificPaymentAccountData>
            <data xsi:type="keyStringValuePair">
                <key>CardNumber</key>
                <value>5266001057658730</value>
            </data>
            <data xsi:type="keyIntValuePair">
                <key>ExpiryYear</key>
                <value>2025</value>
            </data>
            <data xsi:type="keyIntValuePair">
                <key>ExpiryMonth</key>
                <value>12</value>
            </data>
            <data xsi:type="keyStringValuePair">
                <key>CardVerificationCode</key>
                <value>123</value>
            </data>
            <data xsi:type="keyStringValuePair">
                <key>HolderName</key>
                <value>John Doe</value>
            </data>
        </specificPaymentAccountData>
    </paymentAccount>
</initiatePaymentRequest>

Example initiatePaymentResponse:

<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <payment xsi:type="paymentWithPaymentAccount">
        <merchantID>B2BTestMerchant</merchantID>
        <shopID>IrisMockShop</shopID>
        <paymentMethod>
            <key>2</key>
            <value>VISA Deposit</value>
        </paymentMethod>
        <merchantTransactionID>aba05322-fc95-402a-a1b1-7ee5f62e1b9f</merchantTransactionID>
        <paymentID>614918e9-65e0-49f8-975a-aed976ce759b</paymentID>
        <userID>zc1544de-7443-45f6-976e-d253c2</userID>
        <paymentProvider>
            <key>152</key>
            <value>Astropay</value>
        </paymentProvider>
        <amount currencyCode="USD">99.99</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>b761287a-e417-4bf7-8616-f4b283ede4c2</id>
            <definition>
                <key>13</key>
                <value>AuthorisedByProvider</value>
            </definition>
            <createdOn>2022-05-13T08:30:47.3392382Z</createdOn>
            <paymentStateDetails>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseCode</key>
                    <value>0</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseMessage</key>
                    <value>Approved or completed successfully</value>
                </detail>
            </paymentStateDetails>
        </state>
        <isExecuted>true</isExecuted>
        <baseAmount currencyCode="EUR">75.13</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ElectronicCommerceIndicator</key>
                <value>07</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderTransactionID</key>
                <value>2974657</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>614918e9-65e0-49f8-975a-aed976ce759b</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>dfby945c4-9cx5c2-4034-8234-2628z4c1283nl</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerCountry</key>
                    <value>AT</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>AccountFundingSource</key>
                    <value>Credit</value>
                </detail>
                <detail xsi:type="keyBooleanValuePair">
                    <key>FastFunds</key>
                    <value>false</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerName</key>
                    <value />
                </detail>
            </details>
        </paymentAccount>
    </payment>
</initiatePaymentResponse>
<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <payment xsi:type="paymentWithPaymentAccount">
        <merchantID>B2BTestMerchant</merchantID>
        <shopID>IrisMockShop</shopID>
        <paymentMethod>
            <key>1</key>
            <value>ECMC Deposit</value>
        </paymentMethod>
        <merchantTransactionID>ab0278d1-c891-459d-9314-c6bd3ced01a3</merchantTransactionID>
        <paymentID>c87694f2-04db-445a-8a1a-a36d10d65031</paymentID>
        <userID>zc1544de-7443-45f6-976e-d253c2</userID>
        <paymentProvider>
            <key>152</key>
            <value>Astropay</value>
        </paymentProvider>
        <amount currencyCode="USD">99.99</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>ff315b73-0cb5-4768-8c6b-fc4be004ed99</id>
            <definition>
                <key>13</key>
                <value>AuthorisedByProvider</value>
            </definition>
            <createdOn>2022-05-13T08:32:18.7766473Z</createdOn>
            <paymentStateDetails>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseCode</key>
                    <value>0</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseMessage</key>
                    <value>Approved or completed successfully</value>
                </detail>
            </paymentStateDetails>
        </state>
        <isExecuted>true</isExecuted>
        <baseAmount currencyCode="EUR">75.13</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ElectronicCommerceIndicator</key>
                <value>07</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderTransactionID</key>
                <value>8682116</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>c87694f2-04db-445a-8a1a-a36d10d65031</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>dfby945c4-9cx5c2-4034-8234-2628z4c12836n</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>MaskedNumber</key>
                    <value>526600******8730</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>AccountOwnerToken</key>
                    <value>be8d4fa5-1bf2-4079-ab1d-62073b8e45e8</value>
                </detail>
                <detail xsi:type="keyIntValuePair">
                    <key>ExpiryMonth</key>
                    <value>12</value>
                </detail>
                <detail xsi:type="keyIntValuePair">
                    <key>ExpiryYear</key>
                    <value>2025</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>HolderName</key>
                    <value>John Doe</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>CardType</key>
                    <value>Mastercard</value>
                </detail>
            </details>
        </paymentAccount>
    </payment>
</initiatePaymentResponse>

Example initiatePaymentResponse (state RefusedByProvider):

<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <payment xsi:type="paymentWithPaymentAccount">
        <merchantID>B2BTestMerchant</merchantID>
        <shopID>IrisMockShop</shopID>
        <paymentMethod>
            <key>2</key>
            <value>VISA Deposit</value>
        </paymentMethod>
        <merchantTransactionID>4a787cb7-c8a9-4625-9225-a2c4869efb40</merchantTransactionID>
        <paymentID>12832434-2c2b-4231-ab71-0913e8bc11f8</paymentID>
        <userID>zc1544de-7443-45f6-976e-d253c2</userID>
        <paymentProvider>
            <key>152</key>
            <value>Astropay</value>
        </paymentProvider>
        <amount currencyCode="USD">99.99</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>f7f77aae-0e1c-4188-a246-3e118f4adfda</id>
            <definition>
                <key>100</key>
                <value>RefusedByProvider</value>
            </definition>
            <createdOn>2022-05-13T08:36:11.0984154Z</createdOn>
            <paymentStateDetails>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseCode</key>
                    <value>34</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseMessage</key>
                    <value>Suspected fraud</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>PaymentStateReasonID</key>
                    <value>1</value>
                </detail>
            </paymentStateDetails>
        </state>
        <isExecuted>false</isExecuted>
        <baseAmount currencyCode="EUR">75.13</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ElectronicCommerceIndicator</key>
                <value>07</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderTransactionID</key>
                <value>5602558</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>12832434-2c2b-4231-ab71-0913e8bc11f8</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>dfby945c4-9cx5c2-4034-8234-2628z4c1283nl</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerCountry</key>
                    <value>AT</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>AccountFundingSource</key>
                    <value>Credit</value>
                </detail>
                <detail xsi:type="keyBooleanValuePair">
                    <key>FastFunds</key>
                    <value>false</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerName</key>
                    <value />
                </detail>
            </details>
        </paymentAccount>
    </payment>
</initiatePaymentResponse>

Example initiatePaymentResponse (state AuthoriseErrorReportedByProvider):

<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <payment xsi:type="paymentWithPaymentAccount">
        <merchantID>B2BTestMerchant</merchantID>
        <shopID>IrisMockShop</shopID>
        <paymentMethod>
            <key>2</key>
            <value>VISA Deposit</value>
        </paymentMethod>
        <merchantTransactionID>59fb7f39-593e-4efb-86c1-ee18e7f29597</merchantTransactionID>
        <paymentID>11c1c476-2b7f-40fa-a02e-687abc96facc</paymentID>
        <userID>zc1544de-7443-45f6-976e-d253c2</userID>
        <paymentProvider>
            <key>152</key>
            <value>Astropay</value>
        </paymentProvider>
        <amount currencyCode="USD">20.00</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>70316a64-72d9-49f2-8990-ca512b7438c8</id>
            <definition>
                <key>14</key>
                <value>AuthoriseErrorReportedByProvider</value>
            </definition>
            <createdOn>2022-05-13T08:37:36.3035845Z</createdOn>
            <paymentStateDetails>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseMessage</key>
                    <value>Field validation error. Check details</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderErrorResponseMessage</key>
                    <value>payer.document: Invalid document type and/or document</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>ProviderResponseCode</key>
                    <value>201</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>PaymentStateReasonID</key>
                    <value>1</value>
                </detail>
            </paymentStateDetails>
        </state>
        <isExecuted>false</isExecuted>
        <baseAmount currencyCode="EUR">15.03</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ElectronicCommerceIndicator</key>
                <value>07</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>11c1c476-2b7f-40fa-a02e-687abc96facc</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>dfby945c4-9cx5c2-4034-8234-2628z4c1283nl</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerCountry</key>
                    <value>AT</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>AccountFundingSource</key>
                    <value>Credit</value>
                </detail>
                <detail xsi:type="keyBooleanValuePair">
                    <key>FastFunds</key>
                    <value>false</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerName</key>
                    <value />
                </detail>
            </details>
        </paymentAccount>
    </payment>
</initiatePaymentResponse>

Example initiatePaymentResponse (state AuthoriseCommunicationErrorOccured):

<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <payment xsi:type="paymentWithPaymentAccount">
        <merchantID>B2BTestMerchant</merchantID>
        <shopID>IrisMockShop</shopID>
        <paymentMethod>
            <key>2</key>
            <value>VISA Deposit</value>
        </paymentMethod>
        <merchantTransactionID>2a14aee5-3bee-4cef-b7a5-b61b30385429</merchantTransactionID>
        <paymentID>e34b3c1e-d95d-4741-894a-2bb1a91213ff</paymentID>
        <userID>zc1544de-7443-45f6-976e-d253c2</userID>
        <paymentProvider>
            <key>152</key>
            <value>Astropay</value>
        </paymentProvider>
        <amount currencyCode="USD">99.99</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>f5c0e1e5-74a5-4abb-a86e-f534ddafecc9</id>
            <definition>
                <key>336</key>
                <value>AuthoriseCommunicationErrorOccurred</value>
            </definition>
            <createdOn>2022-05-13T08:34:26.7989023Z</createdOn>
            <description>Error handling command 'ChangePaymentStateCommand'
CommandExecutionContext[IsTransactional=False, PaymentProviderID=152, Payment[ID=41736461, UniqueID=e34b3c1e-d95d-4741-894a-2bb1a91213ff]].</description>
            <paymentStateDetails>
                <detail xsi:type="keyStringValuePair">
                    <key>PaymentStateReasonID</key>
                    <value>1</value>
                </detail>
            </paymentStateDetails>
        </state>
        <isExecuted>false</isExecuted>
        <baseAmount currencyCode="EUR">75.13</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ElectronicCommerceIndicator</key>
                <value>07</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>e34b3c1e-d95d-4741-894a-2bb1a91213ff</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>dfby945c4-9cx5c2-4034-8234-2628z4c1283nl</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerCountry</key>
                    <value>AT</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>AccountFundingSource</key>
                    <value>Credit</value>
                </detail>
                <detail xsi:type="keyBooleanValuePair">
                    <key>FastFunds</key>
                    <value>false</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerName</key>
                    <value />
                </detail>
            </details>
        </paymentAccount>
    </payment>
</initiatePaymentResponse>

Example initiatePaymentResponse (state AuthoriseErrorOccurred):

<?xml version="1.0" encoding="utf-8"?>
<initiatePaymentResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.cqrpayments.com/PaymentProcessing">
    <payment xsi:type="paymentWithPaymentAccount">
        <merchantID>B2BTestMerchant</merchantID>
        <shopID>IrisMockShop</shopID>
        <paymentMethod>
            <key>2</key>
            <value>VISA Deposit</value>
        </paymentMethod>
        <merchantTransactionID>2869ce60-a362-4d45-95b4-5412cbcb9ba4</merchantTransactionID>
        <paymentID>227eee1a-7e92-4e51-bb8d-6478ab4cd188</paymentID>
        <userID>325e3be3-e736-431a-b457-8be80e9e9ef3</userID>
        <paymentProvider>
            <key>152</key>
            <value>Astropay</value>
        </paymentProvider>
        <amount currencyCode="USD">99.99</amount>
        <creationType>
            <key>1</key>
            <value>User</value>
        </creationType>
        <userIP>127.0.0.1</userIP>
        <state>
            <id>9f2d32db-bd38-4d5a-9011-00003f592234</id>
            <definition>
                <key>15</key>
                <value>AuthoriseErrorOccurred</value>
            </definition>
            <createdOn>2022-05-13T08:38:34.2737627Z</createdOn>
            <description>Missing userData.identificationNumber for payment[PaymentID=41736470]</description>
            <paymentStateDetails>
                <detail xsi:type="keyStringValuePair">
                    <key>PaymentStateReasonID</key>
                    <value>1</value>
                </detail>
            </paymentStateDetails>
        </state>
        <isExecuted>false</isExecuted>
        <baseAmount currencyCode="EUR">75.13</baseAmount>
        <paymentDetails>
            <detail xsi:type="keyStringValuePair">
                <key>ElectronicCommerceIndicator</key>
                <value>07</value>
            </detail>
            <detail xsi:type="keyStringValuePair">
                <key>ProviderExternalID</key>
                <value>227eee1a-7e92-4e51-bb8d-6478ab4cd188</value>
            </detail>
        </paymentDetails>
        <paymentAccount>
            <paymentAccountID>dfby945c4-9cx5c2-4034-8234-2628z4c1283nl</paymentAccountID>
            <details>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerCountry</key>
                    <value>AT</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>AccountFundingSource</key>
                    <value>Credit</value>
                </detail>
                <detail xsi:type="keyBooleanValuePair">
                    <key>FastFunds</key>
                    <value>false</value>
                </detail>
                <detail xsi:type="keyStringValuePair">
                    <key>IssuerName</key>
                    <value />
                </detail>
            </details>
        </paymentAccount>
    </payment>
</initiatePaymentResponse>

Notifications

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

Payment States

Description

AuthorisedByProvider

Success state

RefusedByProvider

Payment has been rejected by the provider.

AuthoriseErrorReportedByProvider

Payment has an error reported by the provider.

AuthoriseCommunicationErrorOccurred

A communication error has occurred