Credit Card

Introduction

Credit Card Icons

Credit Card payment is a payment method using a plastic card issued by a bank, business, etc., for the purchase of goods or services on credit.

Payment Mode, Countries and Currencies

This table illustrates which payment mode credit card belongs to. It also provides detailed information about the countries and currencies, which are relevant for credit card.

Payment Mode

Countries

Depends on the licensed area of the financial institution/acquirer.

Wirecard Bank, for example, is licensed to process payments globally.

Currencies

VISA and MC support basically all currencies. To get the full picture please refer to their manual. JCB and UPI require an explicit setup of transaction currencies as part of the acquirer license agreement.

Communication Formats

This table illustrates how credit card notifications are encoded and which formats and methods can be used for requests and responses.

Requests

Format

XML

Methods

POST

Responses

Format

XML

Methods

POST

IPN Encodement

Please follow the instructions given at Instant Payment Notification to set up IPN.

Test Credentials

URL (Endpoint)

https://api-test.wirecard.com/engine/rest/payments/

Refer to one of the following tables to complete your test credentials:

Non-3D (Manual Card Brand Recognition) Demo

Merchant Account ID (MAID)

1b3be510-a992-48aa-8af9-6ba4c368a0ac

Merchant Account Name

Wirecard CC/EFT Simu3D no CVC

Username to access Test Account

70000-APIDEMO-CARD

Password to access Test Account

ohysS0-dvfMx

Secret Key

33a67608-9822-43c2-acc1-faf2947b1be5

Mobile SDK Applicable

No

Non-3D (Manual Card Brand Recognition) Test

Merchant Account ID (MAID)

9105bb4f-ae68-4768-9c3b-3eda968f57ea

Merchant Account Name

Wirecard CC/EFT Simu3D no CVC

Username to access Test Account

70000-APILUHN-CARD

Password to access Test Account

8mhwavKVb91T

Secret Key

d1efed51-4cb9-46a5-ba7b-0fdc87a66544

Mobile SDK Applicable

Yes

3D (Manual Card Brand Recognition) Test

Merchant Account ID (MAID)

33f6d473-3036-4ca5-acb5-8c64dac862d1

Merchant Account Name

Wirecard CC/EFT Simu3D no CVC

Username to access Test Account

70000-APILUHN-CARD

Password to access Test Account

8mhwavKVb91T

Secret Key

9e0130f6-2e1e-4185-b0d5-dc69079c75cc

Mobile SDK Applicable

Yes

Non-3D (Automatic Card Brand Recognition) Demo

Merchant Account ID (MAID)

7a6dd74f-06ab-4f3f-a864-adc52687270a

Merchant Account Name

Wirecard CC/EFT Simu3D no CVC

Username to access Test Account

70000-APIDEMO-CARD

Password to access Test Account

ohysS0-dvfMx

Secret Key

a8c3fce6-8df7-4fd6-a1fd-62fa229c5e55

Mobile SDK Applicable

No

Non-3D (Automatic Card Brand Recognition) Test

Merchant Account ID (MAID)

07edc10b-d3f9-4d12-901f-0db7f4c7e75c

Merchant Account Name

Wirecard CC/EFT Simu3D no CVC

Username to access Test Account

70000-APIDEMO-CARD

Password to access Test Account

8mhwavKVb91T

Secret Key

65f1d302-b2ac-4c52-8e31-5cc5351a258b

Mobile SDK Applicable

Yes

3D (Automatic Card Brand Recognition) Test

Merchant Account ID (MAID)

cad16b4a-abf2-450d-bcb8-1725a4cef443

Merchant Account Name

Wirecard CC/EFT Simu3D no CVC

Username to access Test Account

70000-APILUHN-CARD

Password to access Test Account

8mhwavKVb91T

Secret Key

b3b131ad-ea7e-48bc-9e71-78d0c6ea579d

Mobile SDK Applicable

Yes

Original Credit Transaction (OCT) Test

Merchant Account ID (MAID)

86687a11-3f9b-4f30-be54-8f22998b6177

Merchant Account Name

Merchant-Test-Accounts

Username to access Test Account

70000-APILUHN-CARD

Password to access Test Account

8mhwavKVb91T

Secret Key

dce5ebea-28f0-4fce-b087-85465a138a83

Mobile SDK Applicable

Yes

Non-3D Non-Gambling Original Credit Transaction (OCT) Test

Merchant Account ID (MAID)

1d08d0ea-535e-4b1a-b50b-d1591e97b8ea

Merchant Account Name

Merchant-Test-Accounts

Username to access Test Account

70000-APILUHN-CARD

Password to access Test Account

8mhwavKVb91T

Secret Key

1ddab375-08da-4704-83da-36610518efcf

Mobile SDK Applicable

Yes

3D Non-Gambling Original Credit Transaction (OCT) Test

Merchant Account ID (MAID)

ba90c606-5d0b-45b9-9902-9b0542bba3a4

Merchant Account Name

Merchant-Test-Accounts

Username to access Test Account

70000-APILUHN-CARD

Password to access Test Account

8mhwavKVb91T

Secret Key

b30bf3cc-f365-4929-89e9-d1cbde890f84

Mobile SDK Applicable

Yes

Payment Solutions

As payment solutions the Wirecard Payment Gateway provides Pay by Link and Invoice via Email. They both are currently only used with a Payment Page integration.

You can find

Transaction Types

Introduction

This section describes Credit Card transaction types that can be used with the Wirecard Payment Gateway. For each transaction type we provide a Credit Card specific introduction. We explain the transaction type’s availability and restrictions. We look at the conditions or preconditions required to process this transaction type.

The access data required to communicate with the endpoint are provided with the test credentials.

You get the best knowledge of our transaction types when you send an XML request to our endpoint. We describe the content and structure of these requests in the section "Sending Data". For reference we also provide a response that can be expected. Where applicable we set up a flow of subsequent transaction types (e.g. authorization > capture-authorization). Refer to the complete field list for credit card transactions.

In <statuses> of the response you will find a number that represents a status code.

List of Transaction Types

Please read about details for the transaction types authorization, capture-authorization and purchase.

authorization

Reserves funds from the cardholder’s account. Typically, the limit ranges from three to thirty days to conduct a capture-authorization, depending on the acquirer and card brand.

authorization-only

Verifies the card’s validity without leaving an authorized amount.

authorization-supplementary

Reserves additional funds from the cardholder’s account following an authorization. Typically, the limit ranges from three to thirty days to conduct a capture-authorization, depending on the acquirer and card brand.

This transaction type is not included in default configuration.
For further information please contact: support@wirecard.com

preauthorization

Reserves funds from the cardholder’s account. Typically, the limit ranges from three to thirty days to conduct a capture-preauthorization, depending on the acquirer and card brand.

Mastercard allows up to 30 days to conduct a capture-preauthorization depending on the configuration.

capture-authorization

Takes funds from the cardholder’s account. Must follow an authorization or authorization-supplementary chain.

check-enrollment

check-enrollment consists of a single request/response communication that verifies, if the card number is eligible and participates in the 3D program.

check-payer-response

check-payer-response forwards the PARes, which is a digitally signed XML document to WPG for validation.

check-risk

Checks the risk profile of the transaction information, without submitting a payment.

This transaction type is not included in default configuration.
For further information please contact: support@wirecard.com

credit

Moves funds from the merchant account to the cardholder’s account.

original-credit

Moves funds to the cardholder’s account, without referring to an eligible purchase or capture (i.e. non-referenced). This transaction type can be used for gambling and non-gambling processes.

purchase

Takes funds from the cardholder’s account. A one-step process to conduct two transaction types: authorization and capture.

referenced-authorization

Reserves funds from the cardholder’s account. Identical to a authorization except for the fact that it refers to a previous authorization in the context of recurring transactions. See details for referencing a transaction.

referenced-purchase

Takes funds from the cardholder’s account. Identical to a purchase except for the fact that it refers to a previous purchase in the context of recurring transactions.

refund-capture

Moves funds to the cardholder’s account, referring to an eligible capture.

refund-purchase

Moves funds to the cardholder’s account, referring to an eligible purchase.

void-authorization

Frees reserved funds from the cardholder’s account due to an authorization or a chain of authorization-supplementary.

void-authorization-supplementary

Voids an upwardly adjustment of an existing authorization.

void-capture

Frees reserved funds from the cardholder’s account due to a capture.

void-credit

Frees reserved funds from the cardholder’s account due to a credit.

void-original-credit

Frees reserved funds from the cardholder’s account due to an original-credit.

void-preauthorization

Frees reserved funds from the cardholder’s account due to a preauthorization.

void-purchase

Frees reserved funds from the cardholder’s account due to a purchase.

void-refund

Frees reserved funds from the cardholder’s account due to a refund.

void-refund-capture

Frees reserved funds from the cardholder’s account due to a refund-capture.

void-refund-purchase

Frees reserved funds from the cardholder’s account due to a refund-purchase.

void vs. refund

It is often the case that the merchants must withdraw an online shopping process. When the consumer wants to buy a product or service online, Wirecard Payment Gateway (WPG) initiates a payment process. When the merchants withdraw this process, they can stop the process in two ways. Either with a void or a refund.

A void is only possible as long as no money transfer has been initiated. As soon as WPG has initiated the payment flow to the acquirer the merchants must return the funds to the consumer via a refund process.

void
void
Workflow

Voiding a transaction requires a reference to the transaction that shall be voided.

The void transaction contains a <parent-transaction-id> that refers to the <transaction-id> of the transaction that shall be voided.

Here is an example how to void a capture.

void_workflow
refund
refund
Workflow

Refunding a transaction requires a reference to the transaction that shall be refunded.

The refund transaction contains a <parent-transaction-id> that refers to the <transaction-id> of the transaction that shall be refunded.

Here is an example how to refund a capture.

refund_workflow
OCT Eligibility Check

Wirecard Payment Gateway uses the transaction type authorization-only, to find out whether the card in use is eligible for original credit transactions (OCT). If you want to use this eligibility check contact merchant support for details.

Running the Test Samples

Postman is a handy tool to send a request to our endpoints. We optimized our samples assuming you are using Postman.

  1. Endpoint and Method:
    Request type POST.
    Enter the endpoint.
    Depending on payment method and transaction, the testing endpoint is either
    https://api-test.wirecard.com/engine/rest/payments/
    or
    https://api-test.wirecard.comengine/rest/paymentmethods/.

  2. Authorization:
    Select Authorization Type Basic Auth and enter the test credentials (Username/Password).

  3. Body:
    Select raw and XML (application/xml).
    Enter the sample request (in XML format).

The correct headers are generated automatically and appended to the request once you click Send.

Postman_Header
Figure 11. Postman Headers section
Postman_Body
Figure 12. Postman Body section

If you do not use Postman, use the test credentials as provided in the corresponding transaction type sample and make sure you replace {{$guid}} with a unique value in <request-id>. This value has to be replaced each time before you are sending the request.

authorization
Introduction

authorization checks the consumer’s account for credibility and reserves a fixed amount of funds. Reservation means that Wirecard Payment Gateway informs the card holder’s issuer about the upcoming transaction. The reservation lasts from three to thirty days, depending on the acquirer and card brand. Within that time the merchants can prepare the selected products or services for shipping. Once the merchants initiate the shipping, they also initiate a capture-authorization which will transfer the authorized amount from the issuer to the acquirer.

authorization, preauthorization or final-authorization
The functionality of an authorization as described in this section can also be configured as preauthorization or final-authorization. Which one shall be your choice, strongly depends on your business case, the acquirer and the credit card brand. Please consult your sales representative for details.
Real-Life Example

Consumers order a dishwasher for 500 EUR online. authorization checks the consumers' account immediately and reserves 500 EUR. When the merchants start the shipping process, a capture-authorization will transfer the 500 EUR from the consumers' to the merchants' account.

Availability and Restrictions

authorization is generally available.

Every authorization request has a time limit depending on the card schemes. The limit refers to the period of time from sending an authorization to sending a capture-authorization. Typically, the limit ranges from three to thirty days, depending on the acquirer and card brand. It is recommended to check the card schemes for details. An authorization may be denied. Some reasons (among others) for the denial are:

  • The consumer’s credit limit is reached.

  • The card was blocked.

  • A fraud case is suspected by the issuer.

  • The card itself expired.

Sequence

An authorization reserves funds on the cardholder’s account. It may be followed by a void-authorization or a capture-authorization. As an authorization merely reserves funds there is only a void possible but no refund.

A capture-authorization may be followed by either a void-capture or a refund-capture.

authorization sequence

See details for void and refund.

Sending Data

We only list samples for requests and responses. Notifications follow the general structure described in General Platform Features.

Are you using Postman to send the requests?

  • If yes, you can use the samples as provided below (Request Header and Request Sample).

  • If no, please replace {{$guid}} with a globally unique ID in <request-id>.

Status Codes

In <statuses> of the response you will find a number that represents a status code.

authorization Using Card Data

Request

If the credit card is used for the first time, the authorization request will contain the clear card data. The first response immediately replaces the explicit card data with a token. The token will be used from then on.

Handling clear card data requires a strong degree of PCI DSS compliance. If your PCI DSS compliance is not sufficient, you can use our Wirecard Payment Page v2.

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML authorization Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>authorization</transaction-type>
    <requested-amount currency="USD">2.50</requested-amount>
    <account-holder>
        <device>
            <fingerprint>D205933_it27sqacgghmsvge83790ocrj7_16432733</fingerprint>
        </device>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card>
        <account-number>4271149787014678</account-number>
        <expiration-month>12</expiration-month>
        <expiration-year>2020</expiration-year>
        <card-security-code>123</card-security-code>
        <card-type>visa</card-type>
    </card>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

<card-token> data replaces the <card> data in the initial response when using the credit card for the first time.

Sample

XML authorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/3d01299c-c28b-471b-976f-18249cc9d544">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>3d01299c-c28b-471b-976f-18249cc9d544</transaction-id>
    <request-id>0a58d654-d0b0-40ca-bb19-f1eb4933d7cd</request-id>
    <transaction-type>authorization</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-12-06T15:18:55.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <csc-code>P</csc-code>
    <requested-amount currency="USD">2.50</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4127352795354678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <descriptor></descriptor>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>570549</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>
authorization Using a Token

Request

If the credit card is already known to the merchant, the authorization request will not contain the clear card data. It will contain the token data instead.

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML authorization Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>authorization</transaction-type>
    <requested-amount currency="USD">2.50</requested-amount>
    <account-holder>
        <device>
            <fingerprint>D205933_it27sqacgghmsvge83790ocrj7_16432733</fingerprint>
        </device>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML authorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/0036ec58-3011-4b9f-acf3-2f6f8b3f9753">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>0036ec58-3011-4b9f-acf3-2f6f8b3f9753</transaction-id>
    <request-id>3aedafa7-21c7-4620-b1b1-620e81107b6d</request-id>
    <transaction-type>authorization</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-12-10T11:07:05.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">2.50</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <descriptor></descriptor>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="dc947622-551b-11e8-a4ae-3cfdfe334962"/>
    </custom-fields>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>967507</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>

A successful authorization response can be followed by a void-authorization (details see void).

void-authorization

A void-authorization request must reference a successful authorization response.

Request

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML void-authorization Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-authorization</transaction-type>
    <parent-transaction-id>0036ec58-3011-4b9f-acf3-2f6f8b3f9753</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML void-authorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/242f9dc0-04ec-450c-8246-489d32e3590e">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>242f9dc0-04ec-450c-8246-489d32e3590e</transaction-id>
    <request-id>a99a9b2b-ad21-4233-bab0-d6a2c0bf3517</request-id>
    <transaction-type>void-authorization</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-12-17T14:59:43.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">2.50</requested-amount>
    <parent-transaction-id>878d86d2-f85e-43da-8305-4dcaa347b36f</parent-transaction-id>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="dc947622-551b-11e8-a4ae-3cfdfe334962"/>
    </custom-fields>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <parent-transaction-amount currency="USD">2.500000</parent-transaction-amount>
    <authorization-code>106806</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>
capture-authorization
Introduction

A capture-authorization transfers an authorized amount from the consumer bank account to the acquirer (merchant’s bank account).

Real-Life Example

See authorization.

Availability and Restrictions

A capture-authorization must be initiated in a defined period of time after a successful authorization (details see authorization).

Captured Amount
Typically, a capture-authorization captures either part of or the full authorized amount.
Sequence

A capture-authorization follows an authorization.

A void-capture or a refund-capture follows a capture-authorization.

capture-authorization_sequence

See details for void and refund.

Sending Data

We only list samples for requests and responses. Notifications follow the general structure described in General Platform Features.

Are you using Postman to send the requests?

  • If yes, you can use the samples as provided below (Request Header and Request Sample).

  • If no, please replace {{$guid}} with a globally unique ID in <request-id>.

Status Codes

In <statuses> of the response you will find a number that represents a status code.

authorization

Request

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML authorization Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>authorization</transaction-type>
    <requested-amount currency="USD">2.50</requested-amount>
    <account-holder>
        <device>
            <fingerprint>D205933_it27sqacgghmsvge83790ocrj7_16432733</fingerprint>
        </device>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML authorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/df92ce59-a39c-4e2d-a5d6-c3f952826acd">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>df92ce59-a39c-4e2d-a5d6-c3f952826acd</transaction-id>
    <request-id>127869ec-cfce-4bc8-959a-d48866e3001d</request-id>
    <transaction-type>authorization</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-12-21T10:45:58.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">2.50</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <descriptor></descriptor>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="dc947622-551b-11e8-a4ae-3cfdfe334962"/>
    </custom-fields>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>570271</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>

A successful authorization may be followed by a

capture-authorization

Request

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML capture-authorization Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>capture-authorization</transaction-type>
    <parent-transaction-id>df92ce59-a39c-4e2d-a5d6-c3f952826acd</parent-transaction-id>
    <requested-amount currency="USD">2.50</requested-amount>
    <ip-address>127.0.0.1</ip-address>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML capture-authorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/76c1fcbf-860e-4793-88b8-b1eed6f22ab0">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>76c1fcbf-860e-4793-88b8-b1eed6f22ab0</transaction-id>
    <request-id>91cdfbd6-2a54-4c5c-b29c-3b4f727586a6</request-id>
    <transaction-type>capture-authorization</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-12-21T10:54:45.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">2.50</requested-amount>
    <parent-transaction-id>df92ce59-a39c-4e2d-a5d6-c3f952826acd</parent-transaction-id>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="dc947622-551b-11e8-a4ae-3cfdfe334962"/>
    </custom-fields>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <parent-transaction-amount currency="USD">2.500000</parent-transaction-amount>
    <authorization-code>570271</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>

A successful capture-authorization may be followed by a

void-capture

A void-capture request must reference a successful capture-authorization response.

Request

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML void-capture Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-capture</transaction-type>
    <parent-transaction-id>76c1fcbf-860e-4793-88b8-b1eed6f22ab0</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML void-capture Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/86198107-a392-4df6-92d3-6bf7a8525e71">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>86198107-a392-4df6-92d3-6bf7a8525e71</transaction-id>
    <request-id>b90d6b19-bb56-4272-b794-a6cc94148c6d</request-id>
    <transaction-type>void-capture</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-12-21T11:02:12.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">2.50</requested-amount>
    <parent-transaction-id>76c1fcbf-860e-4793-88b8-b1eed6f22ab0</parent-transaction-id>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="dc947622-551b-11e8-a4ae-3cfdfe334962"/>
    </custom-fields>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <parent-transaction-amount currency="USD">2.500000</parent-transaction-amount>
    <authorization-code>570271</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>
refund-capture

A refund-capture request must reference a successful capture-authorization response.

Request

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML refund-capture Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>refund-capture</transaction-type>
    <parent-transaction-id>dce8eb51-d520-48b5-8ae5-897297da6f10</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML refund-capture Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/49fc219a-4821-4e0d-8c26-d9b78c4d0a7e">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>49fc219a-4821-4e0d-8c26-d9b78c4d0a7e</transaction-id>
    <request-id>1db35de9-4414-4159-9852-ffef29d4a195</request-id>
    <transaction-type>refund-capture</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-12-21T11:35:50.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">2.50</requested-amount>
    <parent-transaction-id>dce8eb51-d520-48b5-8ae5-897297da6f10</parent-transaction-id>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4127352795354678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>7049</order-number>
    <order-detail>Test Product</order-detail>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="d37b0e36-d712-11e5-96d8-005056a96a54"/>
    </custom-fields>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <parent-transaction-amount currency="USD">2.500000</parent-transaction-amount>
    <authorization-code>080119</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>
purchase
Introduction

purchase transfers the transaction amount without preceding reservation from the consumer directly to the merchant. With this transaction type merchants collect the money immediately while selling goods or providing a service to the consumers. Merchants use purchase in most of the cases to process POS transactions. It is also used for immediate online payments, such as software downloads.

Merchants can also perform recurring payments using the transaction type purchase. The first payment of a recurring payment process starts with the transaction type purchase which is followed by referenced-purchase transactions.

Real-Life Example

Single Payment

For POS payments, purchase is used when consumers hire a taxi and pay the taxi fare with their credit card. Or the consumers shop in a department store or grocery store and pay at the check out using their credit card.

In an online shopping process, purchase is used when consumers download software, a movie or audio files.

Recurring Payment

When consumers subscribe to a magazine or pay an insurance, they face periodically repeating payments for a certain period of time. When consumers want to pay online, merchants can arrange this type of payment with the transaction type referenced-purchase referencing a purchase transaction.

Availability and Restrictions

No restrictions apply to this transaction type. A purchase is generally available.

A void-purchase can stop a successfully completed purchase (merchant received a success purchase notification) as long as the funds transfer has not been initiated. The same logic applies to void a refund-purchase. That means, a void-refund-purchase can stop a refund-purchase. If merchants want to cancel the purchase after the funds transfer was initiated, they must do it with a refund-purchase.

A referenced-purchase is only possible, if there is a preceding successful purchase transaction to refer to, which contains a <periodic-type> and a <sequence-type>.

Sequence

A purchase can be a stand-alone transaction. It may be followed by a void-purchase, a referenced-purchase or a refund-purchase. A refund-purchase may be followed by a void-refund-purchase.

purchase_sequence

See details for void and refund.

Sending Data

We only list samples for requests and responses. Notifications follow the general structure described in General Platform Features.

Are you using Postman to send the requests?

  • If yes, you can use the samples as provided below (Request Header and Request Sample).

  • If no, please replace {{$guid}} with a globally unique ID in <request-id>.

Status Codes

In <statuses> of the response you will find a number that represents a status code.

purchase Using Card Data

Request

If the credit card is used for the first time, the purchase request will contain the explicit card data. The first response immediately replaces the explicit card data with a token. The token will be used from then on.

Handling explicit card data requires a strong degree of PCI DSS compliance. If your PCI DSS compliance is not sufficient, you can use our Wirecard Payment Page v2.

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML purchase Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>purchase</transaction-type>
  <requested-amount currency="USD">5.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>44152</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

<card-token> data replaces the <card> data in the initial response when using the credit card for the first time.

Sample

XML purchase Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/a3296ada-7d63-4131-9b5d-c6d985bb5a48">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>a3296ada-7d63-4131-9b5d-c6d985bb5a48</transaction-id>
    <request-id>8fb52775-77f1-4124-aa7c-60ba672cc7cf</request-id>
    <transaction-type>purchase</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-11-26T10:11:39.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <csc-code>P</csc-code>
    <requested-amount currency="USD">5.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone></phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4127352795354678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>44152</order-number>
    <order-detail>Test Product</order-detail>
    <descriptor></descriptor>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>585422</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>
purchase Using a Token

Request

If the credit card is already known to the merchant, a token already exists and can be used from the beginning.

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML purchase Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>purchase</transaction-type>
    <requested-amount currency="USD">1.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@example.com</email>
        <phone></phone>
        <address>
            <street1>Example Street 1</street1>
            <city>Example City</city>
            <country>DE</country>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML purchase Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/36fc8d02-4ceb-483c-a3ff-929543452df7">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>36fc8d02-4ceb-483c-a3ff-929543452df7</transaction-id>
    <request-id>c6de9490-9815-42c0-b98b-830e7067782b</request-id>
    <transaction-type>purchase</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-11-28T09:04:42.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">1.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@example.com</email>
        <phone></phone>
        <address>
            <street1>Example Street 1</street1>
            <city>Example City</city>
            <country>DE</country>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <descriptor></descriptor>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="dc947622-551b-11e8-a4ae-3cfdfe334962"/>
    </custom-fields>
    <authorization-code>038588</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>

A successful purchase response can be followed by

Referencing purchase Transactions

Recurring transactions can be referenced using <parent-transaction-id>.

The following sample set describes a flow of recurring purchase transactions which are connected via <parent-transaction-id>.

The Initial Transaction
The initial transaction is a purchase. It contains a <periodic>: <periodic-type> = recurring and <sequence-type> = first.

The Recurring Transactions
There can be multiple recurring transactions. Each recurring transaction is a referenced-purchase. It contains a <periodic>: <periodic-type> = recurring and <sequence-type> = recurring.

The Final Transaction
The final transaction is a referenced-purchase. It contains a <periodic>: <periodic-type> = recurring and <sequence-type> = final.

The <parent-transaction-id>
<parent-transaction-id> of the referenced-purchase is always the same as <transaction-id> of the initial purchase.

Workflow

ReferencingPurchaseTransactions_Workflow

purchase Request (recurring/first)

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML (recurring/first) purchase Request (Success)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>purchase</transaction-type>
  <requested-amount currency="USD">5.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>44152</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <periodic>
   <periodic-type>recurring</periodic-type>
    <sequence-type>first</sequence-type>
  </periodic>
 <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>

purchase Response (recurring/first)

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML (recurring/first) purchase Response (Success)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/cad0c8c0-867a-451e-b820-ed65f48c0c3a">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>cad0c8c0-867a-451e-b820-ed65f48c0c3a</transaction-id>
    <request-id>9ed3cebf-79f2-4055-95f3-0edbdc33752b</request-id>
    <transaction-type>purchase</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-11-28T12:30:38.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <csc-code>P</csc-code>
    <requested-amount currency="USD">5.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone></phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4127352795354678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>44152</order-number>
    <order-detail>Test Product</order-detail>
    <descriptor></descriptor>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>871877</authorization-code>
    <api-id>elastic-api</api-id>
    <periodic>
        <periodic-type>recurring</periodic-type>
        <sequence-type>first</sequence-type>
    </periodic>
    <provider-account-id>70001</provider-account-id>
</payment>

referenced-purchase Request (recurring/recurring)

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML referenced-purchase Request (Success)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>referenced-purchase</transaction-type>
    <parent-transaction-id>cad0c8c0-867a-451e-b820-ed65f48c0c3a</parent-transaction-id>
    <requested-amount currency="USD">5.01</requested-amount>
    <periodic>
        <periodic-type>recurring</periodic-type>
        <sequence-type>recurring</sequence-type>
    </periodic>
</payment>

referenced-purchase Response (recurring/recurring)

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML referenced-purchase Response (Success)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/e3baaaf8-3417-4650-998c-058557e5847e">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>e3baaaf8-3417-4650-998c-058557e5847e</transaction-id>
    <request-id>1f38bbc0-247a-46c2-b4b5-5b669747c93e</request-id>
    <transaction-type>referenced-purchase</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-01-11T07:33:19.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">5.01</requested-amount>
    <parent-transaction-id>cad0c8c0-867a-451e-b820-ed65f48c0c3a</parent-transaction-id>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone></phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4127352795354678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>44152</order-number>
    <order-detail>Test Product</order-detail>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <parent-transaction-amount currency="USD">5.010000</parent-transaction-amount>
    <authorization-code>384949</authorization-code>
    <api-id>elastic-api</api-id>
    <periodic>
        <periodic-type>recurring</periodic-type>
        <sequence-type>recurring</sequence-type>
    </periodic>
    <provider-account-id>70001</provider-account-id>
</payment>

referenced-purchase Request (recurring/final)

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML referenced-purchase Request (Success)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>referenced-purchase</transaction-type>
    <parent-transaction-id>cad0c8c0-867a-451e-b820-ed65f48c0c3a</parent-transaction-id>
    <requested-amount currency="USD">5.01</requested-amount>
    <periodic>
        <periodic-type>recurring</periodic-type>
        <sequence-type>final</sequence-type>
    </periodic>
</payment>

referenced-purchase Response (recurring/final)

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML referenced-purchase Response (Success)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/d9736b05-efe1-46ec-ac27-9e842d5a0785">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>d9736b05-efe1-46ec-ac27-9e842d5a0785</transaction-id>
    <request-id>0e0b9e60-8c84-42df-ae6e-cf8dfb7f907f</request-id>
    <transaction-type>referenced-purchase</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-01-11T07:39:22.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">5.01</requested-amount>
    <parent-transaction-id>cad0c8c0-867a-451e-b820-ed65f48c0c3a</parent-transaction-id>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone></phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4127352795354678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>44152</order-number>
    <order-detail>Test Product</order-detail>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <parent-transaction-amount currency="USD">5.010000</parent-transaction-amount>
    <authorization-code>167472</authorization-code>
    <api-id>elastic-api</api-id>
    <periodic>
        <periodic-type>recurring</periodic-type>
        <sequence-type>final</sequence-type>
    </periodic>
    <provider-account-id>70001</provider-account-id>
</payment>
void-purchase

A void-purchase must reference a successful purchase response.

A void-purchase shall be used only, if the payment was processed in an online shop and not at a POS.

We only list field descriptions for requests and responses. Notifications follow the general structure described in General Platform Features.

Request

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML void-purchase Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-purchase</transaction-type>
    <parent-transaction-id>36fc8d02-4ceb-483c-a3ff-929543452df7</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML void-purchase Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/baf93d19-15ec-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>baf93d19-15ec-11e5-87be-00163e5411b5</transaction-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>void-purchase</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2015-06-18T19:03:41.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C847532143465422040880"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4119529611183494</token-id>
    <masked-account-number>414720******3494</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>5114</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>940987</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
refund-purchase

Merchants use a refund-purchase to refund a purchase or parts of it after the funds transfer was initiated.

A refund-purchase must reference a successful purchase response.

We only list field descriptions for requests and responses. Notifications follow the general structure described in General Platform Features.

Request

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML refund-purchase Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>refund-purchase</transaction-type>
    <parent-transaction-id>36fc8d02-4ceb-483c-a3ff-929543452df7</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML refund-purchase Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/01a62281-15e4-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>01a62281-15e4-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>refund-purchase</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2015-06-18T18:01:14.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C851766143465047366859"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4266575172147814</token-id>
    <masked-account-number>413496******7814</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>136208</authorization-code>
  <api-id>elastic-api</api-id>
</payment>

A successful refund-purchase response can be followed by a void-refund-purchase (details see void).

void-refund-purchase

With this transaction type you can void a successful refund-purchase until the funds transfer has been triggered.

Request

Fields

We provide detailed descriptions of all credit card fields.

Sample

Request Header
Authorization: Basic NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA==
Content-Type: application/xml
XML void-refund-purchase Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-refund-purchase</transaction-type>
    <parent-transaction-id>01a62281-15e4-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>

Response

Fields

We provide detailed descriptions of all credit card fields.

Sample

XML void-refund-purchase Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/9ff6eb1f-d729-4b93-bad2-75300abd3168">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>9ff6eb1f-d729-4b93-bad2-75300abd3168</transaction-id>
    <request-id>5cffdb9b-91ce-4ddb-945e-961a025e6582</request-id>
    <transaction-type>void-refund-purchase</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2018-12-27T12:09:51.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">1.01</requested-amount>
    <parent-transaction-id>87fffba5-0824-4bba-843f-ed7574ae2022</parent-transaction-id>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@example.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>Example Street 1</street1>
            <city>Example City</city>
            <state>ON</state>
            <country>DE</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4845276539271999</token-id>
        <masked-account-number>456396******1999</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="dc947622-551b-11e8-a4ae-3cfdfe334962"/>
    </custom-fields>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <parent-transaction-amount currency="USD">1.010000</parent-transaction-amount>
    <authorization-code>550452</authorization-code>
    <api-id>elastic-api</api-id>
    <provider-account-id>70001</provider-account-id>
</payment>

Fields

The following elements are either mandatory (M), optional (O) or conditional (C) in a transaction process.

payment

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

merchant-account-id

C

M

M

String

36

Unique identifier for a merchant-account.

merchant-account-resolver-category

C

M

M

String

36

The category used to resolve the merchant-account based on rules on input.

transaction-id

M

M

String

36

This is the unique identifier for a transaction.

request-id

M

M

M

String

32

This is the identification number of the request. It has to be unique for each request. The following characters are allowed: ASCII characters Code 32-38 and 40-126.

transaction-type

M

M

M

String

30

This is the type for a transaction.

descriptor

M

M

M

String

64

Description on the settlement of the account holder’s account about a transaction. The following characters are allowed: 0-9, a-z, A-Z

transaction-state

M

M

String

12

This is the status of a transaction.

completion-time-stamp

M

M

Timestamp

This is the time-stamp of completion of request.

avs-code

O

O

String

24

This is the result of address’s validation.

order-detail

O

O

O

String

65535

This is a field for details of an order filled by the merchant.

order-items

O

O

O

This is a field for order’s items filled by the merchant.

order-number

M

M

M

String

32

This is the order number of the merchant. The following characters are allowed: ASCII characters Code 32-38 and 40-126.

csc-code

O

O

String

12

Code indicating Card Verification Value (CVC/CVV) verification results.

parent-transaction-id

C

C

C

String

36

This is the unique identifier of the referenced transaction. This might be mandatory if "merchant-account-id" or "merchant-account-resolver-category" is not used

group-transaction-id

C

C

C

String

36

A unique ID assigned to a group of related transactions. For example, an authorization and capture and refund will all share the same group-transaction-id.

authorization-code

C

C

C

String

36

the authorization-code can be

  1. input for "capture" without reference on "authorization"

  2. output for "authorization"

ip-address

O

O

O

String

45

The global (internet) IP address of the consumers computer.

non-gambling-oct-type

O

O

O

String

7

A transfer type of non-gambling Original Credit Transaction (OCT).
Allowed values are: "p2p", "md", "acc2acc", "ccBill" and "fd".

consumer-id

M

String

50

The id of the consumer.

api-id

M

String

36

The api-id is always returned in the notification.

processing-redirect-url

O

O

O

String

256

The URL to which the consumer will be redirected after he has fulfilled his payment. This is normally a page on the merchant’s website.

success-redirect-url

M

M

M

String

256

The URL to which the consumer will be re-directed after a successful payment. This is normally a success confirmation page on the merchant’s website.

cancel-redirect-url

M

M

M

String

256

The URL to which the consumer will be re-directed after he has cancelled a payment. This is normally a page on the merchant’s Website.

instrument-country

O

O

O

String

256

The instrument country retrieves the issuer country of a certain credit card.

locale

M

M

M

String

6

Code of the language. Can be any of CZ, DA, EN, DE, ES, FI, FR, IT, NL, PL, GR, RO, RU, SV and TR.
Can be sent in the format <language> or in the format <language_country>.

entry-mode

O

O

O

String

24

This is information about the channel used for this transaction.
Can be one of the following: mail-order, telephone-order, ecommerce, mcommerce, pos.

periodic

O

O

O

String

24

This is information about the periodicity of this transaction.
Can be one of the following:
installment, recurring

signature

O

The Signature info, consisting of SignedInfo, SignatureValue and KeyInfo.

instrument-country

O

If this field is configured it will be sent in the response. Use a two-digit country code, such as DE (Germany), ES (Spain), FR (France), IT (Italy). If you want to know the exact list of applying countries, please contact merchant support.

statuses

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

statuses.status

M

M

String

12

This is the status of a transaction.

status@code

M

M

String

12

This is the code of the status of a transaction.

status@description

M

M

String

256

This is the description to the status code of a transaction.

status@severity

M

M

String

20

This field gives information if a status is a warning, an error or an information.

requested-amount

M

M

Numeric

18,2

This is the amount of the transaction. The amount of the decimal place is dependent of the currency.

requested-amount@currency

M

M

M

String

3

This is the currency of the transaction.

account-holder

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

account-holder.first-name

O

O

O

String

32

This is the first name of the end-consumer.

account-holder.last-name

O

O

O

String

32

This is the last name of the end-consumer.

account-holder.email

O

O

O

String

64

This is the end-consumer’s email-address.

account-holder.gender

O

O

O

String

1

This is the end-consumer’s gender.

account-holder.date-of-birth

O

O

O

Date

This is the end-consumer’s birth date.

account-holder.phone

O

O

O

String

32

This is the phone number of the end- consumer.

account-holder.social-security-number

O

O

O

String

14

This is the social security number of the end-consumer.

account-holder.tax-number

O

O

O

String

14

This is the social security number of the end-consumer.

account-holder.merchant-crm-id

O

O

O

String

64

This is the merchant-crm-id of end-consumer.

account-holder.address

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

account-holder.address.block-no

O

O

O

String

12

This is the block-no of the end-consumer.

account-holder.address.level

O

O

O

String

3

This is the level of the end-consumer.

account-holder.address.unit

O

O

O

String

12

This is the unit of the end-consumer.

account-holder.address.street1

M

M

M

String

128

This is the first part of the end-consumer’s street.

account-holder.address.street2

O

O

O

String

128

This is the second part of the end-consumer’s street.

account-holder.address.city

M

M

M

String

32

This is the end-consumer’s city.

account-holder.address.state

O

O

O

String

32

This is the end-consumer’s state.

account-holder.address.country

M

M

M

String

2

This is the end-consumer’s country.

account-holder.address.postal-code

O

O

O

String

16

This is the end-consumer’s postal code.

account-holder.address.house-extension

O

O

O

String

16

This is the end-consumer’s house extension.

shipping

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

shipping.first-name

M

M

M

String

32

This is first name from shipping information.

shipping.last-name

M

M

M

String

32

This is last name from shipping information.

shipping.phone

O

O

O

String

3

This is used to specify the phone from shipping information.

shipping.address

M

M

M

String

This is used to specify the address from shipping information.

shipping.email

O

O

O

String

64

This is used to specify the email from shipping information.

shipping.shipping-method

O

O

O

String

36

This is used to specify the shipping method from shipping information.

shipping.tracking-number

O

O

O

String

64

This is used to specify the tracking number from shipping information.

shipping.tracking-url

O

O

O

String

2000

This is used to specify the tracking url from shipping information.

shipping.shipping-company

O

O

O

String

64

This is used to specify the shipping company from shipping information.

shipping.return-tracking-number

O

O

O

String

64

This is used to specify the return tracking number from shipping information.

shipping.return-tracking-url

O

O

O

String

2000

This is used to specify the return tracking URL from shipping information.

shipping.return-shipping-company

O

O

O

String

36

This is used to specify the return shipping company from shipping information.

card

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

card.account-number

C

String

36

This is the card account number of the end-consumer. If is mandatory if "card-token" is not used.

card.expiration-month

M

O

Numeric

2

This is the card’s expiration month of the end-consumer. If this field is configured it will be sent in the response.

ONLY transaction type detokenize returns card elements in response. All the other transaction types return "card"/"card-token" in response.

card.expiration-year

M

O

Numeric

4

This is the card’s expiration year of the end-consumer. If this field is configured it will be sent in the response.

ONLY transaction type detokenize returns card elements in response. All the other transaction types return "card"/"card-token" in response.

card.card-security-code

C

String

4

This is the card’s security code of the end-consumer. Depending on configuration it might be mandatory.

card.card-type

M

O

String

15

This is the card’s type of the end-consumer. If this field is configured it will be sent in the response.

ONLY transaction type detokenize returns card elements in response. All the other transaction types return "card"/"card-token" in response.

card.issue-number

M

Numeric

4

This is the card’s issue number of the end-consumer.

card.start-month

M

Numeric

2

This is the card’s issue start month of the end-consumer.

card.start-year

M

Numeric

4

This is the card’s issue start year of the end-consumer.

card.track-2

O

String

256

This is the card’s track-2 of the end-consumer.

card.card-emv

O

This is used for EMV data for credit card of the end-consumer.

card.card-pin

O

This is used for PIN data for credit card of the end-consumer.

card.card-raw

O

This is the raw card data.

card.merchant-tokenization-flag

O

Boolean

The value is to be set to true as soon as Cardholder card data was stored by Merchant for future transactions. Maps the Visa field Stored Credential.

card-token

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

card-token.token-id

C

M

M

String

36

This is the token corresponding to "card.account-number" of the end-consumer. It is mandatory if "card.account-number" is not specified. It is unique per instance.

card-token.token-ext-id

O

O

O

String

36

Identifier used for credit card in external system which will be used in mapping to token-id.

card-token.masked-account-number

O

M

M

String

36

This is the masked version of "card.account-number" of the end-consumer. E.g. 440804**7893

order-items

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

order-items.order-item.name

O

Alphanumeric

Name of the item in the basket.

order-items.order-item.article-number

O

Alphanumeric

EAN or other article identifier for merchant.

order-items.order-item.amount

O

Number

Item’s price per unit.

order-items.order-item.tax-rate

O

Number

Item’s tax rate per unit.

order-items.order-item.quantity

O

Number

Total count of items in the order.

notifications

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

notifications.notification

O

O

O

This is used for IPN (Instant Payment Notification).

notifications.notification@transaction-state

O

O

O

String

12

This is the status of a transaction when IPN will be sent.

notifications.notification@url

O

O

O

String

256

The URL to be used for the IPN. It overwrites the notification URL that is set up in the merchant configuration.

device

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

device.fingerprint

O

O

O

String

4096

A device fingerprint is information collected about a remote computing device for the purpose of identification retrieved on merchants side. Fingerprints can be used to fully or partially identify individual users or devices even when cookies are turned off.

custom-fields

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

custom-fields.custom-field

O

O

O

This is used for adding custom information related to transaction.

custom-field@field-name

O

O

O

String

36

This is the name for the custom field.

custom-field field-name="CardCategoryExt" field-value="M/C"

O

If this field has been configured by Wirecard, it will be sent in the response. Possible field values are: M (Consumer), C (Commercial)

custom-field field-name="CardProductID" field-value="See description for possible field values"

O

If this field has been configured by Wirecard, it will be sent in the response. For possible field values see the following selected examples. If you need the values of other card products, please contact merchant support.
VISA: A (VISA Traditional), F (ViSA Classic), G (VISA Business), I (VISA Infinite)
MasterCard: MCC (MasterCard® Consumer), MCD (Debit MasterCard® Card), MCS (MasterCard® Consumer - Standard)

custom-field field-name="CardCategory" field-value="D/C/P"

O

If this field has been configured by Wirecard, it will be sent in the response. Possible field values are: D (Debit), C (Credit), P (Prepaid)

custom-field@field-value

O

O

O

String

256

This is the content of the custom field. In this field the merchant can send additional information.

payment-methods

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

payment-methods.payment-method

M

M

M

This is used for specifying the payment method used for this transaction.

payment-methods.card-types.card-type

O

O

O

String

15

This specifies the types of card supported for this payment-method.

payment-methods.payment-method@name

M

M

M

String

15

This is the name of the payment method that that is chosen from the end-consumer.
Value "creditcard" should be used.

payment-methods.payment-method@url

O

O

O

String

256

The URL to be used for proceeding with payment on provider side.

three-d

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

three-d.attempt-three-d

O

O

O

String

1

Indicates that the Transaction Request should proceed with the 3D Secure workflow if the [Card Holder] is enrolled. Otherwise, the transaction proceeds without 3D Secure. This field is used in conjunction with Hosted Payment Page.

three-d.pares

C

C

C

String

2048

In a 3D Secure transaction, this is the digitally signed, base64-encoded authentication response message received from the issuer.

three-d.eci

C

C

C

String

2

In a 3D Secure process, this indicates the status of the VERes.

three-d.xid

C

C

C

String

36

In a 3D Secure process, this is the unique transaction identifier.

three-d.cardholder-authentication-value

C

C

C

String

1024

The CAVV is a cryptographic value generated by the Issuer. For Visa transaction it is called CAVV (Cardholder Authentication Verification Value) for MasterCard it is either called Accountholder Authentication Value (AAV) or Universal Cardholder Authentication Field (UCAF).

three-d.cardholder-authentication-status

C

C

C

String

1

Status of 3D Secure check.

three-d.pareq

C

C

C

String

16000

In a 3D Secure transaction, this is a base64-encoded request message created for cards participating in the 3D program. The PaReq is returned by the issuer’s ACS via the VISA or MasterCard directory to the Wirecard Payment Gateway and from here passed on to the merchant.

three-d.liability-shift-indicator

O

O

String

2048

Liability shift can be enabled for 3D Secure enabled customers.

three-d.acs-url

C

C

C

String

2048

The issuer URL to where the merchant must direct the enrolment check request via the cardholder’s browser. It is returned only in case the cardholder is enrolled in 3D Secure program.

browser

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

browser.accept

O

M

String

2048

This is the HTTP Accept Header as retrieved from the cardholder’s browser in the HTTP request. In case it is longer than 2048 it has to be truncated. It is strongly recommended to provide this field to prevent rejections from ACS server side.

browser.user-agent

O

M

String

256

This is the User Agent as retrieved from the card holder’s browser in the HTTP request. In case it is longer than 256 Byte it has to be truncated. It is strongly recommended to provide this field to prevent rejections from ACS server side.

avs

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

avs.result-code

O

O

String

5

AVS result code.

avs.result-message

O

O

String

256

AVS result message.

avs.provider-result-code

O

O

String

5

AVS provider result code.

avs.provider-result-message

O

O

String

256

AVS provider result message.

credit-sender-data

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

credit-sender-data.receiver-name

C

String

35

Mandatory for cross-border transactions.
Maximum length for Visa: 30

credit-sender-data.receiver-last-name

C

String

35

Mandatory for cross-border transactions.

credit-sender-data.reference-number

O

String

19

Maximum length for Visa: 16

credit-sender-data.sender-account-number

C

String

20

Mastercard: Mandatory
Visa: Mandatory if ReferenceNumber is empty, Maximum length: 34

credit-sender-data.sender-name

C

String

24

Mastercard: Mandatory
Visa: Mandatory for US domestic transactions and cross-border money transfers, Maximum length: 30

credit-sender-data.sender-last-name

C

String

35

Mastercard: Mandatory
Visa: Optional

credit-sender-data.sender-address

C

String

50

Mastercard: Optional
Visa: Mandatory for US domestic and cross-border transactions, Maximum length: 35

credit-sender-data.sender-city

C

String

25

Mastercard: Optional
Visa: Mandatory for US domestic and cross-border transactions

credit-sender-data.sender-country

C

String

3

Mastercard: Optional
Visa: Mandatory for US domestic and cross-border transactions, Maximum length: 2

credit-sender-data.sender-state

C

String

2

Mastercard: Mandatory if sender country is US or Canada
Visa: Mandatory for US domestic and cross-border transactions originating from US or Canada

credit-sender-data.sender-postal-code

O

String

10

No specific requirements for Mastecard and Visa.

credit-sender-data.sender-funds-source

O

String

2

Accepted characters are:
Mastercard
- US: 01, 02, 03, 04, 05, 07 - Non-US: 01, 02, 03, 04, 05, 06, 07
Visa
- US: 1, 2, 3 - Non-US: 01, 02, 03, 04, 05, 06

sub-merchant-info

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

sub-merchant-info.id

O

Alphabetic, Numeric and Special Characters

15

If you want to use <sub-merchant-info> id is mandatory in every initial step of a transaction. It is recommended to set the <sub-merchant-info> in all the transaction steps. Otherwise some transactions cannot be completed successfully.

sub-merchant-info.name

O

Alphabetic, Numeric and Special Characters

22

If you want to use <sub-merchant-info> name is mandatory in every initial step of a transaction. It is recommended to set the <sub-merchant-info> in all the transaction steps. Otherwise some transactions cannot be completed successfully.

sub-merchant-info.country

O

Alphabetic, Numeric and Special Characters

2

If you want to use <sub-merchant-info> country is mandatory in every initial step of a transaction. It is recommended to set the <sub-merchant-info> in all the transaction steps. Otherwise some transactions cannot be completed successfully.

sub-merchant-info.state

C

3

Mandatory, when country = US or CA.
For all other countries state is optional. If country is neither US nor CA, do not send this field at all in the request.

sub-merchant-info.city

O

Alphabetic, Numeric and Special Characters

13

If you want to use <sub-merchant-info> city is mandatory in every initial step of a transaction. It is recommended to set the <sub-merchant-info> in all the transaction steps. Otherwise some transactions cannot be completed successfully.

sub-merchant-info.street

O

Alphabetic, Numeric and Special Characters

38

If you want to use <sub-merchant-info> street is mandatory in every initial step of a transaction. It is recommended to set the <sub-merchant-info> in all the transaction steps. Otherwise some transactions cannot be completed successfully.

sub-merchant-info.postal-code

O

Alphabetic, Numeric and Special Characters

10

If you want to use <sub-merchant-info> postal-code is mandatory in every initial step of a transaction. It is recommended to set the <sub-merchant-info> in all the transaction steps. Otherwise some transactions cannot be completed successfully.

airline-industry

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

airline-industry.airline-code

O

O

String

3

The airline code assigned by IATA.

airline-industry.airline-name

O

O

String

64

Name of the airline.

airline-industry.passenger-code

O

O

String

10

The file key of the Passenger Name Record (PNR). This information is mandatory for transactions with AirPlus UATP cards.

airline-industry.passenger-name

O

O

String

32

The name of the Airline Transaction passenger.

airline-industry.passenger-phone

O

O

String

32

The phone number of the Airline Transaction passenger.

airline-industry.passenger-email

O

O

String

64

The Email Address of the Airline Transaction passenger.

airline-industry.passenger-ip-address

O

O

String

45

The IP Address of the Airline Transaction passenger.

airline-industry.ticket-issue-date

O

O

Date

The date the ticket was issued.

airline-industry.ticket-number

O

O

String

11

The airline ticket number, including the check digit. If no airline ticket number (IATA) is used, the element field must be populated with 99999999999.

airline-industry.ticket-restricted-flag

O

O

String

1

Indicates that the Airline Transaction is restricted. 0 = No restriction, 1 = Restricted (non-refundable).

airline-industry.pnr-file-key

O

O

String

10

The Passenger Name File Id for the Airline Transaction.

airline-industry.ticket-check-digit

O

O

String

2

The airline ticket check digit.

airline-industry.agent-code

O

O

String

3

The agency code assigned by IATA.

airline-industry.agent-name

O

O

String

64

The agency name.

airline-industry.non-taxable-net-amount

O

O

Numeric

7,2

This field must contain the net amount of the purchase transaction in the specified currency for which the tax is levied. Two decimal places are implied. If this field contains a value greater than zero, the indicated value must differ to the content of the transaction

airline-industry.ticket-issuer/address

O

O

Address

The address of the ticket issuer.

airline-industry.number-of-passengers

O

O

String

3

The number of passengers on the Airline Transaction.

airline-industry.reservation-code

O

O

String

32

The reservation code of the Airline Transaction passenger.

airline-industry.itinerary.segment

O

O

The itinerary segments of the airline transaction. Up to 99 itinerary segments can be defined. For details see section segment.

cruise-industry

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

cruise-industry.carrier-code

O

O

String

3

The carrier code assigned by IATA.

cruise-industry.agent-code

O

O

String

8

The agent code assigned by IATA.

cruise-industry.travel-package-type-code

O

O

String

10

This indicates if the package includes car rental, airline flight, both or neither. Valid entries include:
C = Car rental reservation included, A = Airline flight reservation included, B = Both car rental and airline flight reservations included, N = Unknown.

cruise-industry.ticket-number

O

O

String

15

The ticket number, including the check digit.

cruise-industry.passenger-name

O

O

String

100

The name of the passenger.

cruise-industry.airline-code

O

O

String

3

The airline code assigned by IATA.

cruise-industry.lodging-check-in-date

O

O

Date

The cruise departure date also known as the sail date.

cruise-industry.lodging-check-out-date

O

O

Date

The cruise return date also known as the sail end date.

cruise-industry.lodging-room-rate

O

O

Numeric

18,2

The total cost of the cruise.

cruise-industry.number-of-nights

O

O

Numeric

3

The length of the cruise in days.

cruise-industry.lodging-name

O

O

String

100

The lodging name booked for the cruise.

cruise-industry.lodging-city-name

O

O

String

20

The name of the city where the lodging property is located.

cruise-industry.lodging-region-code

O

O

String

10

The region code where the lodging property is located.

cruise-industry.lodging-country-code

O

O

String

10

The country code where the lodging property is located.

cruise-industry.segment

O

O

The itinerary segments of the cruise. Up to 99 itinerary segments can be defined. For details see section segment.

cruise-industry.lodging-name

O

O

String

100

The ship name booked for the cruise.

segment (Itinerary segment data is used e.g. within airline-industry to specify itineraries of the flight)

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

segment.carrier-code

C

C

String

3

The 2-letter airline code (e.g. LH, BA, KL) supplied by IATA for each leg of a flight. Mandatory, if itinerary is provided.

segment.departure-airport-code

C

C

String

3

The departure airport code. IATA assigns the airport codes. Mandatory, if itinerary is provided.

segment.departure-city-code

C

C

String

32

The departure City Code of the Itinerary Segment. IATA assigns the airport codes. Mandatory, if itinerary is provided.

segment.arrival-airport-code

C

C

String

3

The arrival airport code of the Itinerary Segment. IATA assigns the airport codes. Mandatory, if itinerary is provided.

segment.arrival-city-code

C

C

String

32

The arrival city code of the Itinerary Segment. IATA assigns the airport codes. Mandatory, if itinerary is provided.

segment.departure-date

C

C

Date

The departure date for a given leg. Mandatory, if itinerary is provided.

segment.arrival-date

C

C

String

The arrival date for a given leg. Mandatory, if itinerary is provided.

segment.flight-number

O

O

String

6

The flight number of the Itinerary Segment.

segment.fare-class

O

O

String

3

Used to distinguish between First Class, Business Class and Economy Class, but also used to distinguish between different fares and booking

segment.fare-basis

O

O

String

6

Represents a specific fare and class of service with letters, numbers, or a combination of both.

segment.stop-over-code

O

O

String

1

0 = allowed, 1 = not allowed

segment.tax-amount@currency

O

O

String

3

The currency of the Value Added Tax Amount levied on the transaction amount.

audit (Audit data is displayed in WEP for each transaction it has been send with)

Field

Transaction Process

Datatype

Size

Description

Request

Response

Notification

audit.request-source

O

O

O

ASCII String

30

Optional information that references the application or Wirecard Payment Gateway a transaction is processed with.

audit.user

O

O

O

String

128

Optional information that identifies the origin/user of the payment request. Audit user is send by frontend applications referencing the user processing transactions or follow up operations using the application.

Payment Features

Tokenization
Introduction

Tokenization defines a process through which sensitive data, such as credit card number, is replaced with a surrogate value known as a "token". This token serves as a reference or surrogate value for the original credit card data.

Tokenization enables the merchant to use credit card data based on PCI DSS regulations, during a payment process.

It is a service provided by Wirecard for its customers. The token, generated by Wirecard, reduces the merchant’s PCI DSS Scope. That means, merchants do not have to store sensitive primary account numbers.

There are two options of using tokenization

  1. Sending a Credit Card Transaction with Credit Card Data. In this case Wirecard Payment Gateway takes the credit card data and encrypts the data. These data are stored in a secured encrypted area inside Wirecard Data Warehouse and are for use only in the encrypted state and secured environment.
    In other words: Every card number that accompanies a transaction in Wirecard Payment Gateway is subsequently tokenized. Regardless of the outcome of the transaction, any subsequent transaction with these credit card data uses its assigned token instead of the clear card account values. This means the merchant system never needs to store the sensitive card information, helping to reduce PCI DSS compliance issues.

  2. Sending an Explicit Request with the Transaction Type Tokenize or Detokenize. A transaction with this transaction type encrypts or decrypts credit card data for later reuse. The sender only gets back a token-ID. This token-ID can be reused many times as unique identifier for this specific credit card without sending or storing credit card data on shop side.

What is the difference between these two options?

Sending a Credit Card Transaction with Credit Card Data Sending an Explicit Request with the Transaction Type tokenize or detokenize

always initiates a payment process and encrypts credit card data

encrypts credit card data only

does not initiate a payment process

The token-id

The merchant sends an initial request to Wirecard Payment Gateway. This could be an authorization for example. This request contains all data concerning the goods, shipping, etc as well as the consumer’s credit card data.

After the request of an authorization transaction was processed successfully, the response will not contain the information of the Credit Card <data> tag. The <data> tag will be replaced with a token-id in the <card-token> tag. As soon as the token-id is created, the token-id represents this special credit card.

With that token-id any recurring or other follow up transaction for this special credit card can be processed. As there is no additional encryption required, the use of the token-id reduces interaction and accelerates the credit card payment process. Especially from PCI DSS perspective it is less critical.

e.g. A capture-authorization as follow up transaction in the workflow does not need the <data> tag of the Credit Card but only the token-id.

When using credit card, Wirecard Payment Gateway offers two different options to reference transactions. It depends on the merchant’s individual business needs and business processes, which type of referencing should be used.

Look at the following table to understand the pros and cons of referencing with a token or with the parent-transaction-id.

parent-transaction-id token-id

Pro

Can be used for all alternative payment methods and credit card.

Recurring transactions can always reference to a FIRST transaction.

Once created, the token can be reused as often as needed.

Referencing is possible to a previous transaction during the life cycle of a payment process.

Credit card check is only performed once (with the first transaction). Makes the payment process faster.

Reference is possible even on older transactions.

Reference is valid ad long as the credit card is valid.

Con

Referencing only within one life cycle of a payment process.

Can only be used with credit card.

When used with credit card all card checks have to be performed with every new transaction step.

If card has expired, new token will be needed, even if the card number remains the same.

When processing credit card transactions, the merchant must be PCI DSS compliant.

If the merchant only hands through a payment process (using a token) and does not store card holder data, it reduces the merchant’s applicable controls required for PCI DSS validation.

If the merchant wants to store card holder data (using parent-transaction-id), it increases the merchant’s applicable controls required for PCI DSS validation.

The following table describes, which data can be stored and which data must not be stored to be PCI DSS compliant.

Data Element

Storage permitted?

Data needs to be unreadable (in line with PCI DSS requirements)?

Account Data

Card holder data

Primary Account Number (PAN)

YES

YES

Card holder name

YES

NO

Service code

YES

NO

Expiration date

YES

NO

Sensitive Authentication Data

Full track data

NO

Doesn’t apply

CAV2/CVC2/CVV2/CID

NO

Doesn’t apply

PIN/PIN Block

NO

Doesn’t apply

Referencing by token-id

Referencing based on a token can be performed by using the Field <token-id>.

With that feature it is possible to refer a NEW transaction to an already submitted initial transaction. In the initial transaction the cluster of the <card> tag will be summarized in a token-id. This token-id will be used in any subsequent transaction, which is based on this initial transaction. The token-id can be seen as a black box which guarantees a correct correlation of subsequent transactions without transmitting the complete card data repeatedly.

Transaction Sequence

Transaction Type

Token-ID

<card-token>

Token Definition

Value

Initial transaction (Request)

authorization

the <card>-section and all its fields
e.g.: <account-number>, <expiration-month>, etc
obtains the substitute token-id value

1234567890987654

empty

Response on initial transaction

authorization

uses token-id value generated from <card> data given in the initial transaction

1234567890987654

Any subsequent transaction of this initial transaction

purchase

uses token-id value generated from <card> data given in the initial transaction

1234567890987654

See the samples for an overview of a payment process consisting of the transaction types authorization and purchase using a token.

Tokenize a Credit Card

The transaction type tokenize converts credit card information into a token that can be used in subsequent payment transactions, instead of the actual credit card information.

Workflow

Create_TokenID_Workflow

Fields

The following fields must be sent either in the request or the response (M = Mandatory, O = Optional). For details of the affected fields see the field table.

Field Request Response
payment

merchant-account-id

M

M

transaction-id

M

request-id

M

M

transaction-type

M

ip-address

O

statuses

statuses.status

M

status@code

M

status@description

M

status@severity

M

account-holder

account-holder.first-name

O

M

account-holder.last-name

O

M

account-holder.email

O

M

account-holder.gender

O

M

account-holder.date-of-birth

O

M

account-holder.phone

O

M

card

card.account-number

M

card.expiration-month

M

card.expiration-year

O

card.card-type

M

card-token

card-token.token-id

M

card-token.token-ext-id

O

card-token.masked-account-number

O

Samples

For transaction process details see the Tokenize samples.

Detokenize a Credit Card

The transaction type detokenize is the inverse of the transaction type tokenize. With the transaction type detokenize a token-id is provided to retrieve the original credit card information.

Fields

The following fields must be sent either in the request or the response (M = Mandatory, O = Optional). For details of the affected fields see the field table.

Field Request Response
payment

merchant-account-id

M

M

transaction-id

M

request-id

M

M

transaction-type

M

ip-address

O

statuses

statuses.status

M

status@code

M

status@description

M

status@severity

M

account-holder

account-holder.first-name

M

O

account-holder.last-name

M

O

account-holder.email

M

O

account-holder.gender

M

O

account-holder.date-of-birth

M

O

account-holder.phone

M

O

card

card.account-number

M

card.expiration-month

M

card.expiration-year

O

card.card-type

M

card-token

card-token.token-id

M

M

card-token.token-ext-id

O

O

card-token.masked-account-number

O

Samples

For transaction process details see the detokenize samples.

The transaction type detokenize is not included in default configuration.
For further information please contact: support@wirecard.com
3D Secure

3D Secure is a protocol supported by all major card schemes that provides secure authentication and processing of online payments. Merchants wishing to comply need to integrate the specific 3D requests and payment parameters.

The Three Domain (3D) Secure initiative by VISA is a payment standard for secure handling of credit card transactions in electronic commerce. This provides Issuers with the ability to authenticate cardholders during an online purchase. Branded as Verified by Visa. MasterCard SecureCode, Amex SafeKey and JCB J/Secure, 3D Secure is designed to clearly identify cardholders and accelerate the growth of electronic commerce through increased consumer confidence.

Authentication is accomplished by verification of certain data which is maintained by the card issuing bank and identifies the individual making an online purchase as the legal owner of the card used. 3D Secure is more than a payment authentication method or a technology definition. It is a model to isolate the liabilities of the various parties involved in the payment transaction cycle. The payment environment requires the participating cardholder to be registered (enrolled) for the process with his issuing bank. In essence, all parties involved in the payment flow must support the 3D Secure transactions. The 3D framework requires the card issuing and acquiring banks to provide cardholders and merchants with an authentication methodology, without binding them to proprietary technology.

Merchant Plug-In (MPI)

An MPI is a software module which provides a communication interface between the merchant and the card schemes' directory servers. It can be integrated in the merchant website or it may be hosted by a service provider or an acquirer. The main functions of an MPI are to verify the card issuers digital signature used in the authentication process, validate enrollment and authentication response messages, encrypt and store passwords and certificates and retrieve payment records and associated card details to resolve transaction disputes. Merchants can choose to leverage the enrollment check and payment authentication using a hosted or an integrated MPI. Both options will notify the merchant if either of the two validations failed.

Payments need to be submitted with the relevant 3D Secure artifacts obtained from the MPI. See the Process Flow in order to see how to submit the relevant 3D Secure artifacts.

Wirecard MPI

This chapter describes the integrated MPI hosted by Wirecard, for merchants that wish to use Wirecard as its 3D Secure MPI Provider. This solution performs all of the relevant validations and exchanges as required by the card schemes.

Payment Request with 3rd Party MPI

If a merchant wishes to use a 3rd Party MPI, only payments need to be submitted with the relevant 3D Secure artifacts obtained from the 3rd Party MPI. The protocol is exactly the same as defined for authorization or purchase request. Only the relevant 3D artifacts should be included in addition, conditionally on their availability. The response remains the same as defined.

Fields

See the field description at payment fields plus the fields, which are specific to 3D Secure.

Samples

See request/response samples for Payment Request with 3rd Party MPI.

Workflow
CreditCard_3dPartyMPI

Processing 3D Secure transactions differs from standard payment processing. Merchants must construct and route their transaction requests accordingly.

The three necessary steps for processing are:

  1. Check Enrollment

  2. Customer ACS Communication

  3. Check Payer Response - Validation of the authentication result. This is used in conjunction with check enrollment.

Check Enrollment

Wirecard Payment Processing API permits merchants to check if a card/cardholder is enrolled in the 3D Secure program. To verify Enrollment status, the merchant system sends a transaction request to Wirecard’s MPI which in turn posts an Enrollment check request (VEReq) to the card schemes' directory servers. In an exchange of messages the directory communicates with the ACS of the card issuer, if required, to determine if the cardholder is enrolled for 3D Secure. A response message (VERes) is returned by the ACS to the MPI to prove that the cardholder is enrolled or that authentication has been attempted.

Fields

See the field description at payment fields plus the fields, which are specific to 3D Secure.

Samples

See request/response samples for Check Enrollment.

Customer ACS Communication

Customer ACS Communication redirects the consumer to the Access Control Server (ACS) URL, a webpage provided by the cardholder’s bank. This allows the consumer to authenticate himself by entering his 3D credentials.

In addition to the interface setup between the merchant and Wirecard, the successful 3D Secure implementation requires some interaction between the merchant and the issuing bank via the cardholder browser.

There is NO interaction with Wirecard for this step.

To get the 3D authentication to work, it is necessary that the merchant communicates with the Access Control Server (ACS) by SSL-encrypted HTTP POST request. In setting up the HTTPS Post authentication request, the merchant must ensure that the following enrollment check of the purchase order is redirected from the merchant server to the card issuer’s Access Control Server (ACS).

Fields

See the field description at payment fields plus the fields, which are specific to 3D Secure.

ACS HTTPS Redirect

In case a card is eligible and enrolled ('check-enrollment', Transaction Status Code = 200.0000) the merchant system must redirect the customer’s browser to the ACS URL provided in the Verify 3D Participation response. If the card is not enrolled (('check-enrollment', Transaction Status Code = 500.1072) , the ACS redirect must be skipped.

This HTTPS POST message includes the web address (URL) of the ACS and three hidden input types: <PaReq>, <TermUrl> and <MD>.

<PaReq> defined as the Payment Authentication Request.

<TermUrl> defines the web address of the merchant site to which the issuer returns the Payment Authentication Response (PARes) message.

The parameter type <MD> is reserved for specific merchant data. Although this field is mandatory, it does not need to have a value defined. If this input type is omitted an authentication error will occur and the payment process is aborted. <MD> may be useful for retrieving transaction data from the database or recalling a transaction. The data is returned untouched by the ACS with the Payment Authentication Response (PARes).

Example: Auto submission POST Request
<html>
   <head>
      <meta HTTP-EQUIV="Content-Type" content="text/html; charset=UTF-8" />
      <meta HTTP-EQUIV="Cache-Control" CONTENT="no cache" />
      <meta HTTP-EQUIV="Pragma" CONTENT="no cache" />
      <meta HTTP-EQUIV="Expires" CONTENT="0" />
   </head>
   <body OnLoad="AutoSubmitForm();">
      <form name="downloadForm" action="AcsUrl" method="POST">
         <input type="hidden" name="PaReq" value="PaReq" />
         <input type="hidden" name="TermUrl" value="TermUrl" />
         <input type="hidden" name="MD" value="optionalValue" />
         <SCRIPT LANGUAGE="Javascript">
            <!--function AutoSubmitForm() { document.downloadForm.submit();}//-->
         </SCRIPT>
         <input type="submit" name="continue" value="Continue" />
      </form>
   </body>
</html>

ACS HTTPS Redirect to TermURL

The cardholder’s browser passes the encrypted PaReq message unprocessed to the ACS.

This step is made up of two phases: The server invokes an authentication popup or inline window in the cardholder’s browser. The cardholder enters a password in the authentication window and the data returns to the ACS.

The ACS authenticates the cardholder’s password, constructs the verification ID, and posts an SSL-encrypted and digitally signed Payment Authentication Response (PARes) to the TermURL via the account holder’s browser. Encryption and signature ensure that the content cannot be modified during transit.

The cardholder browser redirects the fully encrypted PARes to the merchant’s server address specified as TermUrl. The response message contains the results of the cardholder authentication and the untouched merchant data (MD).

Check Payer Response

The merchant has received the PARes via the TermUrl. This request should be used in case you are using the Payment Processing API as "MPI only". Otherwise the PARes should be included along with the subsequent payment request.

To ensure a unique transaction flow the Check Payer Response should be called for ALL 3D transactions regardless of the enrollment status. The Check Payer Response includes the ECI which is needed for further payment processing.

Fields

See the field description at payment fields plus the fields, which are specific to 3D Secure.

Samples

See request/response samples for Check Payer Response.

Payment Request with PARes

The merchant has received the PARes via the TermUrl. The PARes is forwarded to Wirecard along with payment request.

Fields

See the field description at payment fields plus the fields, which are specific to 3D Secure.

The parent-transaction-id supplied is the transaction-id of the "check-enrollment" response.
The PARes is received after communicating with the issuing bank.
Wirecard checks the payer response encoded in PARes. If successful, it will perform the transaction.

Samples

See request/response samples for Payment Request with PARes.

Dynamic Descriptor

With the Dynamic Descriptor, merchants can itemize sales more clearly to the benefit of their customers, back office and consumer care management.

As merchants can add sales-specific information to electronic settlement requests, consumers have a better understanding of what they purchased. This increases their level of satisfaction and reduces the number of chargebacks. Known as a dynamic descriptor, the details can be included in any settlement transaction, be it e-commerce, POS or MOTO.

Data and Structure

Merchant Name and Merchant Location are usually displayed on the cardholder’s bank statement. These fields or parts of them are used for presenting the dynamic data on the cardholder’s statement.

Apart from such static data, the merchant can add transaction information to better reference their sales. For example, the merchant may use invoice number, booking ID or transaction ID. This data is typically passed along to the merchant. As this field has a fixed length, the longer the merchant name is, the smaller the number of digits allocated to dynamic information will be.

Digits Allocation

Card Brand

Field

Digits

VISA

Name

25

Location

13

Master Card

Name

22

Location

13

JBC

Name

25

Location

13

Merchants are advised to consider all these parameters before setting a dynamic descriptor, because any text exceeding the permissible length is cut off and discarded.

Please be aware that industry-specific restrictions apply by card schemes.

Please also note that it is up to the issuer to decide which data provided in the dynamic descriptor is printed on the cardholder’s statement. Wirecard can thus not guarantee that the dynamic descriptor data submitted to the issuers via the scheme networks is fully printed on the cardholder’s statement.

Wirecard Bank (WDB) receives the transaction data from the Wirecard Payment Gateway, looks up the merchant address, consolidates static address details and dynamic sales data (including Merchant Name and Merchant Location) and routes the information along with the settlement request to the issuer. To what level the routed details will later appear on the customer’s card statement may vary from issuer to issuer.

How It Works

When a merchant sends a transaction request with a dynamic descriptor, the data provided in the reserved transaction field tag expands the address information registered in the card acquirer’s MID database.

The dynamic descriptor is created for settlement transaction types such as purchase, capture or credit. authorization is not supported.

Workflow

CreditCard DynamicDescriptor Workflow
  1. The consumer shops at the merchant’s site and enters his card details at checkout.

  2. The merchant system records the data and posts an XML request with the default identifiers including the descriptor text (entered in one of the <Transaction-ID>, <Order Number>, <Request ID> or <Descriptor> tag) to the Wirecard Payment Gateway.

  3. Wirecard Payment Gateway processes the request and forwards the transaction details to the acquirer (e.g. Wirecard Bank).

  4. The acquirer acquires the card and sales details, reads the related identifier values, looks up the merchant’s name and business details in the MID database and complements the merchant data with the data sent in one of the transaction identifier tag fields.

  5. The aquirer routes the settlement request including the dynamic text to the issuer.

  6. The issuer processes the request, debits the consumer’s account and adds a new debit item with the dynamic descriptor to the credit card statement.

Payment Facilitator

The Payment Facilitator model allows a Payment Service Provider with a Payment Facilitator license to aggregate credit card payments, collect funds resulting from credit card traffic and settle sub merchants directly.

Requests in Payment Facilitator traffic require additional sub merchant information in the <sub-merchant-info> tag of each first request in the transaction flow (e.g. check-enrollment, authorization-only, authorization or purchase).

The sub merchant information is only required for MasterCard traffic, but Wirecard recommends to send it for every credit card brand to avoid complexity in implementation.

Each transaction type must contain <sub-merchant-info> in the initial step. For the following steps <sub-merchant-info> is not mandatory, but Wirecard recommends to send <sub-merchant-info> in every step. This helps to avoid complexity in implementation.
Recurring Transaction

To submit a recurring transaction the merchant must submit a request with the transaction type authorization-only, authorization or purchase including the PERIODIC TYPE element and a SEQUENCE TYPE.

Credit Card specific Periodic Types

Aside from the standard Periodic Types, Credit Card can also be used with the Periodic Types ucof and ci.

ucof

The Unscheduled Credential on File (ucof) allows the merchant to reference a regularly based transaction (like an unlimited periodic payment or an installment payment) to an already successfully submitted transaction. ucof is a transaction using a stored credential for a fixed or variable amount that does not occur on a scheduled or regularly occurring transaction date, where the cardholder has provided consent for the merchant to initiate one or more future transactions. An example of such transaction is an account auto-top up transaction.

ci

The periodic type ci (Consumer Initiated) allows the merchant to identify that the cardholder himself initiated the transaction and whether this is an initial (first) or subsequent (recurring) one. As soon as this is subsequent merchant initiated transaction (e.g. the cardholder used an account on merchant side ) and the corresponding information is sent to Wirecard Payment Gateway, CVV could be omitted within the transaction and Visa will still approve it. So this will lead to higher approve rate in the future.

Restrictions

Read, which restrictions have to be met to use a recurring transaction.

Samples

See request/response samples for Recurring Transaction.

Possible Scenarios

Shopping Online/Via an App

Establish Stored Credential/First Transaction

  1. Cardholder consent is obtained: merchant-tokenization-flag set to true

  2. Cardholder provides the Credit Card data including CVV/CVC2 code (required): periodic/periodic-type = 'ci' included in the transaction and periodic/sequence-type = 'first'

  3. Merchant sends the transaction to Wirecard Payment Gateway

Example: Establishment of Stored Credential/First Transaction
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <periodic>
    <periodic-type>ci</periodic-type>
    <sequence-type>first</sequence-type>
   </periodic>
   <merchant-account-id>32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <requested-amount currency="USD">1.02</requested-amount>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone></phone>
   </account-holder>
   <card>
      <account-number>4147460000000002</account-number>
      <expiration-month>12</expiration-month>
      <expiration-year>2020</expiration-year>
      <card-type>visa</card-type>
      <card-security-code>123</card-security-code>
      <merchant-tokenization-flag>true</merchant-tokenization-flag>
   </card>
   <ip-address>127.0.0.1</ip-address>
</payment>

Subsequent Cardholder Initiated Purchase

  1. Cardholder consent is obtained: merchant-tokenization-flag set to true

  2. Cardholder data is saved within a cardholder’s account (CVV is not required)

  3. Cardholder uses the account to make a purchase: periodic/periodic-type = 'ci' included in the transaction and periodic/sequence-type = 'recurring'

  4. Merchant sends the transaction to Wirecard Payment Gateway

Example: Subsequent Cardholder initiated purchase
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <periodic>
    <periodic-type>ci</periodic-type>
    <sequence-type>recurring</sequence-type>
   </periodic>
   <merchant-account-id>32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <requested-amount currency="USD">1.02</requested-amount>
   <parent-transaction-id>0c036ea9-3aef-41e6-82d4-d16514379bee</parent-transaction-id>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone></phone>
   </account-holder>
    <card-token>
      <token-id>4628584608610002</token-id>
   </card-token>
   <card>
    <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>
   <ip-address>127.0.0.1</ip-address>
</payment>

Guest Account/Single Transaction

  1. Since Cardholder doesn’t create a account, Cardholder data is not being saved: the default value for merchant-tokenization-flag is false

  2. Cardholder provides the Credit Card data including CVV/CVC2 code (required)

  3. Merchant sends the transaction to Wirecard Payment Gateway

Example: Guest account/single transaction
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <merchant-account-id>32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <requested-amount currency="USD">1.02</requested-amount>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone></phone>
   </account-holder>
   <card>
      <account-number>4147460000000002</account-number>
      <expiration-month>12</expiration-month>
      <expiration-year>2020</expiration-year>
      <card-type>visa</card-type>
      <card-security-code>123</card-security-code>
   </card>
   <ip-address>127.0.0.1</ip-address>
</payment>

Recurring (R) or Installment (I) Transaction

First Recurring or Installment

  1. Cardholder consent is obtained: merchant-tokenization-flag set to true

  2. Cardholder would like to initiate Recurring or Installment payments

  3. Cardholder provides the Credit Card data including CVV/CVC2 code: periodic/periodic-type = 'installment'/'recurring' included in the transaction and periodic/sequence-type = 'first'

  4. Merchant sends the transaction to Wirecard Payment Gateway

Example: First Recurring or Installment
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <periodic>
    <periodic-type>recurring</periodic-type>
    <sequence-type>first</sequence-type>
   </periodic>
   <merchant-account-id>32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <requested-amount currency="USD">1.02</requested-amount>
   <parent-transaction-id>0c036ea9-3aef-41e6-82d4-d16514379bee</parent-transaction-id>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone></phone>
   </account-holder>
   <card>
      <account-number>4147460000000002</account-number>
      <expiration-month>12</expiration-month>
      <expiration-year>2020</expiration-year>
      <card-type>visa</card-type>
      <card-security-code>123</card-security-code>
      <merchant-tokenization-flag>true</merchant-tokenization-flag>
   </card>
   <ip-address>127.0.0.1</ip-address>
</payment>

Subsequent Recurring or Installment

Merchant Initiated Transaction

  1. Merchant initiates a subsequent Recurring or Installment payment: periodic/periodic-type = 'installment'/'recurring' included in the transaction and periodic/sequence-type = 'recurring'

  2. Merchant sends the transaction to Wirecard Payment Gateway

Example: Merchant initiated transaction
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <periodic>
    <periodic-type>recurring</periodic-type>
    <sequence-type>recurring</sequence-type>
   </periodic>
   <merchant-account-id>32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <requested-amount currency="USD">1.02</requested-amount>
   <parent-transaction-id>0c036ea9-3aef-41e6-82d4-d16514379bee</parent-transaction-id>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone></phone>
   </account-holder>
    <card-token>
      <token-id>4628584608610002</token-id>
   </card-token>
   <card>
    <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>
   <ip-address>127.0.0.1</ip-address>
</payment>

ucof

Example: auto-top up for transit or mobile - date is irregular, i.e. not known as usage driven

  1. Cardholder consent is obtained: merchant-tokenization-flag set to true

  2. Cardholder would like to initiate ucof payments

  3. Cardholder provides the Credit Card data including CVV/CVC2 code: periodic/periodic-type = 'ucof' included in the transaction and periodic/sequence-type = 'first'

  4. Merchant sends the transaction to Wirecard Payment Gateway

Example: First UCOF (sequence-type = 'first')
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <periodic>
    <periodic-type>ucof</periodic-type>
    <sequence-type>first</sequence-type>
   </periodic>
   <merchant-account-id>32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <requested-amount currency="USD">1.02</requested-amount>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone></phone>
   </account-holder>
   <card>
      <account-number>4147460000000002</account-number>
      <expiration-month>12</expiration-month>
      <expiration-year>2020</expiration-year>
      <card-type>visa</card-type>
      <card-security-code>123</card-security-code>
      <merchant-tokenization-flag>true</merchant-tokenization-flag>
   </card>
   <ip-address>127.0.0.1</ip-address>
</payment>

Merchant Initiated Transaction

  1. Merchant initiates a subsequent UCOF payment: periodic/periodic-type = 'ucof' included in the transaction and periodic/sequence-type = 'recurring'

  2. Merchant sends the transaction to Wirecard Payment Gateway

Example: Subsequent UCOF (sequence-type = 'recurring')
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <periodic>
    <periodic-type>ucof</periodic-type>
    <sequence-type>recurring</sequence-type>
   </periodic>
   <merchant-account-id>32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <requested-amount currency="USD">1.02</requested-amount>
   <parent-transaction-id>0c036ea9-3aef-41e6-82d4-d16514379bee</parent-transaction-id>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone></phone>
   </account-holder>
    <card-token>
      <token-id>4628584608610002</token-id>
   </card-token>
   <card>
    <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>
   <ip-address>127.0.0.1</ip-address>
</payment>
Non-Referenced Capture

In an offline transaction process it is possible to have a non-referenced capture authorization. The Wirecard Payment Gateway can support such a type of transaction when using a special capture-authorization Credit Card transaction.

A transaction is considered non-referenced capture when it meets all the following four conditions in the payment XML request:

  1. The transaction type is capture-authorization

  2. payment-method is Credit Card

  3. parent-transaction-id is empty (no tag present)

  4. authorization-code is present (can have empty value)

If all conditions are met, then the transaction is sent to Wirecard Payment Gateway.

The most exceptional fact in this process is, that it is missing the Parent-Transaction-ID. By default capture-authorization takes most of its properties from the parent transaction.

Even though no parent transaction is available, captures which have not been referenced by Wirecard Payment Gateway can be processed. Cases like this will be handled a non-referenced capture-authorization transaction type. In that case all fields must be supplied with the capture-authorization request.

Visa Offers Platform

Visa provides a loyalty program called Visa Offers. With the Visa Offers Platform (VOP) you can enroll your consumers' cards and check their loyality based on the expenses made with the enrolled card. Schemes convert the tracked expenses into loyalty points. You can check in with the platform and allow your consumers to redeem the collected loyalty points.

Transaction Types

Visa Offers Platform uses the transaction type enrollment only. It is needed to enroll a card in the Visa Offers Platform.

Test Credentials

Endpoint

https://api-test.wirecard.com/engine/rest/payments/

Merchant Account ID (MAID)

f82ea856-be50-4899-988d-697574df65f0

Username

61613-VisaOffers

Password

woU6xxn17HhSi-

Secret Key

d40ec430-89eb-4c52-ba2c-98d9e8910fb3

Workflow
Enroll Card
  1. Merchant sends enrollment request.

  2. Wirecard Payment Gateway returns enrollment response.

Add Card
  1. Merchant sends add card request.

  2. Wirecard Payment Gateway returns add card response.

Fields

A field can either be mandatory (M) or optional (O).

  • If a field is mandatory, it must be included in the request and contain a value. Without this field, the request will fail.

  • If a field is optional, it can, but does not have to be included in the request. Including optional fields can have certain advantages.

  • Some optional fields can be mandatory for individual requests, depending on merchant account settings for additional features. We list them as M/O.

Enrollment Request
Field Request Datatype Size Description

payment

merchant-account-id

M

String

36

Unique identifier for a merchant account.

request-id

M

String

36

Identification number of the request. It has to be unique for each request.

transaction-type

M

String

22

Type of the transaction. Must be enrollment.

payment-methods/payment-method[@name]

M

String

9

Name of the payment method. Must be creditcard.

api-id

O

String

36

The api-id is always returned in the notification.

consumer-id

M/O

String

50

Identifier for the consumer.
At least one of the following must be present: consumer-id, email or phone.

The consumer-id is mandatory for Enroll Card with Token.

card

card-type

M

String

15

Card type of the consumer. Must be visa.

account-number

M

String

36

Card account number of the consumer.

expiration-year

M

Numeric

4

Expiration year of the consumer’s card.

expiration-month

M

Numeric

2

Expiration month of the consumer’s card.

security-code

O

String

4

Security code of the consumer’s card.

account-holder

email

M/O

String

64

Email address of the consumer.
At least one of the following must be present: consumer-id, email or phone.

phone-country-code

M/O

String

64

Country identifying information for the contact.
Must be present if phone number is used.

If +1 999 555 0100 is the phone number in international format, then 1 is the value of the phone-country-code field.

card-token

token-id

O

String

36

Token corresponding to card.account-number of the consumer.

masked-account-number

O

String

36

Masked version of card.account-number of the consumer, e.g. 440804******7893.

loyality-card

promotion-code

O

Numeric

36

Promotional code associated with the enrollment of the user.
Visa Offers Platform sets the PromoCode to upper case upon receipt. Alphanumeric. No special characters.

Enrollment Response
Field Datatype Description

payment

transaction-id

String

Unique identifier for a transaction. It is generated by Wirecard.

instrument-country

String

The instrument country retrieves the issuer country of a certain credit card. It returns a two-digit country code.

Returned only if engine has enabled FEATURE_CARD_TYPE_SERVICE or X-WD-Toggle-EnableFeature=FEATURE_CARD_TYPE_SERVICE header is sent with request.

statuses

status

String

Status of a transaction.

status@code

String

Code of the status of a transaction.

status@description

String

Description of the status code of a transaction.

status@severity

String

Provides information if a status is a warning, an error or an information.

card-data

issuer-name

String

Name of the card issuer.

Returned only if engine has enabled FEATURE_CARD_TYPE_SERVICE or X-WD-Toggle-EnableFeature=FEATURE_CARD_TYPE_SERVICE header is sent with request.

loyalty

user-id

String

Unique VOP user ID generated by the VOP system upon successful enrollment.

card-id

String

Unique VOP card ID generated by the VOP system upon successful enrollment.

Add Card Request
Field Request Datatype Size Description

payment

merchant-account-id

M

String

36

Unique identifier for a merchant account.

request-id

M

String

36

Identification number of the request. It has to be unique for each request.

transaction-type

M

String

22

Type of the transaction. Must be enrollment.

payment-methods/payment-method[@name]

M

String

9

Name of the payment method. Must be creditcard.

api-id

O

String

36

The api-id is always returned in the notification.

card

card-type

M

String

15

Card type of the consumer. Must be visa or mastercard.

account-number

M

String

36

Card account number of the consumer.

expiration-year

M

Numeric

4

Expiration year of the consumer’s card.

expiration-month

M

Numeric

2

Expiration month of the consumer’s card.

security-code

O

String

4

Security code of the consumer’s card.

card-token

token-id

O

String

36

Token corresponding to card.account-number of the consumer.

masked-account-number

O

String

36

Masked version of card.account-number of the consumer, e.g. 440804******7893.

loyality-card

promotion-code

O

Numeric

36

Promotional code associated with the enrollment of the user.
Visa Offers Platform sets the PromoCode to upper case upon receipt. Alphanumeric. No special characters.

loyalty

user-id

M

String

36

Unique Visa Offers Platform user ID generated by the VOP system upon successful enrollment.

card-id

O

String

36

Unique Visa Offers Platform card ID generated by the VOP system upon successful enrollment.

Add Card Response
Field Datatype Description

payment

transaction-id

String

Unique identifier for a transaction. It is generated by Wirecard.

instrument-country

String

Country code of the card issuer.

Returned only if engine has enabled FEATURE_CARD_TYPE_SERVICE or X-WD-Toggle-EnableFeature=FEATURE_CARD_TYPE_SERVICE header is sent with request.

statuses

status

String

Status of a transaction.

status@code

String

Code of the status of a transaction.

status@description

String

Description of the status code of a transaction.

status@severity

String

Provides information if a status is a warning, an error or an information.

card-data

issuer-name

String

Name of the card issuer.

Returned only if engine has enabled FEATURE_CARD_TYPE_SERVICE or X-WD-Toggle-EnableFeature=FEATURE_CARD_TYPE_SERVICE header is sent with request.
Samples
For a successful test each request requires a Visa credit card number that has not been used before. Make sure to change the credit card number with every new request.
Enrollment Request
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>f82ea856-be50-4899-988d-697574df65f0</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>enrollment</transaction-type>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <account-holder>
        <email>{{$guid}}@email.com</email>
        <phone-country-code>1</phone-country-code>
    </account-holder>
    <card>
        <card-type>visa</card-type>
        <account-number>4200000000000018</account-number>
        <expiration-year>2023</expiration-year>
        <expiration-month>01</expiration-month>
    </card>
</payment>
Enrollment Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/f82ea856-be50-4899-988d-697574df65f0/payments/98b62d32-d977-410c-b9b5-d130f5a2e679">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/f82ea856-be50-4899-988d-697574df65f0">f82ea856-be50-4899-988d-697574df65f0</merchant-account-id>
    <transaction-id>98b62d32-d977-410c-b9b5-d130f5a2e679</transaction-id>
    <request-id>0c99fca1-c286-4d97-9568-8856e808c04d</request-id>
    <transaction-type>enrollment</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-08-29T14:14:28.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="loyalty:The resource was successfully created." severity="information"/>
    </statuses>
    <account-holder>
        <email>98589c51-234e-41c5-a33b-90afe08031f7@email.com</email>
        <phone-country-code>1</phone-country-code>
    </account-holder>
    <loyalty-card>
        <user-id>7fe54e18-f251-4130-9f6b-0536afc86ee7</user-id>
        <card-id>32be4a4e-67ca-e911-b9b9-005056ab64a1</card-id>
    </loyalty-card>
    <card-data>
        <issuer-name></issuer-name>
    </card-data>
    <card-token>
        <token-id>4523377393220018</token-id>
        <masked-account-number>420000******0018</masked-account-number>
    </card-token>
    <descriptor></descriptor>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <api-id>elastic-api</api-id>
    <instrument-country>US</instrument-country>
</payment>
Tokenize Request
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>1b3be510-a992-48aa-8af9-6ba4c368a0ac</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>tokenize</transaction-type>
    <requested-amount currency="EUR">5.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <address>
            <street1>2200 Pacific Hwy</street1>
            <city>San Diego</city>
            <state>US</state>
            <country>CA</country>
            <postal-code>92101</postal-code>
        </address>
    </account-holder>
    <card>
        <account-number>4200000000000018</account-number>
        <expiration-month>1</expiration-month>
        <expiration-year>2023</expiration-year>
        <card-security-code>018</card-security-code>
        <card-type>visa</card-type>
    </card>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <three-d/>
</payment>
Tokenize Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/1b3be510-a992-48aa-8af9-6ba4c368a0ac/payments/1f4b55b9-0e34-40c9-b7e0-3d6e3d05a8e8">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/1b3be510-a992-48aa-8af9-6ba4c368a0ac">1b3be510-a992-48aa-8af9-6ba4c368a0ac</merchant-account-id>
    <transaction-id>1f4b55b9-0e34-40c9-b7e0-3d6e3d05a8e8</transaction-id>
    <request-id>0be5a58e-dc46-4fea-9142-aa1e0c235164</request-id>
    <transaction-type>tokenize</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-08-30T09:27:12.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="EUR">5.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <address>
            <street1>2200 Pacific Hwy</street1>
            <city>San Diego</city>
            <state>US</state>
            <country>CA</country>
            <postal-code>92101</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4242796444090018</token-id>
        <masked-account-number>420000******0018</masked-account-number>
    </card-token>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <api-id>elastic-api</api-id>
</payment>
Tokenized-Enrollment Request
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>f82ea856-be50-4899-988d-697574df65f0</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>enrollment</transaction-type>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <card-token>
        <token-id>4242796444090018</token-id>
    </card-token>
</payment>
Tokenized-Enrollment Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/f82ea856-be50-4899-988d-697574df65f0/payments/3aef6414-baeb-48d5-a96b-def06da89bf1">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/f82ea856-be50-4899-988d-697574df65f0">f82ea856-be50-4899-988d-697574df65f0</merchant-account-id>
    <transaction-id>3aef6414-baeb-48d5-a96b-def06da89bf1</transaction-id>
    <request-id>11575b50-0487-4383-aaba-98decd51e3b0</request-id>
    <transaction-type>enrollment</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-08-07T12:58:45.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="loyalty:The resource was successfully created." severity="information"/>
    </statuses>
    <account-holder>
        <email>c523602e-4c4b-4813-b043-588af831a250@email.com</email>
    </account-holder>
    <loyalty-card>
        <user-id>791edab8-ebdb-432f-8b0e-e3623c6c6afc</user-id>
        <card-id>d925e43c-90af-e811-8807-005056ab64a1</card-id>
    </loyalty-card>
    <card-token>
        <token-id>4242796444090018</token-id>
        <masked-account-number>420000******0018</masked-account-number>
    </card-token>
    <descriptor></descriptor>
    <custom-fields>
        <custom-field field-name="elastic-api.card_id" field-value="33ad9112-d6d6-11e5-96d8-005056a96a54"/>
    </custom-fields>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <api-id>elastic-api</api-id>
</payment>

Samples

On this page you can find all the XML and NVP samples available for Credit Card payment.

Preauthorization
XML
XML Preauthorization Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>preauthorization</transaction-type>
  <requested-amount currency="USD">1.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>29469</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Preauthorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/c211fc50-15da-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>c211fc50-15da-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>preauthorization</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T16:55:02.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C843418143464650156857"/>
  </statuses>
  <requested-amount currency="USD">1.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>29469</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>547379</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Preauthorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
  <transaction-id>0ab05588-1901-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>preauthorization</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-22T17:06:38.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C845105143499279768882"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>32995</order-number>
  <order-detail>Test Product</order-detail>
  <descriptor>demo descriptor</descriptor>
  <notifications>
    <notification url="http://requestb.in/120zdah1">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>101914</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Preauthorization Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>preauthorization</transaction-type>
  <requested-amount currency="USD">1.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type></card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>41404</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Preauthorization Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/e2f04f3f-15dc-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>e2f04f3f-15dc-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>preauthorization</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T17:10:14.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1005" description="The Card Type has not been provided or is incorrect." severity="warning"/>
  </statuses>
  <requested-amount currency="USD">1.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>41404</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Preauthorization Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
  <transaction-id>7109f7a3-1901-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>preauthorization</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-22T17:09:30.000Z</completion-time-stamp>
  <statuses>
    <status code="500.2497" description="3d-acquirer:The Requested Amount is below the minimum required." severity="error" provider-transaction-id="C834181143499296946799"/>
  </statuses>
  <requested-amount currency="USD">0.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>6648</order-number>
  <order-detail>Test Product</order-detail>
  <descriptor>demo descriptor</descriptor>
  <notifications>
    <notification url="http://requestb.in/120zdah1">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code></authorization-code>
  <api-id>elastic-api</api-id>
</payment>
NVP
NVP Preauthorization Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-7397&transaction_type=preauthorization&requested_amount_currency=USD&requested_amount=1.01&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=32888&order_detail=Test Product&payment_method=creditcard
NVP Preauthorization Response (Successful)
order_number=32888&api_id=elastic-api&descriptor=demo+descriptor&transaction_type=preauthorization&completion_time_stamp=20190618171326&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F54bd1f8f-15dd-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=54bd1f8f-15dd-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-7397&requested_amount=1.01&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C865149143464760663368&last_name=Doe&authorization_code=609873&payment_method=creditcard&
NVP Preauthorization Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-48733&transaction_type=preauthorization&requested_amount_currency=USD&requested_amount=1.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=13&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=20189&order_detail=Test Product&payment_method=creditcard
NVP Preauthorization Response (Failure)
order_number=20189&api_id=elastic-api&transaction_type=preauthorization&completion_time_stamp=20190618171502&status_code_1=400.1003&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F8e648989-15dd-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=8e648989-15dd-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-48733&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Expiration+Month+is+invalid.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Authorization
XML

authorization samples

NVP
NVP Authorization Request (Successful)
merchant_account_id=cbae28e3-f8da-442a-b8d4-50393da6bcba&request_id=unique for each request&transaction_type=authorization&requested_amount_currency=USD&requested_amount=1.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=5555555555&address_street1=123 anystreet&address_street2=Suite 312&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=35185&order_detail=Test Product&payment_method=creditcard
NVP Authorization Response (Successful)
order_number=35185&api_id=elastic-api&phone=5555555555&descriptor=demo+descriptor&transaction_type=authorization&completion_time_stamp=20150617211048&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Fcbae28e3-f8da-442a-b8d4-50393da6bcba%2Fpayments%2F526b1a57-1535-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=526b1a57-1535-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=cbae28e3-f8da-442a-b8d4-50393da6bcba&order_detail=Test+Product&request_id=${response}&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C920863143457544752444&last_name=Doe&authorization_code=662294&payment_method=creditcard&
NVP Authorization Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=unique for each request&transaction_type=authorization&requested_amount_currency=USD&requested_amount=7.07&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=01&expiration_year=2015&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=16992&order_detail=Test Product&payment_method=creditcard
NVP Authorization Response (Failure)
order_number=16992&api_id=elastic-api&transaction_type=authorization&completion_time_stamp=20190618152747&status_code_1=400.1003&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F92db9afe-15ce-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=92db9afe-15ce-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=response&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Expiration+Month+is+invalid.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Tokenization
XML
XML Tokenize Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>tokenize</transaction-type>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>555 555 5555</phone>
    <address>
      <street1>123 anystreet</street1>
      <street2>apt 2</street2>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type>visa</card-type>
  </card>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Tokenize Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/282e4d55-15d9-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>282e4d55-15d9-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>tokenize</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T16:43:33.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="The resource was successfully created." severity="information"/>
  </statuses>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>555 555 5555</phone>
    <address>
      <street1>123 anystreet</street1>
      <street2>apt 2</street2>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Tokenize Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>06230acc-18fe-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>tokenize</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-22T16:45:00.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="The resource was successfully created." severity="information"/>
  </statuses>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>555 555 5555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4634770387971111</token-id>
    <masked-account-number>444433******1111</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>6217</order-number>
  <order-detail>Test Product</order-detail>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Tokenize Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>tokenize</transaction-type>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>555 555 5555</phone>
    <address>
      <street1>123 anystreet</street1>
      <street2>apt 2</street2>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2012</expiration-year>
    <card-type>visa</card-type>
  </card>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Tokenize Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/6300800b-15e7-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>6300800b-15e7-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>tokenize</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T18:25:24.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1004" description="The Expiration Year is invalid.  Please check your input and try again." severity="error"/>
  </statuses>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>555 555 5555</phone>
    <address>
      <street1>123 anystreet</street1>
      <street2>apt 2</street2>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Tokenize Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>89b65f4e-18ff-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>tokenize</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-22T16:55:51.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1004" description="The Expiration Year is invalid.  Please check your input and try again." severity="error"/>
  </statuses>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>555 555 5555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <ip-address>127.0.0.1</ip-address>
  <order-number>47473</order-number>
  <order-detail>Test Product</order-detail>
  <notifications>
    <notification url="http://requestb.in/120zdah1">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
NVP
NVP Tokenize Request (Successful)
first_name=John&card_type=visa&transaction_type=tokenize&expiration_month=12&account_number=4271149787014678&expiration_year=2025&ip_address=127.0.0.1&last_name=Doe&email=test@test.com&phone=555 555 5555&street1=123 anystreet&street2=apt 2&city=Brantford&state=ON&country=CA&request_id=demo-18329&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&postal_code=M4P1E8&&merchant_crm_id=salesforce-76156
NVP Tokenize Response (Successful)
street2=apt+2&merchant_crm_id=salesforce-76156&street1=123+anystreet&api_id=elastic-api&phone=555+555+5555&transaction_type=tokenize&state=ON&completion_time_stamp=20190618164724&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Fb1ee41a5-15d9-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=b1ee41a5-15d9-11e5-87be-00163e5411b5&country=CA&city=Brantford&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&first_name=John&request_id=demo-18329&masked_account_number=427114******4678&email=test%40test.com&status_description_1=The+resource+was+successfully+created.&postal_code=M4P1E8&last_name=Doe&
NVP Tokenize Request (Failure)
first_name=John&card_type=visa&transaction_type=tokenize&expiration_month=12&account_number=4271149787014678&expiration_year=2012&ip_address=127.0.0.1&last_name=Doe&email=test@test.com&phone=555 555 5555&street1=123 anystreet&street2=apt 2&city=Brantford&state=ON&country=CA&request_id=demo-21560&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&postal_code=M4P1E8&&merchant_crm_id=salesforce-76156
NVP Tokenize Response (Failure)
street2=apt+2&merchant_crm_id=salesforce-76156&street1=123+anystreet&api_id=elastic-api&phone=555+555+5555&transaction_type=tokenize&state=ON&completion_time_stamp=20190618182632&status_code_1=400.1004&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F8b878ef7-15e7-11e5-87be-00163e5411b5&transaction_state=failed&transaction_id=8b878ef7-15e7-11e5-87be-00163e5411b5&country=CA&city=Brantford&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&first_name=John&request_id=demo-21560&email=test%40test.com&status_description_1=The+Expiration+Year+is+invalid.++Please+check+your+input+and+try+again.&postal_code=M4P1E8&last_name=Doe&
Detokenization
XML
XML Detokenize Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>8d97b958-2d15-450e-979e-222250672c72</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>detokenize</transaction-type>
  <card-token>
    <token-id>4990489254104678</token-id>
  </card-token>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Detokenize Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/8d97b958-2d15-450e-979e-222250672c72/payments/ec7674cd-15d8-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/8d97b958-2d15-450e-979e-222250672c72">8d97b958-2d15-450e-979e-222250672c72</merchant-account-id>
  <transaction-id>ec7674cd-15d8-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>detokenize</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T16:41:52.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="The resource was successfully created." severity="information"/>
  </statuses>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>555 555 5555</phone>
    <address>
      <street1>123 anystreet</street1>
      <street2>apt 2</street2>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type>visa</card-type>
  </card>
  <card-token>
    <token-id>4990489254104678</token-id>
  </card-token>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Detokenize Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
  <transaction-id>06d5809a-18fe-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>detokenize</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-22T16:45:02.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="The resource was successfully created." severity="information"/>
  </statuses>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>555 555 5555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4634770387971111</token-id>
  </card-token>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Detokenize Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>8d97b958-2d15-450e-979e-222250672c72</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>detokenize</transaction-type>
  <card-token>
    <token-id>499048925410467</token-id>
  </card-token>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Detokenize Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/8d97b958-2d15-450e-979e-222250672c72/payments/29b7cab3-15d9-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/8d97b958-2d15-450e-979e-222250672c72">8d97b958-2d15-450e-979e-222250672c72</merchant-account-id>
  <transaction-id>29b7cab3-15d9-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>detokenize</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T16:43:35.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1028" description="The Token or Account Number is invalid.  Please check your input and try again" severity="error"/>
  </statuses>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Detokenize Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
  <transaction-id>b027a929-18fe-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>detokenize</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-22T16:49:46.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1028" description="The Token or Account Number is invalid.  Please check your input and try again" severity="error"/>
  </statuses>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
NVP
NVP Detokenize Request (Successful)
transaction_type=detokenize&ip_address=127.0.0.1&request_id=demo-14087&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&token_id=4990489254104678&payment_method=creditcard
NVP Detokenize Response (Successful)
phone=555+555+5555&transaction_type=detokenize&status_severity_1=information&status_code_1=201.0000&completion_time_stamp=20190618164544&state=ON&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F763b2a72-15d9-11e5-87be-00163e5411b5&transaction_state=success&token_id=4990489254104678&city=Brantford&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&expiration_month=12&status_description_1=The+resource+was+successfully+created.&expiration_year=2025&merchant_crm_id=salesforce-76156&street2=apt+2&api_id=elastic-api&street1=123+anystreet&account_number=4271149787014678&transaction_id=763b2a72-15d9-11e5-87be-00163e5411b5&country=CA&request_id=demo-14087&card_type=visa&email=test%40test.com&postal_code=M4P1E8&last_name=Doe&payment_method=creditcard&
NVP Detokenize Request (Failure)
transaction_type=detokenize&ip_address=127.0.0.1&request_id=demo-49528&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&token_id=499048925410467&payment_method=creditcard
NVP Detokenize Response (Failure)
api_id=elastic-api&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-49528&status_description_1=The+Token+or+Account+Number+is+invalid.++Please+check+your+input+and+try+again&transaction_type=detokenize&status_severity_1=error&status_code_1=400.1028&completion_time_stamp=20190618164724&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Fb22f9292-15d9-11e5-87be-00163e5411b5&transaction_state=failed&payment_method=creditcard&transaction_id=b22f9292-15d9-11e5-87be-00163e5411b5&
Authorization Only
XML
XML Authorization Only Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>authorization-only</transaction-type>
  <requested-amount currency="USD">0.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>26423</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Authorization Only Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/b787b831-1535-11e5-87be-00163e5411b5">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>b787b831-1535-11e5-87be-00163e5411b5</transaction-id>
    <request-id>${response}</request-id>
    <transaction-type>authorization-only</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-06-17T21:13:37.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C912539143457561690916"/>
    </statuses>
    <requested-amount currency="USD">0.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>26423</order-number>
    <order-detail>Test Product</order-detail>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>680215</authorization-code>
    <api-id>elastic-api</api-id>
</payment>
XML Authorization Only Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
  <transaction-id>56cb6fa3-18ec-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>authorization-only</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-22T14:38:26.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C914801143498390570906"/>
  </statuses>
  <requested-amount currency="USD">0.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>42288</order-number>
  <order-detail>Test Product</order-detail>
  <descriptor>demo descriptor</descriptor>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>123264</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Authorization Only Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>authorization-only</transaction-type>
  <requested-amount currency="USD">0.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2012</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>7462</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Authorization Only Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/9f3cf204-15cf-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
  <transaction-id>9f3cf204-15cf-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>authorization-only</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T15:35:17.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1004" description="The Expiration Year is invalid.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">0.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>7462</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Authorization Only Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
  <transaction-id>9a33ab0a-18ec-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>authorization-only</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-22T14:40:18.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1114" description="The Requested Amount is above the maximim required for this Merchant Account." severity="error"/>
  </statuses>
  <requested-amount currency="USD">1.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>20577</order-number>
  <order-detail>Test Product</order-detail>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
NVP
NVP Authorization Only Request (Successful)
merchant_account_id=cbae28e3-f8da-442a-b8d4-50393da6bcba&request_id=unique for each request&transaction_type=authorization-only&requested_amount_currency=USD&requested_amount=0.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=5555555555&address_street1=123 anystreet&address_street2=Suite 312&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=14785&order_detail=Test Product&payment_method=creditcard
NVP Authorization Only Response (Successful)
order_number=14785&api_id=elastic-api&phone=5555555555&descriptor=demo+descriptor&transaction_type=authorization-only&completion_time_stamp=20150617211513&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Fcbae28e3-f8da-442a-b8d4-50393da6bcba%2Fpayments%2Ff0ecfc98-1535-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=f0ecfc98-1535-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=cbae28e3-f8da-442a-b8d4-50393da6bcba&order_detail=Test+Product&request_id=response&requested_amount=0.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C971478143457571321250&last_name=Doe&authorization_code=123040&payment_method=creditcard&
NVP Authorization Only Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=unique for each request&transaction_type=authorization-only&requested_amount_currency=USD&requested_amount=0.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=01&expiration_year=2015&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=7405&order_detail=Test Product&payment_method=creditcard
NVP Authorization Only Response (Failure)
order_number=7405&api_id=elastic-api&transaction_type=authorization-only&completion_time_stamp=20190618153640&status_code_1=400.1003&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Fd04ae67c-15cf-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=d04ae67c-15cf-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=response&requested_amount=0.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Expiration+Month+is+invalid.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Authorization Supplementary

This transaction type is not included in default configuration.

XML
XML Authorization Supplementary Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>authorization-supplementary</transaction-type>
    <requested-amount currency="USD">2.01</requested-amount>
    <parent-transaction-id>d29adb16-15e6-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Authorization Supplementary Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/dbf3fbdd-15e6-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>dbf3fbdd-15e6-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>authorization-supplementary</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T18:21:39.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
  </statuses>
  <requested-amount currency="USD">2.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
    </address>
  </account-holder>
  <card-token>
    <token-id>4634770387971111</token-id>
    <masked-account-number>444433******1111</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>424477</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Authorization Supplementary Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>e5d9b2c9-18f7-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>authorization-supplementary</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-22T16:01:09.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
  </statuses>
  <requested-amount currency="USD">1.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>7689</order-number>
  <order-detail>Test Product</order-detail>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy"/>
  </notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>153620</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Authorization Supplementary Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>authorization-supplementary</transaction-type>
    <requested-amount currency="USD"></requested-amount>
    <parent-transaction-id>0400e18d-15f2-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Authorization Supplementary Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/061801ba-15f2-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>061801ba-15f2-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>authorization-supplementary</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T19:41:33.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1011" description="The Requested Amount has not been provided.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD"/>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
    </address>
  </account-holder>
  <card-token>
    <token-id>4634770387971111</token-id>
    <masked-account-number>444433******1111</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Authorization Supplementary Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>563d3908-18f8-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>authorization-supplementary</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-22T16:04:18.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1011"
description="The Requested Amount has not been provided.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD"/>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>5090</order-number>
  <order-detail>Test Product</order-detail>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy"/>
  </notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
NVP
NVP Authorization Supplementary Request (Successful)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=unique for each request&transaction_type=authorization-supplementary&parent_transaction_id=508d9dcd-15f2-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Authorization Supplementary Response (Successful)
order_number=30387&api_id=elastic-api&transaction_type=authorization-supplementary&completion_time_stamp=20190618194341&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F51cf9999-15f2-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=51cf9999-15f2-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=$response&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&last_name=Doe&authorization_code=170700&payment_method=creditcard&
NVP Authorization Supplementary Request (Failure)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=unique for each request&transaction_type=authorization-supplementary&parent_transaction_id=&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Authorization Supplementary Response (Failure)
api_id=elastic-api&transaction_type=authorization-supplementary&completion_time_stamp=20190618194432&status_code_1=400.1021&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F70af7a09-15f2-11e5-87be-00163e5411b5&transaction_state=failed&transaction_id=70af7a09-15f2-11e5-87be-00163e5411b5&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-6625&requested_amount=7.07&requested_amount_currency=USD&status_description_1=The+Parent+Transaction+Id+is+required%2C+and+not+provided.++Please+check+your+input+and+try+again.&api_id=elastic-api&transaction_type=authorization-supplementary&completion_time_stamp=20190618194432&status_code_1=400.1021&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F70af7a09-15f2-11e5-87be-00163e5411b5&transaction_state=failed&transaction_id=70af7a09-15f2-11e5-87be-00163e5411b5&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=response&requested_amount=7.07&requested_amount_currency=USD&status_description_1=The+Parent+Transaction+Id+is+required%2C+and+not+provided.++Please+check+your+input+and+try+again.&
Capture Authorization
NVP
NVP Capture Authorization Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-7638&transaction_type=capture-authorization&parent_transaction_id=578ae35d-15cd-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Capture Authorization Response (Successful)
order_number=16014&api_id=elastic-api&transaction_type=capture-authorization&completion_time_stamp=20190618151902&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F58c5bf3f-15cd-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=58c5bf3f-15cd-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-7638&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C805833143464074127151&last_name=Doe&authorization_code=418157&payment_method=creditcard&
NVP Capture Authorization Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-40862&transaction_type=capture-authorization&parent_transaction_id=578ae35d-15cd-11e5-87be-00163e5411b&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Capture Authorization Response (Failure)
api_id=elastic-api&transaction_type=capture-authorization&completion_time_stamp=20190618152238&status_code_1=400.1020&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Fda9c1044-15cd-11e5-87be-00163e5411b5&transaction_state=failed&transaction_id=da9c1044-15cd-11e5-87be-00163e5411b5&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-40862&requested_amount=7.07&requested_amount_currency=USD&status_description_1=The+Parent+Transaction+Id+does+not+exist.++Please+check+your+input+and+try+again.&
Referenced Authorization
XML
XML Referenced-Authorization Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>referenced-authorization</transaction-type>
    <parent-transaction-id>69f60a89-15df-11e5-87be-00163e5411b5</parent-transaction-id>
    <requested-amount currency="USD">2.50</requested-amount>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Referenced-Authorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/6dbb4e52-15df-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>6dbb4e52-15df-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>referenced-authorization</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T17:28:27.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C803951143464850739076"/>
  </statuses>
  <requested-amount currency="USD">2.50</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4119529611183494</token-id>
    <masked-account-number>414720******3494</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>9206</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>835706</authorization-code>
  <api-id>elastic-api</api-id>
  <periodic>
    <periodic-type>recurring</periodic-type>
  </periodic>
</payment>
XML Referenced-Authorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>60b0d6de-1902-11e5-87be-00163e5411b5</transaction-id>
    <request-id>${response}</request-id>
    <transaction-type>referenced-authorization</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-06-22T17:16:12.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C848152143499337157088"/>
    </statuses>
    <requested-amount currency="USD">10.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>48817</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>596052</authorization-code>
    <api-id>elastic-api</api-id>
    <periodic>
        <periodic-type>recurring</periodic-type>
    </periodic>
</payment>
XML Referenced-Authorization Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>referenced-authorization</transaction-type>
    <parent-transaction-id></parent-transaction-id>
    <requested-amount currency="USD">2.50</requested-amount>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Referenced-Authorization Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea/payments/be4b6167-15df-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9105bb4f-ae68-4768-9c3b-3eda968f57ea">9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
  <transaction-id>be4b6167-15df-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>referenced-authorization</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T17:30:41.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1021" description="The Parent Transaction Id is required, and not provided.  Please check your input and try again." severity="error"/>
    <status code="400.1020" description="The Parent Transaction Id does not exist.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">2.50</requested-amount>
  <ip-address>127.0.0.1</ip-address>
  <api-id>elastic-api</api-id>
</payment>
XML Referenced-Authorization Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9105bb4f-ae68-4768-9c3b-3eda968f57ea</merchant-account-id>
    <transaction-id>539d3626-1903-11e5-87be-00163e5411b5</transaction-id>
    <request-id>${response}</request-id>
    <transaction-type>referenced-authorization</transaction-type>
    <transaction-state>failed</transaction-state>
    <completion-time-stamp>2019-06-22T17:22:58.000Z</completion-time-stamp>
    <statuses>
        <status code="400.1021" description="The Parent Transaction Id is required, and not provided.  Please check your input and try again." severity="error"/>
        <status code="400.1020" description="The Parent Transaction Id does not exist.  Please check your input and try again." severity="error"/>
    </statuses>
    <requested-amount currency="USD">10.00</requested-amount>
    <ip-address>127.0.0.1</ip-address>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <api-id>elastic-api</api-id>
</payment>
NVP
NVP Referenced-Authorization Request (Successful)
merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-45714&transaction_type=referenced-authorization&parent_transaction_id=ea095df6-15df-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Referenced-Authorization Response (Successful)
order_number=11219&api_id=elastic-api&transaction_type=referenced-authorization&completion_time_stamp=20190618173246&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F07cb1e4d-15e0-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=07cb1e4d-15e0-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&order_detail=Test+Product&request_id=demo-45714&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C818580143464876584015&last_name=Doe&authorization_code=703675&periodic_type=recurring&payment_method=creditcard&
NVP Referenced-Authorization Request (Failure)
merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-9832&transaction_type=referenced-authorization&parent_transaction_id=39433085-15e0-11e5-87be-00163e5411b51&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Referenced-Authorization Response (Failure)
api_id=elastic-api&transaction_type=referenced-authorization&completion_time_stamp=20190618173410&status_code_1=400.1020&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F3a9505ea-15e0-11e5-87be-00163e5411b5&transaction_state=failed&transaction_id=3a9505ea-15e0-11e5-87be-00163e5411b5&merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-9832&requested_amount=7.07&requested_amount_currency=USD&status_description_1=The+Parent+Transaction+Id+does+not+exist.++Please+check+your+input+and+try+again.&
Referenced Purchase
NVP
NVP Referenced-Purchase Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-7672&transaction_type=referenced-purchase&parent_transaction_id=39eae959-15e2-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Referenced-Purchase Response (Successful)
 order_number=22942&api_id=elastic-api&transaction_type=referenced-purchase&completion_time_stamp=20190618174831&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F3b5ad305-15e2-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=3b5ad305-15e2-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-7672&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C858659143464971113150&last_name=Doe&authorization_code=472252&periodic_type=recurring&payment_method=creditcard&
NVP Referenced-Purchase Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-9132&transaction_type=referenced-purchase&parent_transaction_id=&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Referenced-Purchase Response (Failure)
api_id=elastic-api&transaction_type=referenced-purchase&completion_time_stamp=20190618175001&status_code_1=400.1021&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F71615edb-15e2-11e5-87be-00163e5411b5&transaction_state=failed&transaction_id=71615edb-15e2-11e5-87be-00163e5411b5&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-9132&requested_amount=7.07&requested_amount_currency=USD&status_description_1=The+Parent+Transaction+Id+is+required%2C+and+not+provided.++Please+check+your+input+and+try+again.&
Purchase
NVP
NVP Purchase Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-44142&transaction_type=purchase&requested_amount_currency=USD&requested_amount=1.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=34004&order_detail=Test Product&payment_method=creditcard
NVP Purchase Response (Successful)
order_number=34004&api_id=elastic-api&descriptor=demo+descriptor&transaction_type=purchase&completion_time_stamp=20190618171924&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F28fb2e71-15de-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=28fb2e71-15de-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-44142&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C835675143464796269077&last_name=Doe&authorization_code=189432&payment_method=creditcard&
NVP Purchase Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-3602&transaction_type=purchase&requested_amount_currency=&requested_amount=1.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=34721&order_detail=Test Product&payment_method=creditcard
NVP Purchase Notification (Failure)
order_number=34721&api_id=elastic-api&transaction_type=purchase&completion_time_stamp=20190618172010&status_code_1=400.1012&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F45ce4abb-15de-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=45ce4abb-15de-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-3602&requested_amount=1.00&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+Currency+has+not+been+provided.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Credit
XML
XML Credit Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>credit</transaction-type>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Credit Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/33f6d473-3036-4ca5-acb5-8c64dac862d1/payments/2a9e56d0-15d7-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/33f6d473-3036-4ca5-acb5-8c64dac862d1">33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
  <transaction-id>2a9e56d0-15d7-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>credit</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T16:29:19.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C813126143464495902720"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <descriptor>demo descriptor</descriptor>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>361471</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Credit Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
  <transaction-id>cf3bad21-18fc-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>credit</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-22T16:36:20.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C864084143499097995956"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>33207</order-number>
  <order-detail>Test Product</order-detail>
  <descriptor>demo descriptor</descriptor>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>667378</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Credit Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>credit</transaction-type>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
    </address>
  </account-holder>
  <card>
    <account-number>4271149787014678</account-number>
    <expiration-month>12</expiration-month>
    <expiration-year>2012</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Credit Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/33f6d473-3036-4ca5-acb5-8c64dac862d1/payments/bdae26bb-15d7-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/33f6d473-3036-4ca5-acb5-8c64dac862d1">33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
  <transaction-id>bdae26bb-15d7-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>credit</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T16:33:25.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1004" description="The Expiration Year is invalid.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Credit Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
  <transaction-id>042a6f31-18fd-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>credit</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-22T16:37:48.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1005" description="The Card Type has not been provided or is incorrect." severity="warning"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>46953</order-number>
  <order-detail>Test Product</order-detail>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
NVP
NVP Credit Request (Successful)
merchant_account_id=33f6d473-3036-4ca5-acb5-8c64dac862d1&request_id=demo-4018&transaction_type=credit&requested_amount_currency=USD&requested_amount=1.01&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=41777&order_detail=Test Product&payment_method=creditcard
NVP Credit Response (Successful)
order_number=41777&api_id=elastic-api&descriptor=demo+descriptor&transaction_type=credit&completion_time_stamp=20190618163156&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F888904ef-15d7-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=888904ef-15d7-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=33f6d473-3036-4ca5-acb5-8c64dac862d1&order_detail=Test+Product&request_id=demo-4018&requested_amount=1.01&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C889405143464511640830&last_name=Doe&authorization_code=149579&payment_method=creditcard&
NVP Credit Request (Failure)
merchant_account_id=33f6d473-3036-4ca5-acb5-8c64dac862d1&request_id=demo-3495&transaction_type=credit&requested_amount_currency=USD&requested_amount=1.01&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=02&expiration_year=2015&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=45012&order_detail=Test Product&payment_method=creditcard
NVP Credit Response (Failure)
order_number=45012&api_id=elastic-api&transaction_type=credit&completion_time_stamp=20190618163523&status_code_1=400.1003&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F0432020a-15d8-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=0432020a-15d8-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=33f6d473-3036-4ca5-acb5-8c64dac862d1&order_detail=Test+Product&request_id=demo-3495&requested_amount=1.01&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Expiration+Month+is+invalid.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Original Credit
XML
XML Original Credit Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>original-credit</transaction-type>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4556372307220080</account-number>
    <expiration-month>05</expiration-month>
    <expiration-year>2020</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>13983</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Original Credit Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/f678e156-15fb-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>f678e156-15fb-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>original-credit</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T20:52:42.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>13983</order-number>
  <order-detail>Test Product</order-detail>
  <descriptor></descriptor>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>153620</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Original Credit Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>f6f86e3e-18ff-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>original-credit</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-22T16:58:54.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>23444</order-number>
  <order-detail>Test Product</order-detail>
  <descriptor></descriptor>
  <notifications>
    <notification url="http://requestb.in/120zdah1">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>153620</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Original Credit Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>original-credit</transaction-type>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4556372307220080</account-number>
    <expiration-month>05</expiration-month>
    <expiration-year>2012</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>5857</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Original Credit Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/8e392924-15fc-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>8e392924-15fc-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>original-credit</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T20:56:56.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1004" description="The Expiration Year is invalid.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>5857</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Original Credit Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>89473f0b-1900-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>original-credit</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-22T17:02:59.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1003" description="The Expiration Month is invalid.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>18252</order-number>
  <order-detail>Test Product</order-detail>
  <notifications>
    <notification url="http://requestb.in/120zdah1">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
NVP
NVP Original Credit Request (Successful)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-47613&transaction_type=original-credit&requested_amount_currency=USD&requested_amount=1.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=15650&order_detail=Test Product&payment_method=creditcard
NVP Original Credit Response (Successful)
order_number=15650&api_id=elastic-api&transaction_type=original-credit&completion_time_stamp=20190618205824&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2Fc2bbb12c-15fc-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=c2bbb12c-15fc-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=demo-47613&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&last_name=Doe&authorization_code=153620&payment_method=creditcard&
NVP Original Credit Request (Failure)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-34148&transaction_type=original-credit&requested_amount_currency=USD&requested_amount=1.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2012&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=26600&order_detail=Test Product&payment_method=creditcard
NVP Original Credit Response (Failure)
order_number=26600&api_id=elastic-api&transaction_type=original-credit&completion_time_stamp=20190618210004&status_code_1=400.1004&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2Ffe3eaaa5-15fc-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=fe3eaaa5-15fc-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=demo-34148&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Expiration+Year+is+invalid.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Refund Capture
NVP
NVP Refund Capture Request (Successful)
merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-1757&transaction_type=refund-capture&parent_transaction_id=64a827c6-15e3-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Refund Capture Response (Successful)
order_number=12031&api_id=elastic-api&transaction_type=refund-capture&completion_time_stamp=20190618175657&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F6760dea2-15e3-11e5-87be-00163e5411b5&token_id=4981966848653502&transaction_state=success&transaction_id=6760dea2-15e3-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&order_detail=Test+Product&request_id=demo-1757&requested_amount=1.01&requested_amount_currency=USD&masked_account_number=402400******3502&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C829684143465021443125&last_name=Doe&authorization_code=947315&payment_method=creditcard&
NVP Refund Capture Request (Failure)
merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-42818&transaction_type=refund-capture&parent_transaction_id=92e8d1dc-15e3-11e5-87be-00163e5411b52&ip_address=127.0.0.1
NVP Refund Capture Response (Failure)
api_id=elastic-api&merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-42818&status_description_1=The+Parent+Transaction+Id+does+not+exist.++Please+check+your+input+and+try+again.&transaction_type=refund-capture&status_severity_1=error&status_code_1=400.1020&completion_time_stamp=20190618175809&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F945c7c04-15e3-11e5-87be-00163e5411b5&transaction_state=failed&transaction_id=945c7c04-15e3-11e5-87be-00163e5411b5&
Refund Purchase
NVP
NVP Refund Purchase Request (Successful)
merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-43221&transaction_type=refund-purchase&parent_transaction_id=1d669cb4-15e6-11e5-87be-00163e5411b5&payment_ip_address=127.0.0.1
NVP Refund Purchase Response (Successful)
order_number=1766&api_id=elastic-api&transaction_type=refund-purchase&completion_time_stamp=20190618181622&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F1f51c7ba-15e6-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=1f51c7ba-15e6-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&order_detail=Test+Product&request_id=demo-43221&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C884821143465138227789&last_name=Doe&authorization_code=509813&payment_method=creditcard&
NVP Refund Purchase Request (Failure)
merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-28439&transaction_type=refund-purchase&parent_transaction_id=d5566a93-15e5-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&payment_ip_address=127.0.0.1
NVP Refund Purchase Response (Failure)
order_number=49641&api_id=elastic-api&transaction_type=refund-purchase&completion_time_stamp=20190618181419&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Fd689d373-15e5-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=d689d373-15e5-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&order_detail=Test+Product&request_id=demo-28439&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Void Authorization
NVP
NVP Void Authorization Request (Successful)
merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-8707&transaction_type=void-authorization&parent_transaction_id=a33c4b21-15e8-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Authorization Response (Successful)
order_number=13823&api_id=elastic-api&transaction_type=void-authorization&completion_time_stamp=20190618183425&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Fa4645826-15e8-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=a4645826-15e8-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&order_detail=Test+Product&request_id=demo-8707&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C837603143465246465595&last_name=Doe&authorization_code=872895&payment_method=creditcard&
NVP Void Authorization Request (Failure)
merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&request_id=demo-39943&transaction_type=void-authorization&parent_transaction_id=79ee10fb-15e8-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Void Authorization Response (Failure)
order_number=46750&api_id=elastic-api&transaction_type=void-authorization&completion_time_stamp=20190618183314&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F7b0fd3c2-15e8-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=7b0fd3c2-15e8-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9105bb4f-ae68-4768-9c3b-3eda968f57ea&order_detail=Test+Product&request_id=demo-39943&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Void Authorization Supplementary
XML
XML Void Authorization Supplementary Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-auth-supplementary</transaction-type>
    <parent-transaction-id>dbf3fbdd-15e6-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Authorization Supplementary Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/17014744-15e7-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>17014744-15e7-11e5-87be-00163e5411b5</transaction-id>
  <request-id>e6141513-0123-4d5e-bf80-e3b63b36cebb</request-id>
  <transaction-type>void-auth-supplementary</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T18:23:18.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
  </statuses>
  <requested-amount currency="USD">2.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
    </address>
  </account-holder>
  <card-token>
    <token-id>4634770387971111</token-id>
    <masked-account-number>444433******1111</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>893514</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Void Authorization Supplementary Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <transaction-id>1e1e90eb-1913-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-33137</request-id>
    <transaction-type>void-auth-supplementary</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-06-22T19:16:00.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">10.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>9455</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>153620</authorization-code>
    <api-id>elastic-api</api-id>
</payment>
XML Void Authorization Supplementary Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-auth-supplementary</transaction-type>
    <requested-amount currency="USD">5.00</requested-amount>
    <parent-transaction-id>a3ecd41e-15f3-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Authorization Supplementary Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/a5581683-15f3-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>a5581683-15f3-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-45651</request-id>
  <transaction-type>void-auth-supplementary</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T19:53:10.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">5.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>7184</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Void Authorization Supplementary Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <transaction-id>4c7203e8-1913-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-40179</request-id>
    <transaction-type>void-auth-supplementary</transaction-type>
    <transaction-state>failed</transaction-state>
    <completion-time-stamp>2019-06-22T19:17:18.000Z</completion-time-stamp>
    <statuses>
        <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
    </statuses>
    <requested-amount currency="USD">10.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>24738</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <api-id>elastic-api</api-id>
</payment>
NVP
NVP Void Authorization Supplementary Request (Successful)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-22563&transaction_type=void-auth-supplementary&parent_transaction_id=246e1248-15f4-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Authorization Supplementary Response (Successful)
order_number=3491&api_id=elastic-api&transaction_type=void-auth-supplementary&completion_time_stamp=20190618195645&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F2565c000-15f4-11e5-87be-00163e5411b5&token_id=4981966848653502&transaction_state=success&transaction_id=2565c000-15f4-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=demo-22563&requested_amount=1.01&requested_amount_currency=USD&masked_account_number=402400******3502&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&last_name=Doe&authorization_code=546118&payment_method=creditcard&
NVP Void Authorization Supplementary Request (Failure)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-27667&transaction_type=void-auth-supplementary&requested_amount_currency=USD&requested_amount=2.01&parent_transaction_id=038cfc25-15f4-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Authorization Supplementary Response (Failure)
order_number=5218&api_id=elastic-api&transaction_type=void-auth-supplementary&completion_time_stamp=20190618195549&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F048fb4ae-15f4-11e5-87be-00163e5411b5&token_id=4981966848653502&transaction_state=failed&transaction_id=048fb4ae-15f4-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=demo-27667&requested_amount=2.01&requested_amount_currency=USD&masked_account_number=402400******3502&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Void Capture
NVP
NVP Void Capture Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-20379&transaction_type=void-capture&parent_transaction_id=bb7c7ad1-15e9-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Capture Response (Successful)
order_number=27453&api_id=elastic-api&transaction_type=void-capture&completion_time_stamp=20190618184214&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Fbcaa3520-15e9-11e5-87be-00163e5411b5&token_id=4981966848653502&transaction_state=success&transaction_id=bcaa3520-15e9-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-20379&requested_amount=1.01&requested_amount_currency=USD&masked_account_number=402400******3502&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C818025143465293449405&last_name=Doe&authorization_code=628886&payment_method=creditcard&
NVP Void Capture Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-38411&transaction_type=void-capture&parent_transaction_id=8fa610c6-15e9-11e5-87be-00163e5411b52&ip_address=127.0.0.1
NVP Void Capture Response (Failure)
api_id=elastic-api&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-38411&status_description_1=The+Parent+Transaction+Id+does+not+exist.++Please+check+your+input+and+try+again.&transaction_type=void-capture&status_severity_1=error&status_code_1=400.1020&completion_time_stamp=20190618184100&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F90c731f5-15e9-11e5-87be-00163e5411b5&transaction_state=failed&transaction_id=90c731f5-15e9-11e5-87be-00163e5411b5&
Void Credit
XML
XML Void Credit Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
    <request-id>demo-9145</request-id>
    <transaction-type>void-credit</transaction-type>
    <parent-transaction-id>edcfb7ce-15e9-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Credit Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385/payments/ef93fe4f-15e9-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385">faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
  <transaction-id>ef93fe4f-15e9-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-9145</request-id>
  <transaction-type>void-credit</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T18:43:40.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C884154143465302018698"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4119529611183494</token-id>
    <masked-account-number>414720******3494</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>29367</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>310355</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Void Credit Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
    <transaction-id>82158399-1912-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-39021</request-id>
    <transaction-type>void-credit</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-06-22T19:11:40.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C894138143500029946490"/>
    </statuses>
    <requested-amount currency="USD">2.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>45019</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>789160</authorization-code>
    <api-id>elastic-api</api-id>
</payment>
XML Void Credit Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-credit</transaction-type>
    <parent-transaction-id>22b606ca-15ea-11e5-87be-00163e5411b5</parent-transaction-id>
    <requested-amount currency="USD">2.50</requested-amount>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Credit Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385/payments/24a511d1-15ea-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385">faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
  <transaction-id>24a511d1-15ea-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-24924</request-id>
  <transaction-type>void-credit</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T18:45:08.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">2.50</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4119529611183494</token-id>
    <masked-account-number>414720******3494</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>11190</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Void Credit Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
    <transaction-id>e95775ab-1911-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-36311</request-id>
    <transaction-type>void-credit</transaction-type>
    <transaction-state>failed</transaction-state>
    <completion-time-stamp>2019-06-22T19:07:22.000Z</completion-time-stamp>
    <statuses>
        <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
    </statuses>
    <requested-amount currency="USD">10.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>45019</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <api-id>elastic-api</api-id>
</payment>
NVP
NVP Void Credit Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-20232&transaction_type=void-credit&parent_transaction_id=5688b4d9-15ea-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Credit Response (Successful)
order_number=6423&api_id=elastic-api&transaction_type=void-credit&completion_time_stamp=20190618184635&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F57a0d3a6-15ea-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=57a0d3a6-15ea-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-20232&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C867730143465319472997&last_name=Doe&authorization_code=500622&payment_method=creditcard&
NVP Void Credit Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-30709&transaction_type=void-credit&parent_transaction_id=f6ab5f61-15ea-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Void Credit Response (Failure)
order_number=25981&api_id=elastic-api&transaction_type=void-credit&completion_time_stamp=20190618185102&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Ff7d95b41-15ea-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=f7d95b41-15ea-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-30709&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Void Original Credit
XML
XML Void Original Credit Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <request-id>demo-31945</request-id>
    <transaction-type>void-original-credit</transaction-type>
    <requested-amount currency="USD">1.01</requested-amount>
    <parent-transaction-id>f678e156-15fb-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Original Credit Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/089458ac-15fc-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>089458ac-15fc-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-31945</request-id>
  <transaction-type>void-original-credit</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T20:53:12.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>13983</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>153620</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Void Original Credit Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <transaction-id>28eb3ff1-1911-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-24318</request-id>
    <transaction-type>void-original-credit</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-06-22T19:01:59.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    </statuses>
    <requested-amount currency="USD">2.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>3643</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>153620</authorization-code>
    <api-id>elastic-api</api-id>
</payment>
XML Void Original Credit Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-original-credit</transaction-type>
    <requested-amount currency="USD">4.01</requested-amount>
    <parent-transaction-id>1c7972c4-1601-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Original Credit Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/1d291318-1601-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>1d291318-1601-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-42042</request-id>
  <transaction-type>void-original-credit</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T21:29:34.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">4.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>27634</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Void Original Credit Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
    <transaction-id>63a3926c-1911-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-39017</request-id>
    <transaction-type>void-original-credit</transaction-type>
    <transaction-state>failed</transaction-state>
    <completion-time-stamp>2019-06-22T19:03:38.000Z</completion-time-stamp>
    <statuses>
        <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
    </statuses>
    <requested-amount currency="USD">10.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>15103</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <api-id>elastic-api</api-id>
</payment>
NVP
NVP Void Original Credit Request (Successful)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-40811&transaction_type=void-original-credit&parent_transaction_id=86f86b4e-1601-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Original Credit Response (Successful)
order_number=16392&api_id=elastic-api&transaction_type=void-original-credit&completion_time_stamp=20190618213233&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F877e1a2f-1601-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=877e1a2f-1601-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=demo-40811&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&last_name=Doe&authorization_code=153620&payment_method=creditcard&
NVP Void Original Credit Request (Failure)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-44270&transaction_type=void-original-credit&parent_transaction_id=55a53d5f-1601-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Void Original Credit Response (Failure)
order_number=45054&api_id=elastic-api&transaction_type=void-original-credit&completion_time_stamp=20190618213133&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F6406fc8f-1601-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=6406fc8f-1601-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=demo-44270&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Void Preauthorization
XML
XML Void Preauthorization Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
    <request-id>demo-37471</request-id>
    <transaction-type>void-preauthorization</transaction-type>
    <parent-transaction-id>968558cb-15eb-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Preauthorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385/payments/98269509-15eb-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385">faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
  <transaction-id>98269509-15eb-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-37471</request-id>
  <transaction-type>void-preauthorization</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T18:55:33.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C816424143465373263264"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4119529611183494</token-id>
    <masked-account-number>414720******3494</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>29797</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>324239</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Void Preauthorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
    <transaction-id>8e1f5b03-1910-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-675</request-id>
    <transaction-type>void-preauthorization</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-06-22T18:57:41.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C896259143499946053830"/>
    </statuses>
    <requested-amount currency="USD">2.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>4431</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>131293</authorization-code>
    <api-id>elastic-api</api-id>
</payment>
XML Void Preauthorization Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-preauthorization</transaction-type>
    <parent-transaction-id>c154b7c3-15eb-11e5-87be-00163e5411b5</parent-transaction-id>
    <requested-amount currency="USD">2.50</requested-amount>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Preauthorization Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385/payments/c2b61d17-15eb-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385">faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
  <transaction-id>c2b61d17-15eb-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-19013</request-id>
  <transaction-type>void-preauthorization</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T18:56:43.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">2.50</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4119529611183494</token-id>
    <masked-account-number>414720******3494</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>23438</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Void Preauthorization Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
    <transaction-id>855741b9-1910-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-44842</request-id>
    <transaction-type>void-preauthorization</transaction-type>
    <transaction-state>failed</transaction-state>
    <completion-time-stamp>2019-06-22T18:57:25.000Z</completion-time-stamp>
    <statuses>
        <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
    </statuses>
    <requested-amount currency="USD">10.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>4431</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <api-id>elastic-api</api-id>
</payment>
NVP
NVP Void Preauthorization Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-24604&transaction_type=void-preauthorization&parent_transaction_id=7c177d94-15ec-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Preauthorization Response (Successful)
order_number=39517&api_id=elastic-api&transaction_type=void-preauthorization&completion_time_stamp=20190618190158&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F7d73fc7e-15ec-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=7d73fc7e-15ec-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-24604&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C808751143465411719510&last_name=Doe&authorization_code=774189&payment_method=creditcard&
NVP Void Preauthorization Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-16663&transaction_type=void-preauthorization&parent_transaction_id=fe5a55d9-15eb-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Void Preauthorization Response (Failure)
order_number=30333&api_id=elastic-api&transaction_type=void-preauthorization&completion_time_stamp=20190618185825&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2Fff6436c8-15eb-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=ff6436c8-15eb-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-16663&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Void Purchase
NVP
NVP Void Purchase Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-27549&transaction_type=void-purchase&parent_transaction_id=093a7353-15ed-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Purchase Response (Successful)
order_number=23929&api_id=elastic-api&transaction_type=void-purchase&completion_time_stamp=20190618190553&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F0a4324ea-15ed-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=0a4324ea-15ed-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-27549&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C815999143465435343011&last_name=Doe&authorization_code=238959&payment_method=creditcard&
NVP Void Purchase Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-15220&transaction_type=void-purchase&parent_transaction_id=242b016e-15ed-11e5-87be-00163e5411b5&requested_amount_currency=USD&requested_amount=7.07&ip_address=127.0.0.1
NVP Void Purchase Response (Failure)
order_number=45034&api_id=elastic-api&transaction_type=void-purchase&completion_time_stamp=20190618190638&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F2540a05a-15ed-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=2540a05a-15ed-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-15220&requested_amount=7.07&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Void Refund

Currently there are no samples available for void-refund. If needed, please contact our merchant support at: support@wirecard.com

Void Refund Capture
XML
XML Void Refund Capture Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-refund-capture</transaction-type>
    <parent-transaction-id>639f5a8c-15ef-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Refund Capture Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385/payments/65097a06-15ef-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385">faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
  <transaction-id>65097a06-15ef-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-13038</request-id>
  <transaction-type>void-refund-capture</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T19:22:44.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C903655143465536447035"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>37911</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>597579</authorization-code>
  <api-id>elastic-api</api-id>
</payment>
XML Void Refund Capture Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
    <transaction-id>27e9ff87-190e-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-17361</request-id>
    <transaction-type>void-refund-capture</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2019-06-22T18:40:31.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C834756143499842979877"/>
    </statuses>
    <requested-amount currency="USD">2.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>10012</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <authorization-code>150325</authorization-code>
    <api-id>elastic-api</api-id>
</payment>
XML Void Refund Capture Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>void-refund-capture</transaction-type>
    <requested-amount currency="USD">5.00</requested-amount>
    <parent-transaction-id>a6a7d67a-15ef-11e5-87be-00163e5411b5</parent-transaction-id>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Void Refund Capture Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385/payments/a8406d4d-15ef-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/faa8bda7-808f-4008-b218-6c9cd6f0b385">faa8bda7-808f-4008-b218-6c9cd6f0b385</merchant-account-id>
  <transaction-id>a8406d4d-15ef-11e5-87be-00163e5411b5</transaction-id>
  <request-id>demo-6749</request-id>
  <transaction-type>void-refund-capture</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T19:24:36.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">5.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>43039</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Void Refund Capture Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>a6959af7-78e1-42a7-a0dc-da4a565cb715</merchant-account-id>
    <transaction-id>69b689fe-190e-11e5-87be-00163e5411b5</transaction-id>
    <request-id>demo-38896</request-id>
    <transaction-type>void-refund-capture</transaction-type>
    <transaction-state>failed</transaction-state>
    <completion-time-stamp>2019-06-22T18:42:19.000Z</completion-time-stamp>
    <statuses>
        <status code="400.1027" description="The Requested Amount exceeds the Parent Transaction Amount.  Please check your input and try again." severity="error"/>
    </statuses>
    <requested-amount currency="USD">10.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone>5555555555</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </account-holder>
    <card-token>
        <token-id>4990489254104678</token-id>
        <masked-account-number>427114******4678</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <order-number>32640</order-number>
    <order-detail>Test Product</order-detail>
    <notifications>
        <notification url="http://requestb.in/120zdah1"/>
    </notifications>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <api-id>elastic-api</api-id>
</payment>
NVP
NVP Void Refund Capture Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-24702&transaction_type=void-refund-capture&parent_transaction_id=1ee26ccf-15f0-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Refund Capture Response (Successful)
order_number=33683&api_id=elastic-api&transaction_type=void-refund-capture&completion_time_stamp=20190618192758&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F1feed475-15f0-11e5-87be-00163e5411b5&token_id=4981966848653502&transaction_state=success&transaction_id=1feed475-15f0-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-24702&requested_amount=1.01&requested_amount_currency=USD&masked_account_number=402400******3502&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C957869143465567801552&last_name=Doe&authorization_code=688114&payment_method=creditcard&
NVP Void Refund Capture Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-34137&transaction_type=void-refund-capture&requested_amount_currency=USD&requested_amount=3.01&parent_transaction_id=449de96c-15f0-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Refund Capture Response (Failure)
order_number=16949&api_id=elastic-api&transaction_type=void-refund-capture&completion_time_stamp=20190618192901&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F45f561e2-15f0-11e5-87be-00163e5411b5&token_id=4981966848653502&transaction_state=failed&transaction_id=45f561e2-15f0-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-34137&requested_amount=3.01&requested_amount_currency=USD&masked_account_number=402400******3502&email=john.doe%40wirecard.com
&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Void Refund Purchase
NVP
NVP Void Refund Purchase Request (Successful)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-14250&transaction_type=void-refund-purchase&parent_transaction_id=089bcac9-15f1-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Refund Purchase Response (Successful)
order_number=33555&api_id=elastic-api&transaction_type=void-refund-purchase&completion_time_stamp=20190618193434&status_code_1=201.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F0aef6c1a-15f1-11e5-87be-00163e5411b5&token_id=4981966848653502&transaction_state=success&transaction_id=0aef6c1a-15f1-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-14250&requested_amount=1.01&requested_amount_currency=USD&masked_account_number=402400******3502&email=john.doe%40wirecard.com&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&provider_transaction_id_1=C985495143465607266752&last_name=Doe&authorization_code=222076&payment_method=creditcard&
NVP Void Refund Purchase Request (Failure)
merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&request_id=demo-42563&transaction_type=void-refund-purchase&requested_amount_currency=USD&requested_amount=2.01&parent_transaction_id=26ccd765-15f1-11e5-87be-00163e5411b5&ip_address=127.0.0.1
NVP Void Refund Purchase Response (Failure)
order_number=7869&api_id=elastic-api&transaction_type=void-refund-purchase&completion_time_stamp=20190618193521&status_code_1=400.1027&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2Ffaa8bda7-808f-4008-b218-6c9cd6f0b385%2Fpayments%2F28986d17-15f1-11e5-87be-00163e5411b5&token_id=4981966848653502&transaction_state=failed&transaction_id=28986d17-15f1-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=faa8bda7-808f-4008-b218-6c9cd6f0b385&order_detail=Test+Product&request_id=demo-42563&requested_amount=2.01&requested_amount_currency=USD&masked_account_number=402400******3502&email=john.doe%40wirecard.com&status_description_1=The+Requested+Amount+exceeds+the+Parent+Transaction+Amount.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Check Risk
XML
XML Check Risk Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>check-risk</transaction-type>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4556372307220080</account-number>
    <expiration-month>05</expiration-month>
    <expiration-year>2025</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>7715</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Check Risk Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/b43c1b61-15f4-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>b43c1b61-15f4-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>check-risk</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-18T20:00:46.000Z</completion-time-stamp>
  <statuses>
    <status code="200.0000" description="risk:The request completed successfully." severity="information"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>7715</order-number>
  <order-detail>Test Product</order-detail>
  <descriptor></descriptor>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Check Risk Notification (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>18fcebd4-d559-42a5-b311-846532ed273a</merchant-account-id>
  <transaction-id>f34782fc-18fb-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>check-risk</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-06-22T16:30:11.000Z</completion-time-stamp>
  <statuses>
    <status code="200.0000" description="risk:The request completed successfully." severity="information"/>
  </statuses>
  <requested-amount currency="USD">1.00</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>27455</order-number>
  <order-detail>Test Product</order-detail>
  <descriptor>demo descriptor</descriptor>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Check Risk Request (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <request-id>{{$guid}}</request-id>
  <transaction-type>check-risk</transaction-type>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card>
    <account-number>4556372307220080</account-number>
    <expiration-month>05</expiration-month>
    <expiration-year>2014</expiration-year>
    <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
  </card>
  <order-number>1252</order-number>
  <order-detail>Test Product</order-detail>
  <ip-address>127.0.0.1</ip-address>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
</payment>
XML Check Risk Response (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0/payments/e7b4e0f7-15f4-11e5-87be-00163e5411b5">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/9cf2d63d-9a78-47d3-8949-97e83661c9d0">9cf2d63d-9a78-47d3-8949-97e83661c9d0</merchant-account-id>
  <transaction-id>e7b4e0f7-15f4-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>check-risk</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-18T20:02:10.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1004" description="The Expiration Year is invalid.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD">1.01</requested-amount>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone></phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4500619497300080</token-id>
    <masked-account-number>455637******0080</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>1252</order-number>
  <order-detail>Test Product</order-detail>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
XML Check Risk Notification (Failure)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>18fcebd4-d559-42a5-b311-846532ed273a</merchant-account-id>
  <transaction-id>645905e1-18fc-11e5-87be-00163e5411b5</transaction-id>
  <request-id>${response}</request-id>
  <transaction-type>check-risk</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2019-06-22T16:33:19.000Z</completion-time-stamp>
  <statuses>
    <status code="400.1011"
description="The Requested Amount has not been provided.  Please check your input and try again." severity="error"/>
  </statuses>
  <requested-amount currency="USD"/>
  <account-holder>
    <first-name>John</first-name>
    <last-name>Doe</last-name>
    <email>john.doe@test.com</email>
    <phone>5555555555</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <state>ON</state>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </account-holder>
  <card-token>
    <token-id>4990489254104678</token-id>
    <masked-account-number>427114******4678</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-number>11864</order-number>
  <order-detail>Test Product</order-detail>
  <notifications>
    <notification url="http://requestb.in/vybvxjvy">
  </notification>
</notifications>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <api-id>elastic-api</api-id>
</payment>
NVP
NVP Check Risk Request (Successful)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-4867&transaction_type=check-risk&requested_amount_currency=USD&requested_amount=1.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2025&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=34475&order_detail=Test Product&payment_method=creditcard
NVP Check Risk Response (Successful)
order_number=34475&api_id=elastic-api&transaction_type=check-risk&completion_time_stamp=20190618195856&status_code_1=200.0000&status_severity_1=information&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F72f2f332-15f4-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=success&transaction_id=72f2f332-15f4-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=demo-4867&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=risk%3AThe+request+completed+successfully.&last_name=Doe&payment_method=creditcard&
NVP Check Risk Request (Failure)
merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&request_id=demo-28469&transaction_type=check-risk&requested_amount_currency=USD&requested_amount=1.00&first_name=John&last_name=Doe&email=john.doe@wirecard.com&phone=&address_street1=123 anystreet&address_street2=Suite 999&address_city=Toronto&address_state=ON&address_country=CA&address_postal_code=M4P1E8&account_number=4271149787014678&expiration_month=12&expiration_year=2012&card_type=visa&card_security_code=123&ip_address=127.0.0.1&order_number=8513&order_detail=Test Product&payment_method=creditcard
NVP Check Risk Response (Failure)
order_number=8513&api_id=elastic-api&transaction_type=check-risk&completion_time_stamp=20190618195943&status_code_1=400.1004&status_severity_1=error&self=https%3A%2F%2Fapi-test.wirecard.com:443%2Fengine%2Frest%2Fmerchants%2F9cf2d63d-9a78-47d3-8949-97e83661c9d0%2Fpayments%2F8fc8aacb-15f4-11e5-87be-00163e5411b5&token_id=4990489254104678&transaction_state=failed&transaction_id=8fc8aacb-15f4-11e5-87be-00163e5411b5&first_name=John&merchant_account_id=9cf2d63d-9a78-47d3-8949-97e83661c9d0&order_detail=Test+Product&request_id=demo-28469&requested_amount=1.00&requested_amount_currency=USD&masked_account_number=427114******4678&email=john.doe%40wirecard.com&status_description_1=The+Expiration+Year+is+invalid.++Please+check+your+input+and+try+again.&last_name=Doe&payment_method=creditcard&
Check Enrollment
XML Check Enrollment Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
       <merchant-account-id>33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
       <request-id>{{$guid}}</request-id>
       <transaction-type>check-enrollment</transaction-type>
       <requested-amount currency="USD">1.00</requested-amount>
       <account-holder>
             <first-name>John</first-name>
             <last-name>Doe</last-name>
             <email>john.doe@test.com</email>
             <phone></phone>
             <address>
                    <street1>123 anystreet</street1>
                    <city>Brantford</city>
                    <state>ON</state>
                    <country>CA</country>
             </address>
       </account-holder>
       <card>
             <account-number>4012000300001003</account-number>
             <expiration-month>01</expiration-month>
             <expiration-year>2019</expiration-year>
             <card-type>visa</card-type>
             <card-security-code>003</card-security-code>
       </card>
       <ip-address>127.0.0.1</ip-address>
</payment>
XML Check Enrollment Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/merchants/33f6d473-3036-4ca5-acb5-8c64dac862d1/payments/95ec28c6-5084-11e5-9355-005056a96a54">
    <merchant-account-id ref="https://api-test.wirecard.com:443/engine/merchants/33f6d473-3036-4ca5-acb5-8c64dac862d1">33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
    <transaction-id>95ec28c6-5084-11e5-9355-005056a96a54</transaction-id>
    <request-id>{response}</request-id>
    <transaction-type>check-enrollment</transaction-type>
    <transaction-state>success</transaction-state>
    <completion-time-stamp>2015-09-01T08:36:49.000Z</completion-time-stamp>
    <statuses>
        <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
        <status code="200.1077" description="3d-acquirer:Card is eligible for the ACS authentication process. If the customer has not yet activated his card for 3-D Secure processing his issuer may offer activation during shopping." severity="information"/>
    </statuses>
    <requested-amount currency="USD">1.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>john.doe@test.com</email>
        <phone/>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <state>ON</state>
            <country>CA</country>
        </address>
    </account-holder>
    <card-token>
        <token-id>4291855907211003</token-id>
        <masked-account-number>401200******1003</masked-account-number>
    </card-token>
    <ip-address>127.0.0.1</ip-address>
    <descriptor/>
    <authorization-code/>
    <three-d>
        <pareq>eJxtk11vgjAUhu/3Kwj3sy3yaUqNmzPbhcvC1GW7a+BESCxggeH+/VpkHwokJD2nD/
        Tte86h85M4GJ8gq6zIQ5NMsGlAHhdJlu9Dc7tZ3fqmUdU8T/ihyCE0v6Ay5+yGblIJsHyFuJH
        Abgz10DVUFd+DkSWh6WLf8nDguA5xPcvC08D2zDPXsS+LCI5/cZfrVTAlYmJR9BNeQmuQccrz
        +jLdbfH4ePf0zIg1tR2Xoj4ccgLk05I5GGOiXkzROTEEcy6AvWUSYi4TYwmiMF7ToqSo2xjyc
        dHktfxivqWO/wmGWCMPLK3rcoZQ27aTtj9gEheCIr15eWM0fmX60uh0NSbklCVsK8hn9BC8r1
        flMdqV0ccuIjtRCr7ahhRpYvhdwmtgFiYODjAxCJ5N3ZntU9TlRwwX+o66Xsrt83oIlb3MRQ9
        rw69yI042Uqo2VFbaCv+NhiCcStWW6h+qYX7XV/6NG0XvH0d7KK51cziWH2AXe0S74QSB6zm2
        rXyxCdGd1UGjajJVcqLc6+Rk1/Wn6P+pStrfGOg6d/OjhgtdTtc362bnfg==
        </pareq>
        <acs-url>https://3dsecure-test.wirecard.com/acssim/app/bank</acs-url>
        <cardholder-authentication-status>Y</cardholder-authentication-status>
    </three-d>
    <api-id>elastic-api</api-id>
</payment>
Check Enrollment for 3D Secure 2 One-Time Payment Transactions
XML Check Enrollment Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>check-enrollment</transaction-type>
    <requested-amount currency="EUR">9.99</requested-amount>
    <account-holder>
        <first-name>Manon</first-name>
        <last-name>Mertens</last-name>
        <email>m.mertens@example.com</email>
        <phone>+3228089336</phone>
        <mobile-phone>+32496000000</mobile-phone>
        <work-phone>+32496000001</work-phone>
        <address>
            <street1>Rue de la Loi 1</street1>
            <street2>123</street2>
            <city>Brussels</city>
            <state>Brussels</state>
            <country>BE</country>
            <postal-code>1000</postal-code>
        </address>
        <merchant-crm-id>XWLfrzuGhpajYxFiFgNScwcLhtIOvXNxMIcrxIPTHqgroaFiPNDqMxGBXYUhMVBZ</merchant-crm-id>
        <account-info>
            <authentication-method>01</authentication-method>
            <authentication-timestamp>2019-05-05T21:46:00.000</authentication-timestamp>
            <challenge-indicator>01</challenge-indicator>
            <creation-date>2019-05-05</creation-date>
            <update-date>2019-06-07</update-date>
            <password-change-date>2019-06-08</password-change-date>
            <shipping-address-first-use>2019-06-09</shipping-address-first-use>
            <transactions-last-day>1</transactions-last-day>
            <transactions-last-year>10</transactions-last-year>
            <card-transactions-last-day>2</card-transactions-last-day>
            <purchases-last-six-months>4</purchases-last-six-months>
            <suspicious-activity>false</suspicious-activity>
            <card-creation-date>2018-06-16</card-creation-date>
        </account-info>
    </account-holder>
    <shipping>
        <first-name>Manon</first-name>
        <last-name>Mertens</last-name>
        <address>
            <street1>Rue de la Loi 1</street1>
            <street2>123</street2>
            <street3>A</street3>
            <city>Brussels</city>
            <state>Brussels</state>
            <country>BE</country>
            <postal-code>1000</postal-code>
        </address>
        <shipping-method>home_delivery</shipping-method>
    </shipping>
    <card>
        <account-number>5413330300201093</account-number>
        <expiration-month>01</expiration-month>
        <expiration-year>2023</expiration-year>
        <card-security-code>093</card-security-code>
        <card-type>mastercard</card-type>
        <account-type>02</account-type>
    </card>
    <ip-address>127.0.0.1</ip-address>
    <order-detail>order detail</order-detail>
    <descriptor>Payment description</descriptor>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
    <three-d>
        <version>2.1</version>
        <server-transaction-id>33979aaa-361f-4c9a-ab7c-26fbff4bf711</server-transaction-id>
    </three-d>
    <device>
        <render-options>
            <interface>01</interface>
            <ui-type>01</ui-type>
        </render-options>
    </device>
    <browser>
        <time-zone>360</time-zone>
        <screen-resolution>800x600</screen-resolution>
        <challenge-window-size>01</challenge-window-size>
        <color-depth>48</color-depth>
        <java-enabled>true</java-enabled>
        <language>en</language>
    </browser>
    <risk-info>
        <availability>01</availability>
        <delivery-mail>m.mertens@example.com</delivery-mail>
        <delivery-timeframe>04</delivery-timeframe>
        <gift-cards>
            <gift-card id="09754139-a2db-48c0-af1b-c89c4a31b645">
                <amount currency="EUR">9.99</amount>
            </gift-card>
        </gift-cards>
        <preorder-date>2019-07-16</preorder-date>
        <reorder-items>01</reorder-items>
    </risk-info>
    <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
    <fail-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/error</fail-redirect-url>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <iso-transaction-type>01</iso-transaction-type>
</payment>
XML Check Enrollment Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.wirecard.com:443/engine/rest/merchants/33f6d473-3036-4ca5-acb5-8c64dac862d1/payments/c220320f-f4a5-42b6-9b94-7146d057a030">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/33f6d473-3036-4ca5-acb5-8c64dac862d1">33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
  <transaction-id>c220320f-f4a5-42b6-9b94-7146d057a030</transaction-id>
  <request-id>b4cda35c-0332-4c6c-adde-60a71f63290c</request-id>
  <transaction-type>check-enrollment</transaction-type>
  <iso-transaction-type>01</iso-transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2019-08-28T12:29:27.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
    <status code="200.1077" description="3d-acquirer:Card is eligible for the ACS authentication process. If the customer has not yet activated his card for 3-D Secure processing his issuer may offer activation during shopping." severity="information"/>
  </statuses>
  <requested-amount currency="EUR">9.99</requested-amount>
  <account-holder>
    <first-name>Manon</first-name>
    <last-name>Mertens</last-name>
    <email>m.mertens@example.com</email>
    <phone>+3228089336</phone>
    <mobile-phone>+32496000000</mobile-phone>
    <work-phone>+32496000001</work-phone>
    <address>
      <street1>Rue de la Loi 1</street1>
      <street2>123</street2>
      <city>Brussels</city>
      <state>Brussels</state>
      <country>BE</country>
      <postal-code>1000</postal-code>
    </address>
    <merchant-crm-id>XWLfrzuGhpajYxFiFgNScwcLhtIOvXNxMIcrxIPTHqgroaFiPNDqMxGBXYUhMVBZ</merchant-crm-id>
    <account-info>
      <authentication-method>01</authentication-method>
      <authentication-timestamp>2019-05-05T21:46:00.000</authentication-timestamp>
      <challenge-indicator>01</challenge-indicator>
      <creation-date>2019-05-05</creation-date>
      <update-date>2019-06-07</update-date>
      <password-change-date>2019-06-08</password-change-date>
      <shipping-address-first-use>2019-06-09</shipping-address-first-use>
      <transactions-last-day>1</transactions-last-day>
      <transactions-last-year>10</transactions-last-year>
      <card-transactions-last-day>2</card-transactions-last-day>
      <purchases-last-six-months>4</purchases-last-six-months>
      <suspicious-activity>false</suspicious-activity>
      <card-creation-date>2018-06-16</card-creation-date>
    </account-info>
  </account-holder>
  <shipping>
    <first-name>Manon</first-name>
    <last-name>Mertens</last-name>
    <address>
      <street1>Rue de la Loi 1</street1>
      <street2>123</street2>
      <street3>A</street3>
      <city>Brussels</city>
      <state>Brussels</state>
      <country>BE</country>
      <postal-code>1000</postal-code>
    </address>
    <shipping-method>home_delivery</shipping-method>
  </shipping>
  <card-token>
    <token-id>5049277991481093</token-id>
    <masked-account-number>541333******1093</masked-account-number>
  </card-token>
  <ip-address>127.0.0.1</ip-address>
  <order-detail>order detail</order-detail>
  <descriptor>Payment description</descriptor>
  <payment-methods>
    <payment-method name="creditcard"/>
  </payment-methods>
  <authorization-code>
  </authorization-code>
  <three-d>
    <pareq>eJxtjs1OwzAQhN8lZ5LYa8eOe22FVAkQogUuufhn00Rq6mK7jRDi3XHhUKniuLMz38xXsdMJ3/XnNuhDXK+KRbGUEggD2gihVMOEJJQzUtwVU9y9YYijP2QXrS5SwI8TxrQdJ1wfxjTqfX4BoYq00FIABTK70hAQV5sNhjOGaxHlxiCXULZtL0pOeVMaUE0pjaGsF0QbTnP6Ofjkrd9fu6H6a9c2vr48ZGFI6RgXXd3VzMUy5UXVPAa0OrjK+qmrs/O64xHT4N1tcp7nKqI9BRS7uQq+qy+cXyJ0dRynM+QrGP1UHYfjLW2lk844plq0SvXUSQesUYwKh0AJk4Iq61A3PXCD9r/4vQ9TRlhoqMGeAFjTK0uBOA1cScMQpJZt8f0DzIaGJA==</pareq>
    <acs-url>https://3ds-test.wirecard.com/acs?reqid=07849C7793E99FF3594AB62649DC809A0899A678</acs-url>
    <cardholder-authentication-status>Y</cardholder-authentication-status>
    <version>2.1.0</version>
  </three-d>
  <api-id>elastic-api</api-id>
  <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
  <fail-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/error</fail-redirect-url>
  <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
  <device>
    <render-options>
      <interface>01</interface>
      <ui-type>01</ui-type>
    </render-options>
  </device>
  <provider-account-id>70003</provider-account-id>
  <risk-info>
    <availability>01</availability>
    <delivery-mail>m.mertens@example.com</delivery-mail>
    <delivery-timeframe>04</delivery-timeframe>
    <gift-cards>
      <gift-card id="09754139-a2db-48c0-af1b-c89c4a31b645">
        <amount currency="EUR">9.99</amount>
      </gift-card>
    </gift-cards>
    <preorder-date>2019-07-16</preorder-date>
    <reorder-items>01</reorder-items>
  </risk-info>
</payment>
Payment Facilitator Transactions
XML
XML Check Enrollment Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>33f6d473-3036-4ca5-acb5-8c64dac862d1</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>check-enrollment</transaction-type>
    <requested-amount currency="USD">1.00</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>John.Doe@test.com</email>
        <phone></phone>
        <address>
            <street1>Test Street 123</street1>
            <city>Test City</city>
            <state>BY</state>
            <country>DE</country>
        </address>
    </account-holder>
    <card>
        <account-number>4012000300001003</account-number>
        <expiration-month>01</expiration-month>
        <expiration-year>2019</expiration-year>
        <card-type>visa</card-type>
        <card-security-code>003</card-security-code>
    </card>
    <sub-merchant-info>
        <id>12345</id>
        <name>Merchant Name</name>
        <street>Test Merchant Street</street>
        <city>Testcity</city>
        <postal-code>55555</postal-code>
        <country>DE</country>
        <state>BY</state>
        <category>Unknown</category>
    </sub-merchant-info>
    <ip-address>127.0.0.1</ip-address>
    <payment-methods>
        <payment-method name="creditcard"/>
    </payment-methods>
</payment>
XML Check Enrollment Response (Successful)
<payment self="https://api-test.wirecard.com:443/engine/rest/merchants/3e549fd0-50de-11e0-b8af-0800200c9a66/payments/56fc2135-c629-406b-a912-d71f095b603c" xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
   <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/3e549fd0-50de-11e0-b8af-0800200c9a66">3e549fd0-50de-11e0-b8af-0800200c9a66</merchant-account-id>
   <transaction-id>56fc2135-c629-406b-a912-d71f095b603c</transaction-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>check-enrollment</transaction-type>
   <transaction-state>success</transaction-state>
   <completion-time-stamp>2017-11-30T10:49:13.000Z</completion-time-stamp>
   <statuses>
      <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
      <status code="200.1077" description="3d-acquirer:Card is eligible for the ACS authentication process. If the customer has not yet activated his card for 3-D Secure processing his issuer may offer activation during shopping." severity="information"/>
   </statuses>
   <requested-amount currency="USD">1.00</requested-amount>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone/>
      <address>
         <street1>Test Street 123</street1>
         <city>Test City</city>
         <state>BY</state>
         <country>DE</country>
      </address>
   </account-holder>
   <card-token>
      <token-id>4644913005151003</token-id>
      <masked-account-number>123456******9876</masked-account-number>
   </card-token>
   <ip-address>127.0.0.1</ip-address>
   <descriptor>demo descriptor</descriptor>
   <authorization-code/>
   <three-d>
      <pareq>eJxtk29vgjAQxt/vUxDez/b4JzWlZpsz2xKXbep8TcpFyQS0wHTffgWZDoGEpHf9QZ8+d8fHx2RrfKPK4ywNTBhQ08BUZlGcrgNzuZje+qaRF2EahdssxcD8wdwcixu+2CjEyRxlqVDcGPrhM8zzcI1GHAWmC57lMc8CF3ygwIYWtcwTV7Nvdx+4v8R1rlEhtIiBxclf2IZmqOQmTIt2ut4K5f7++VWAZTuux0kTdrkE1fNEuJRS0C/l5JTogmmYoFjFCmWoImOCSWbMN9mOk3qjy8usTAv1I3xLH/8XdLFSbcWmKHYjQg6Hw+DQHDCQWcJJtdm+Mem/Mn8rq3TeJ+QYR2L1yLJoMZ29rl5yXLqPn/BO5RebL+l7wElFdL+LwgKFRWEIYFMDYOSwEdic1Pkew5PqjlW9tNundRfaNTLvGrgy/CrX42SplG5DbaWj8XPUBfG4022p/6Eb5ry+8q/fKP7w1NtDstC94IDDwPe1DYyB57tD6vsUXDa0bafqrBrqVRPrkgOjUMuJr+vPyf9TtbTLGFR1rudHDxdpT9cvNqzmnA==</pareq>
      <acs-url>https://c3-test.wirecard.com/acssim/app/bank</acs-url>
      <cardholder-authentication-status>Y</cardholder-authentication-status>
   </three-d>
   <api-id>elastic-api</api-id>
   <sub-merchant-info>
     <id>12345</id>
      <name>Test Merchant Name</name>
      <street>Test Merchant Street</street>
      <city>Test Merchant City</city>
      <postal-code>55555</postal-code>
      <state>BY</state>
      <country>DE</country>
      <category>Unknown</category>
   </sub-merchant-info>
</payment>
XML Authorization Request (Successful)
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <merchant-account-id>32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <requested-amount currency="USD">1.02</requested-amount>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone></phone>
      <address>
         <street1>Test Street 123</street1>
         <city>Test City</city>
         <state>BY</state>
         <country>DE</country>
      </address>
   </account-holder>
   <card>
      <account-number>5232050000010003</account-number>
      <expiration-month>12</expiration-month>
      <expiration-year>2020</expiration-year>
      <card-type>visa</card-type>
      <card-security-code>123</card-security-code>
   </card>
    <sub-merchant-info>
      <id>12345</id>
      <name>Test Merchant Name</name>
      <street>Test Merchant Street</street>
      <city>Test Merchant City</city>
      <postal-code>55555</postal-code>
      <state>BY</state>
      <country>DE</country>
      <category>Unknown</category>
    </sub-merchant-info>
   <ip-address>127.0.0.1</ip-address>
</payment>
XML Authorization Response (Successful)
<payment self="https://api-test.wirecard.com:443/engine/rest/merchants/32bb900b-265b-414f-9971-23f7a0542434/payments/f86e4713-2e88-490a-8bdb-4ded30ec2051" xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
   <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/32bb900b-265b-414f-9971-23f7a0542434">32bb900b-265b-414f-9971-23f7a0542434</merchant-account-id>
   <transaction-id>f86e4713-2e88-490a-8bdb-4ded30ec2051</transaction-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>authorization</transaction-type>
   <transaction-state>success</transaction-state>
   <completion-time-stamp>2017-11-30T09:17:16.000Z</completion-time-stamp>
   <statuses>
      <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C053364151203343553586"/>
   </statuses>
   <requested-amount currency="USD">1.02</requested-amount>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone/>
      <address>
         <street1>Test Street 123</street1>
         <city>Test City</city>
         <state>BY</state>
         <country>DE</country>
      </address>
   </account-holder>
   <card-token>
      <token-id>5659919765200003</token-id>
      <masked-account-number>523205******0003</masked-account-number>
   </card-token>
   <ip-address>127.0.0.1</ip-address>
   <descriptor/>
   <authorization-code>020180</authorization-code>
   <api-id>elastic-api</api-id>
   <sub-merchant-info>
     <id>12345</id>
      <name>Test Merchant Name</name>
      <street>Test Merchant Street</street>
      <city>Test Merchant City</city>
      <postal-code>55555</postal-code>
      <state>BY</state>
      <country>DE</country>
      <category>Unknown</category>
   </sub-merchant-info>
</payment>
XML Purchase Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>33531c0f-81ec-4527-a087-8d395bf8f365</merchant-account-id>
    <request-id>{{$guid}}</request-id>
    <transaction-type>purchase</transaction-type>
    <requested-amount currency="USD">1.01</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Doe</last-name>
        <email>John.Doe@test.com</email>
        <phone></phone>
        <address>
            <street1>Test Street 123</street1>
            <city>Test City</city>
            <state>BY</state>
            <country>DE</country>
        </address>
    </account-holder>
    <card>
        <account-number>4910771227754485</account-number>
        <expiration-month>12</expiration-month>
        <expiration-year>2020</expiration-year>
        <card-type>visa</card-type>
    <card-security-code>123</card-security-code>
    </card>
    <sub-merchant-info>
      <id>12345</id>
      <name>Test Merchant Name</name>
      <street>Test Merchant Street</street>
      <city>Test Merchant City</city>
      <postal-code>55555</postal-code>
      <state>BY</state>
      <country>DE</country>
      <category>Unknown</category>
    </sub-merchant-info>
    <ip-address>127.0.0.1</ip-address>
</payment>
XML Purchase Response (Successful)
<payment self="https://api-test.wirecard.com:443/engine/rest/merchants/33531c0f-81ec-4527-a087-8d395bf8f365/payments/d5e01917-26ba-4527-b7e9-dd6a234b9689" xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
   <merchant-account-id ref="api-test.wirecard.com:443/engine/rest/config/merchants/33531c0f-81ec-4527-a087-8d395bf8f365">33531c0f-81ec-4527-a087-8d395bf8f365</merchant-account-id>
   <transaction-id>d5e01917-26ba-4527-b7e9-dd6a234b9689</transaction-id>
   <request-id>{{$guid}}</request-id>
   <transaction-type>purchase</transaction-type>
   <transaction-state>success</transaction-state>
   <completion-time-stamp>2017-11-30T10:39:28.000Z</completion-time-stamp>
   <statuses>
      <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C865124151203836800655"/>
   </statuses>
   <avs-code>U</avs-code>
   <csc-code>P</csc-code>
   <requested-amount currency="USD">1.01</requested-amount>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <email>John.Doe@test.com</email>
      <phone/>
      <address>
         <street1>Test Street 123</street1>
         <city>Test City</city>
         <state>BY</state>
         <country>DE</country>
      </address>
   </account-holder>
   <card-token>
      <token-id>4301349943334485</token-id>
      <masked-account-number>491077******4485</masked-account-number>
   </card-token>
   <ip-address>127.0.0.1</ip-address>
   <descriptor>demo descriptor</descriptor>
   <authorization-code>984887</authorization-code>
   <api-id>elastic-api</api-id>
   <sub-merchant-info>
     <id>12345</id>
      <name>Test Merchant Name</name>
      <street>Test Merchant Street</street>
      <city>Test Merchant City</city>
      <postal-code>55555</postal-code>
      <state>BY</state>
      <country>DE</country>
      <category>Unknown</category>
   </sub-merchant-info>
</payment>
NVP
NVP Authorization Request (Successful)
POST https://api-test.wirecard.com/engine/rest/payments/ HTTP/1.1
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Content-Length: 810
Host: api-test.wirecard.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
Authorization: Basic dGVhbWNpdHk6dGVhbWNpdHk=

first_name=WDCP&card_type=visa&transaction_type=authorization&expiration_month=12&account_number=5232050000010003&expiration_year=2025&card_security_code=123&payment_ip_address=127.0.0.1&last_name=Test&email=elastic.engine@test.com&phone=&address_street1=Einsteinring 35&address_street2=&address_city=Munich&address_state=ON&address_country=DE&requested_amount_currency=USD&request_id=d226f84b-4952-4e38-9b13-8743914487b1&merchant_account_id=32bb900b-265b-414f-9971-23f7a0542434&payment_method=creditcard&address_postal_code=M4P1E8&requested_amount=1.02&sub_merchant_info_id=77&sub_merchant_info_name=Hugendubel&sub_merchant_info_street=Einsteinring&sub_merchant_info_city=Muenchen&sub_merchant_info_postal_code=55555&sub_merchant_info_state=BAV&sub_merchant_info_country=DE&sub_merchant_info_category=category
NVP Authorization Response (Successful)
HTTP/1.1 201 Created
Date: Tue, 09 May 2017 12:48:48 GMT
Location: https://api-test.wirecard.com:443/engine/rest/merchants/32bb900b-265b-414f-9971-23f7a0542434/payments/f0ca38b2-d92c-4af1-b57d-68a8683e6ca1
Accept-Charset: big5, big5-hkscs, cesu-8, euc-jp, euc-kr, gb18030, gb2312, gbk, ibm-thai, ibm00858, ibm01140, ibm01141, ibm01142, ibm01143, ibm01144, ibm01145, ibm01146, ibm01147, ibm01148, ibm01149, ibm037, ibm1026, ibm1047, ibm273, ibm277, ibm278, ibm280, ibm284, ibm285, ibm290, ibm297, ibm420, ibm424, ibm437, ibm500, ibm775, ibm850, ibm852, ibm855, ibm857, ibm860, ibm861, ibm862, ibm863, ibm864, ibm865, ibm866, ibm868, ibm869, ibm870, ibm871, ibm918, iso-2022-cn, iso-2022-jp, iso-2022-jp-2, iso-2022-kr, iso-8859-1, iso-8859-13, iso-8859-15, iso-8859-2, iso-8859-3, iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7, iso-8859-8, iso-8859-9, jis_x0201, jis_x0212-1990, koi8-r, koi8-u, shift_jis, tis-620, us-ascii, utf-16, utf-16be, utf-16le, utf-32, utf-32be, utf-32le, utf-8, windows-1250, windows-1251, windows-1252, windows-1253, windows-1254, windows-1255, windows-1256, windows-1257, windows-1258, windows-31j, x-big5-hkscs-2001, x-big5-solaris, x-compound_text, x-euc-jp-linux, x-euc-tw, x-eucjp-open, x-ibm1006, x-ibm1025, x-ibm1046, x-ibm1097, x-ibm1098, x-ibm1112, x-ibm1122, x-ibm1123, x-ibm1124, x-ibm1166, x-ibm1364, x-ibm1381, x-ibm1383, x-ibm300, x-ibm33722, x-ibm737, x-ibm833, x-ibm834, x-ibm856, x-ibm874, x-ibm875, x-ibm921, x-ibm922, x-ibm930, x-ibm933, x-ibm935, x-ibm937, x-ibm939, x-ibm942, x-ibm942c, x-ibm943, x-ibm943c, x-ibm948, x-ibm949, x-ibm949c, x-ibm950, x-ibm964, x-ibm970, x-iscii91, x-iso-2022-cn-cns, x-iso-2022-cn-gb, x-iso-8859-11, x-jis0208, x-jisautodetect, x-johab, x-macarabic, x-maccentraleurope, x-maccroatian, x-maccyrillic, x-macdingbat, x-macgreek, x-machebrew, x-maciceland, x-macroman, x-macromania, x-macsymbol, x-macthai, x-macturkish, x-macukraine, x-ms932_0213, x-ms950-hkscs, x-ms950-hkscs-xp, x-mswin-936, x-pck, x-sjis_0213, x-utf-16le-bom, x-utf-32be-bom, x-utf-32le-bom, x-windows-50220, x-windows-50221, x-windows-874, x-windows-949, x-windows-950, x-windows-iso2022jp
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 1106
Connection: close

api_id=elastic-api&sub_merchant_info_id=77&requested_amount=1.02&completion_time_stamp=20170509124848&sub_merchant_info_postal_code=55555&sub_merchant_info_name=Hugendubel&token_id=5875330813740003&authorization_code=541863&merchant_account_id=32bb900b-265b-414f-9971-23f7a0542434&first_name=WDCP&email=elastic.engine%40test.com&payment_method=creditcard&transaction_id=f0ca38b2-d92c-4af1-b57d-68a8683e6ca1&sub_merchant_info_state=BAV&provider_transaction_id_1=C025244149433412712467&status_severity_1=information&last_name=Test&transaction_type=authorization&status_code_1=201.0000&sub_merchant_info_country=DE&masked_account_number=523205******0003&status_description_1=3d-acquirer%3AThe+resource+was+successfully+created.&sub_merchant_info_city=Muenchen&transaction_state=success&self=https%3A%2F%2Fapi-test.wirecard.com%3A443%2Fengine%2Frest%2Fmerchants%2F32bb900b-265b-414f-9971-23f7a0542434%2Fpayments%2Ff0ca38b2-d92c-4af1-b57d-68a8683e6ca1&requested_amount_currency=USD&sub_merchant_info_category=category&sub_merchant_info_street=Einsteinring&request_id=d226f84b-4952-4e38-9b13-8743914487b1&
Check Payer Response
XML Check Payer Response Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
       <merchant-account-id>3e549fd0-50de-11e0-b8af-0800200c9a66</merchant-account-id>
       <request-id>e0ea66d3-6368-44be-94af-ba91dfa84566</request-id>
       <transaction-type>check-payer-response</transaction-type>
       <parent-transaction-id>9e2c1d8a-a672-11e1-b76c-005056ab0016</parent-transaction-id>
       <three-d>
        <pares>eJydV1mTqroWfvdXWH0ePXsziegu21NhEMEGRWbeEBBQBmWWX3+jdvfp6eHem6quTla+rCnfypL5P12aDJugKOM8e37CfqNPwyDzcj/OwucnXVv+mj79s5hrUREErBp4dREsBkM45lJQlm4YDGP/+YmczTCCoGbYeDKZYegYw2bo0wN3x27BLijvSBQdkxiBzaZjbEaOJ/h09gl5R796s4DO/MbnyNvyM0gKCi9ys+qz+L7lehdakBcYTozJyRx5XX7HpUEhsAsSRVEM/qFz5CH4DszcNFiYcRF4buEP2SDNh2qUn+fIfeM73svrrCquiykOzb8tvsPqIllEVXX+gyBt2/5uXw389vJ0jtw2P0eM/BzyfFvfxOVPjnSxvzAIWXJ6+eriMmkkES6Zu6We5bh8BM9z5Ib4fs53q2CBoxiOkjg5xCZ/UPIPis2Ru/yHhKe3GG/3BbP9mH8HnV/dBK/gW8K/yH7IZF0UkI4wlWMIf199BwbdOc8CqAMS5n3+JX8/J2p+drNF92FAzwjomvuVcZr1g90qTn/M1F3+HV5WblWXC3uOvM5+CNltmgUAgGaRzwM8Bry0O+SHHHjxAiVh/PD/z3pBEuZFXEXpLU2fBV9y9TFYmLlb/b7WvRqHGXS9CIbw5cjK56ePFCZ+50WI4LCaEHSGQIBfxuFfT4v7qcAXskO+mDNulmex5yZx71awsqWginJ/+O7LTyq13U0rhuw45hdU+8vDxtmvmwQlMPIvEx5j8jSFl14+IYt/ffxvVH/1tijdX2XkYjdFu+AQ3CgXDPWd8Pz018/P11wr3Kw85EVafpj/b1aDrAmS/Bz4v8o3528OIB9Vs3EYlNX/E9NbPA8NhpvUwYJi4/O21LsC10t8vKHaptpnp+X6pHmQYx+Rc+Q9D3D+8SrfE/0AXo1Gvcy62TYPFXu/DlyfvOZHyqt228rVkvqY4gBJsEuyr5gSWCdzE60Jed0Y/IwlkheZtxi9zA/4NkrUwcg7bAo72o9scflyTUuBTu2XU487+zNDb9GDZiX9aYaxbYG0skmORSphEHKyF9HR6Jiglng1G4IxiHGCnAfrfJKMSbRy8pBmizVjKt1kFm30paTX1IpkrV1B7GYID7DMpPjrGYRUhlKrU1MVoCuVUQacGqCUx9uiMbBND7QNNm4s68QiplKWMlbahwhvw4NQbIAillqX7L24uzg+X+G6r3SWJVv4TmwI7lqc15RxXroradTuB6wfLxUXB+M0Q+nLniqyiDlABSSiLZXgINrrzQsFnp8fif+Q7Pk6uD5uwSLRGetW7mOm1vtj4FXyrTcx8jPhl59ay9/Djf783swAD9fP5JiYoMQfFb5JwZB2s9MwPwwlt4b8iuty+FL5fw+ZZ0mfI18N3C0yQVHFB1jRsDtIgsB5PcMArA5BK9AgFBhhbbesYovr3BGixpOBwi1pBbSh03ZMD0Q6lA0a2BpIDE1SuXbV2qyhKOsB10WybcmoY4msbYkngUtqnzeu+3SJuuasts22k46gfSgotbWORR6xS7yTHHmpEqomeTtb29buPNjjZLRnaM0xZcxLDXaP7xKB85N9DDpJs1sZ3K2y3BX7bHQpJzZhXB1dbhxeDxVT7ga+mVwdSwh1woj3hHhyTTLyb5sodD/yZIm1oWfcWNKEXtK43rzJNKmVegHKQC9rOmoe6UJSynbAKHfLPNeKsqFxhcScIBF1jomkWNaUHrbqfpPIKAwDeixG+7QM97gdauYSRpKgrmX0AtehDsvpA4kWHoc76cXAoZfmIxeK7nW8BqxHrqBPrHzyriThWmJi48urw5DHPY62YcjFEkB5Rr3wA1XYE6zC0UDRARgLNNuCG2ANcnizCqslHTndHSfICx53R1vNukNv9kQjVTi5O9FEX1YncW+uMHd7cAaFz2+TaMLn+io6Bbv22GahjDJSma3VmOG1UTAGtKgJLyHRxAlFg6kk6ecpaYU4v3TaFilHlt6P1+aVnA7w6fVkCkRvbJelispIWIVI7pL7ZEQSx+NlQlMro8TsZR9tNW7ZN4wqiEY2vcS9jng6O9qE/uxUAWQE62sQ2b6UNEr7Ivp+bDWyVWuiMhL7zbLlN+qmYY8H7Vh2Z7ew9WQnLcena66fs9ySQpWq5Ehcp74mLJmcNqpBvNIZndnsE2PUsIqyrCXgrIUDzZ94PwScwqfbw9agJsfpcirW48CjOANltGhmqRSppqJ9aTQQSjQA/HEQBuMWPsTtnSI7VKOB0AIWbG63uFKmNDhM4e1IDD0GLdfeMQkN2pYJbWHd2jSt6CtYhm24D/kBpIUvtCpdsgxduDx9nqj0Gc5zjXuRwINzdCQxhiF1ggYOD6rkGs99L6vBW13dywoWjcSCN96dITH7W50qd17R4j6Dh9NbhSQNrN3ya0kNdrhRCyzXbXpAvhFUOn22quPG0YdkVfDZyVFpdY/PUIGTEy/bnZ00OT6cGYcDxTJQl59dXWtH3sj6xuY3MtOvZAYKNEYIJpfnzG7VrukZUWX20SvplWb2O3zrbPUBmMBOoO+IcwSfl5zaHzgG2xY1omm9xDPU2ZKmhXm4qsr1GPWF3OLkcqOPSpoc8ScPDdWuPqn+KexVsK4G6joW906M1J6xchqE3p7XXU7bK+/iUFsaFfAXT+OaAwoaVvNqbRR1h8v1onhO6zNIsRIvByTLei/IyeI0kOXY0qly3FxwQGIXbNZ0Unrow2lMwc7nTB3noE0tKX3plxzPtEad7PwtZlHAwXCEzflDL1MpIzTwoVYHRirlkwa1ZgYTkVawPdTAVbd5N1udcXojo3qnURuZ2oV1YDa1MdqWE43rpqsindRlNxKZaNRcidTC+7AbZGQiPFrFx87wkDz6FPLeu/7taovbF879m3IxgL97Pn5x/geuCnnt</pares>
       </three-d>
</payment>
XML Check Payer Response Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment self="https://api-test.wirecard.com:443/engine/rest/merchants/3e549fd0-50de-11e0-b8af-0800200c9a66/payments/9ef2fd42-a672-11e1-b76c-005056ab0016" xmlns="http://www.elastic-payments.com/schema/payment">
       <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/3e549fd0-50de-11e0-b8af-0800200c9a66">3e549fd0-50de-11e0-b8af-0800200c9a66</merchant-account-id>
       <transaction-id>9ef2fd42-a672-11e1-b76c-005056ab0016</transaction-id>
       <request-id>e0ea66d3-6368-44be-94af-ba91dfa84566</request-id>
       <transaction-type>check-payer-response</transaction-type>
       <transaction-state>success</transaction-state>
       <completion-time-stamp>2019-05-25T14:05:02.748Z</completion-time-stamp>
       <statuses>
             <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information"/>
             <status code="200.1083" description="3d-acquirer:Cardholder Successfully authenticated." severity="information"/>
       </statuses>
       <requested-amount currency="USD">1.000000</requested-amount>
       <parent-transaction-id>9e2c1d8a-a672-11e1-b76c-005056ab0016</parent-transaction-id>
       <authorization-code/>
       <three-d>
             <eci>05</eci>
             <xid>V3NMZzNya2N5Vlh2MWRFUno2NjA=</xid>
             <cardholder-authentication-value>AAABD///////////////AAAAAAA=</cardholder-authentication-value>
             <cardholder-authentication-status>Y</cardholder-authentication-status>
       </three-d>
</payment>
Payment Request with PARes
XML Purchase (Payment Request with PARes) Request (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
       <merchant-account-id>3e549fd0-50de-11e0-b8af-0800200c9a66</merchant-account-id>
       <request-id>{{$guid}}</request-id>
       <transaction-type>purchase</transaction-type>
       <parent-transaction-id>dcc9947c-74e2-11e0-877b-005056ab0016</parent-transaction-id>
       <three-d>
             <pares>eJxtk11PgzAUhu</pares>
       </three-d>
</payment>
XML Purchase (Payment Request with PARes) Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns:ns2="http://www.elastic-payments.com/schema/payment" xmlns:ns3="http://www.elastic-payments.com/schema/config" self="https://api-test.wirecard.com:443/engine/rest/merchants/3e549fd0-50de-11e0-b8af-0800200c9a66/payments/dd363df2-74e2-11e0-877b-005056ab0016">
       <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/merchants/3e549fd0-50de-11e0-b8af-0800200c9a66">3e549fd0-50de-11e0-b8af-0800200c9a66</merchant-account-id>
       <transaction-id>dd363df2-74e2-11e0-877b-005056ab0016</transaction-id>
       <request-id>fbeee5af-8329-48ad-af9e-3aaca489520a</request-id>
       <transaction-type>purchase</transaction-type>
       <transaction-state>success</transaction-state>
       <completion-time-stamp>2019-05-02T16:47:08.264Z</completion-time-stamp>
       <statuses>
             <status severity="information" description="3d-acquirer:The request completed successfully." code="200.0000"/>
             <status severity="information" description="3d-acquirer:Cardholder Successfully authenticated." code="200.1083"/>
       </statuses>
       <requested-amount currency="EUR">1.000000</requested-amount>
      <parent-transaction-id>dcc9947c-74e2-11e0-877b-005056ab0016</parent-transaction-id>
      <auth-code>077863</auth-code>
       <three-d>
             <cardholder-authentication-status>Y</cardholder-authentication-status>
       </three-d>
</payment>
Payment Request with 3rd Party MPI
XML Purchase (Payment Request with 3rd Party MPI) Request
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
       <merchant-account-id>3e549fd0-50de-11e0-b8af-0800200c9a66</merchant-account-id>
       <request-id>{{$guid}}</request-id>
       <transaction-type>purchase</transaction-type>
       <parent-transaction-id>dcc9947c-74e2-11e0-877b-005056ab0016</parent-transaction-id>
       <three-d>
             <eci>05</eci>
             <xid>N1dYQmpuYlVUZ2hZNUhRZHdnQW0</xid>
             <cardholder-authentication-value>Ty56UNQmpuYlVUZ2hZNUhRZ09UYVF7</cardholder-authentication-value>
       </three-d>
</payment>

Test Cards

In this section we provide test cards for a large variety of card brands. These test cards allow you to provoke a certain behaviour when you send them to our endpoint. We provide test cards for 3D Secure, 3D Secure 2, and Non-3D Secure transactions.

Example

If you want to provoke the error status code 500.1072 ("Card Not Enrolled.") in combination with a MAESTRO card for a 3D Secure transaction, use Card Number 6799860300006000008, Expiration Date 01/2023 and CVC 008.

3D Secure Transactions

When you do a 3D Secure transaction, WPG checks with the first request, whether the card is enrolled in 3D Secure. A transaction is 3D Secure, if the response returns a positive enrollment check and a positive authentication result.

Enrollment and Authentication Values
3D Secure Status Description

Check-enrollment Response

Y

Card enrolled.

N

Card not enrolled.

U

Unable to verify enrollment.

E

A system error prevented completion of check-enrollment.

Authentication Verification Result

Y

Cardholder has successfully been authenticated.

N

Consumer failed or canceled authentication.

U

Authentication could not be completed due to technical or other issue.

A

Proof of authentication attempt has been generated.

E

A system error prevented completion of authentication.

Card Numbers for Successful Transactions

With these card numbers you can provoke a successful response containing the status code 201.0000 ("The resource was successfully created.").

Card Brand

Number

CVC

Expiration Date

Enrollment Result

Authentication Result

Password ACS

Personal Message ACS

Response Message

American Express

375987000000005

1005

01/2023

Y

Y

wirecard

Testing "Authentication approved"

Approved or completed successfully.

375987000000013

1013

01/2023

Y

A

 — 

No cardholder interaction

Approved or completed successfully.

Diners

3800010001000103

103

01/2023

Y

Y

wirecard

Testing "Authentication approved"

Approved or completed successfully.

3800010001000111

111

01/2023

Y

A

 — 

No cardholder interaction

Approved or completed successfully.

JCB

3569990001010007

007

01/2023

Y

Y

wirecard

Testing "Authentication approved"

Approved or completed successfully.

3569990001010015

015

01/2023

Y

A

 — 

No cardholder interaction

Approved or completed successfully.

Maestro

6799860300001000003

003

01/2023

Y

Y

wirecard

Testing "Authentication approved"

Approved or completed successfully

6799860300002000002

002

01/2023

Y

A

 — 

No cardholder interaction

Approved or completed successfully

Mastercard

5413330300001006

006

01/2023

Y

Y

wirecard

Testing "Authentication approved"

Approved or completed successfully

5413330300002004

004

01/2023

Y

A

 — 

No cardholder interaction

Approved or completed successfully

UPI

6222821234560024

101

01/2023

Y

Y

wirecard

Testing "Authentication approved"

Approved or completed successfully.

6222821234560021

119

01/2023

Y

A

 — 

No cardholder interaction

Approved or completed successfully.

VISA

4012000300001003

003

01/2023

Y

Y

wirecard

Testing "Authentication approved"

Approved or completed successfully

4012000300002001

001

01/2023

Y

A

 — 

No cardholder interaction

Approved or completed successfully

Card Numbers for Error Results

With these card numbers you can provoke an error response containing a variety of status codes.

American Express

Use Card Type amex

If you want to provoke…​

…​use these card data in the request…​

…​to obtain this result

Status Code

Status Name

Card Number

CVC

Expiration Date

Enrollment Result

Authentication Result

Password ACS

Personal Message ACS

500.1072

Card Not Enrolled

375987000000054

1054

01/2023

N

 — 

 — 

 — 

500.1073

Unable to Verify Enrolment

375987000000062

1062

01/2023

U

 — 

 — 

 — 

500.1074

MPI Error

375987000000070

1070

01/2023

E

 — 

 — 

 — 

500.1076

Consumer failed or Cancelled authentication.

375987000000021

1021

01/2023

Y

N

wirecard

Testing "Authentication failed"

500.1077

Authentication could not be completed due to technical or other problem.

375987000000039

1039

01/2023

Y

U

wirecard

Testing "Unable to authenticate"

Diners

Use Card Type diners

If you want to provoke…​

…​use these card data in the request…​

…​to obtain this result

Status Code

Status Name

Card Number

CVC

Expiration Date

Enrollment Result

Authentication Result

Password ACS

Personal Message ACS

500.1072

Card Not Enrolled

3800010001000152

152

01/2023

N

 — 

 — 

 — 

500.1073

Unable to Verify Enrolment

3800010001000160

160

01/2023

U

 — 

 — 

 — 

500.1074

MPI Error

3800010001000178

178

01/2023

E

 — 

 — 

 — 

500.1076

Consumer failed or Cancelled authentication.

3800010001000129

129

01/2023

Y

N

wirecard

Testing "Authentication failed"

500.1077

Authentication could not be completed due to technical or other problem.

3800010001000137

137

01/2023

Y

U

wirecard

Testing "Unable to authenticate"

JCB

Use Card Type jcb

If you want to provoke…​

…​use these card data in the request…​

…​to obtain this result

Status Code

Status Name

Card Number

CVC

Expiration Date

Enrollment Result

Authentication Result

Password ACS

Personal Message ACS

500.1072

Card Not Enrolled

3569990001010056

056

01/2023

N

 — 

 — 

 — 

500.1073

Unable to Verify Enrolment

3569990001010064

064

01/2023

U

 — 

 — 

 — 

500.1074

MPI Error

3569990001010072

072

01/2023

E

 — 

 — 

 — 

500.1076

Consumer failed or Cancelled authentication.

3569990001010023

023

01/2023

Y

N

wirecard

Testing "Authentication failed"

500.1077

Authentication could not be completed due to technical or other problem.

3569990001010031

031

01/2023

Y

U

wirecard

Testing "Unable to authenticate"

Maestro

Use Card Type maestro

If you want to provoke…​

…​use these card data in the request…​

…​to obtain this result

Status Code

Status Name

Card Number

CVC

Expiration Date

Enrollment Result

Authentication Result

Password ACS

Personal Message ACS

500.1072

Card Not Enrolled

6799860300006000008

008

01/2023

N

 — 

 — 

 — 

500.1073

Unable to Verify Enrolment

6799860300007000007

007

01/2023

U

 — 

 — 

 — 

500.1074

MPI Error

6799860300008000006

006

01/2023

E

 — 

 — 

 — 

500.1076

Consumer failed or Cancelled authentication.

6799860300003000001

001

01/2023

Y

N

wirecard

Testing "Authentication failed"

500.1077

Authentication could not be completed due to technical or other problem.

6799860300004000000

999

01/2023

Y

U

wirecard

Testing "Unable to authenticate"

Mastercard

Use Card Type mastercard

If you want to provoke…​

…​use these card data in the request…​

…​to obtain this result

Status Code

Status Name

Card Number

CVC

Expiration Date

Enrollment Result

Authentication Result

Password ACS

Personal Message ACS

500.1072

Card Not Enrolled

5413330300006005

005

01/2023

N

 — 

 — 

 — 

500.1073

Unable to Verify Enrolment

5413330300007003

003

01/2023

U

 — 

 — 

 — 

500.1074

MPI Error

5413330300008001

001

01/2023

E

 — 

 — 

 — 

500.1076

Consumer failed or Cancelled authentication.

5413330300003002

002

01/2023

Y

N

wirecard

Testing "Authentication failed"

500.1077

Authentication could not be completed due to technical or other problem.

5413330300004000

999

01/2023

Y

U

wirecard

Testing "Unable to authenticate"

UPI

Use Card Type upi

If you want to provoke…​

…​use these card data in the request…​

…​to obtain this result

Status Code

Status Name

Card Number

CVC

Expiration Date

Enrollment Result

Authentication Result

Password ACS

Personal Message ACS

500.1072

Card Not Enrolled

6222821234560019

150

01/2023

N

 — 

 — 

 — 

500.1073

Unable to Verify Enrolment

6222821234560018

168

01/2023

U

 — 

 — 

 — 

500.1074

MPI Error

6222821234560020

176

01/2023

E

 — 

 — 

 — 

500.1076

Consumer failed or Cancelled authentication.

6222821234560022

127

01/2023

Y

N

wirecard

Testing "Authentication failed"

500.1077

Authentication could not be completed due to technical or other problem.

6222821234560023

135

01/2023

Y

U

wirecard

Testing "Unable to authenticate"

VISA

Use Card Type visa

If you want to provoke…​

…​use these card data in the request…​

…​to obtain this result

Status Code

Status Name

Card Number

CVC

Expiration Date

Enrollment Result

Authentication Result

Password ACS

Personal Message ACS

500.1072

Card Not Enrolled

4012000300006002

002

01/2023

N

 — 

 — 

 — 

500.1073

Unable to Verify Enrolment

4012000300007000

999

01/2023

U

 — 

 — 

 — 

500.1074

MPI Error

4012000300008008

008

01/2023

E

 — 

 — 

 — 

500.1076

Consumer failed or Cancelled authentication.

4012000300003009

009

01/2023

Y

N

wirecard

Testing "Authentication failed"

500.1077

Authentication could not be completed due to technical or other problem.

4012000300004007

007

01/2023

Y

U

wirecard

Testing "Unable to authenticate"

3D Secure 2 Transactions

For 3D Secure and 3D Secure 2 transactions, the first request is always a check-enrollment. For 3D Secure 2 enrollment checks, it is necessary to provide the three-d.version with the value 2.1.

WPG uses the default value 1.0 if the version is not provided in the request.

A successful check-enrollment returns the three-d/pareq. The PAReq is the digitally signed, base64-encoded authentication request message created by Wirecard Payment Gateway. It contains the results of the 3D Secure versioning request.

The merchant uses the PAReq for a HTTPS POST redirect of the consumer to the ACS URL, which is part of a standard 3D Secure process. The HTTPS POST redirect returns the PARes, which contains the authentication result, as part of the response.

The transaction is secured with 3D Secure 2 if the response returns a positive authentication result.

Table Key

The 3D Secure 2 test card tables deviate in a few instances from the 3D Secure 1 tables.

  • 3DS Method: This is an optional redirect URL to the ACS. It gathers additional browser information from the consumer, i.e. the device fingerprint. This happens prior to authentication to facilitate the transaction risk assessment.

  • Authentication Result: 3D Secure 2 includes an additional status R for rejected authentication.

  • Challenge: This column indicates whether the test card triggers an authentication challenge or not. Authentication challenges serve to provide more information about the consumer to reduce risk and fraud. No challenge allows testing of a frictionless payment flow. This is typically the case for low-value and low-risk transactions.

  • Enrollment Result: This is currently not present in the tables below, as the result of the check-enrollment is always expected to be Y (Card enrolled) for the test cards provided on this page.

3DS Method
Status Description

Y

The 3DS Method Completion Indicator is set to Y if the 3DS Method completes within 10 seconds.

N

The 3DS Method Completion Indicator is set to N if the 3DS Method does not complete in 10 seconds.

U

If the 3DS Method URL does not exist, the merchant will notify the 3DS server to set the 3DS Method Completion Indicator to U.

Authentication Result
Status Description

Y

The consumer has been successfully authenticated.

N

The consumer has failed or canceled authentication.

U

The authentication could not be completed due to technical or other issue on an external server (e.g. 3D Secure 2 provider). The issue is indicated in ARes or RReq.

A

Proof of an authentication attempt has been generated. The consumer has not been authenticated, but the attempt has been registered.

E

A system error prevented the completion of the authentication. Please contact merchant support.

R

The authentication has been rejected. The issuer is rejecting the authentication and requests that authorization not be attempted.

To test the following 3D Secure 2 cards and transaction, please use the test credentials provided for 3D Secure 1.

Successful 3D Secure 2 Transactions
3D Secure 2 Transactions without Challenge
Card Brand Number CVC Expiration Date 3DS Method Authentication Result Challenge ACS Password ACS Message

Mastercard

5413330300201093

093

01/2023

N

Y

No

N/A

No consumer interaction

5413330300201184

184

01/2023

Y

Y

No

N/A

No consumer interaction

5413330300201192

192

01/2023

U

Y

No

N/A

No consumer interaction

Visa

4012000300201090

090

01/2023

N

Y

No

N/A

No consumer interaction

4012000300201181

181

01/2023

Y

Y

No

N/A

No consumer interaction

4012000300201199

199

01/2023

U

Y

No

N/A

No consumer interaction

3D Secure 2 Transactions with Challenge
Card Brand Number CVC Expiration Date 3DS Method Authentication Result Challenge ACS Password ACS Message

Mastercard

5413330300201218

218

01/2023

N

Y

Yes

wirecard

"Authentication approved"

5413330300201002

002

01/2023

Y

Y

Yes

wirecard

"Authentication approved"

5413330300201291

291

01/2023

U

Y

Yes

wirecard

Testing "Authentication approved"

Visa

4012000300201207

207

01/2023

N

Y

Yes

wirecard

"Authentication approved"

4012000300201009

009

01/2023

Y

Y

Yes

wirecard

"Authentication approved"

4012000300201280

280

01/2023

U

Y

Yes

wirecard

Testing "Authentication approved"

3D Secure 2 Transactions Resulting in an Error

With the following card numbers you can provoke error responses.

3D Secure 2 Transactions without Challenge
Card Brand Number CVC Expiration Date 3DS Method Authentication Result Challenge ACS Password ACS Message

Mastercard

5413330300201036

036

01/2023

N

U

No

N/A

No consumer interaction

5413330300201101

101

01/2023

N

A

No

N/A

No consumer interaction

5413330300201168

168

01/2023

N

R

No

N/A

No consumer interaction

5413330300201176

176

01/2023

N

N

No

N/A

No consumer interaction

5413330300201036

036

01/2023

Y

U

No

N/A

No consumer interaction

5413330300201010

010

01/2023

Y

A

No

N/A

No consumer interaction

5413330300201085

085

01/2023

Y

R

No

N/A

No consumer interaction

5413330300201028

028

01/2023

Y

N

No

N/A

No consumer interaction

5413330300201150

150

01/2023

U

U

No

N/A

No consumer interaction

5413330300201127

127

01/2023

U

A

No

N/A

No consumer interaction

5413330300201085

085

01/2023

U

R

No

N/A

No consumer interaction

5413330300201143

143

01/2023

U

N

No

N/A

No consumer interaction

Visa

4012000300201033

033

01/2023

N

U

No

N/A

No consumer interaction

4012000300201108

108

01/2023

N

A

No

N/A

No consumer interaction

4012000300201165

165

01/2023

N

R

No

N/A

No consumer interaction

4012000300201173

173

01/2023

N

N

No

N/A

No consumer interaction

4012000300201033

033

01/2023

Y

U

No

N/A

No consumer interaction

4012000300201017

017

01/2023

Y

A

No

N/A

No consumer interaction

4012000300201082

082

01/2023

Y

R

No

N/A

No consumer interaction

4012000300201025

025

01/2023

Y

N

No

N/A

No consumer interaction

4012000300201157

157

01/2023

U

U

No

N/A

No consumer interaction

4012000300201124

124

01/2023

U

A

No

N/A

No consumer interaction

4012000300201082

082

01/2023

U

R

No

N/A

No consumer interaction

4012000300201140

140

01/2023

U

N

No

N/A

No consumer interaction

3D Secure 2 Transactions with Challenge
Card Brand Number CVC Expiration Date 3DS Method Authentication Result Challenge ACS Password ACS Message

Mastercard

5413330300201226

226

01/2023

N

U

Yes

wirecard

"Unable to authenticate"

5413330300201234

234

01/2023

N

A

Yes

wirecard

No consumer interaction

5413330300201135

135

01/2023

N

R

Yes

wirecard

"Issuer is rejecting authentication"

5413330300201242

242

01/2023

N

N

Yes

wirecard

"Authentication failed"

5413330300201259

259

01/2023

Y

U

Yes

wirecard

"Unable to authenticate"

5413330300201267

267

01/2023

Y

A

Yes

wirecard

No consumer interaction

5413330300201275

275

01/2023

Y

R

Yes

wirecard

Testing "Issuer is rejecting authentication"

5413330300201283

283

01/2023

Y

N

Yes

wirecard

Testing "Authentication failed"

5413330300201309

309

01/2023

U

U

Yes

wirecard

Testing "Unable to authenticate"

5413330300201317

317

01/2023

U

A

Yes

wirecard

No consumer interaction

5413330300201325

325

01/2023

U

R

Yes

wirecard

Testing "Issuer is rejecting authentication"

5413330300201333

333

01/2023

U

N

Yes

wirecard

Testing "Authentication failed"

Visa

4012000300201215

215

01/2023

N

U

Yes

wirecard

"Unable to authenticate"

4012000300201223

223

01/2023

N

A

Yes

wirecard

No consumer interaction

4012000300201132

132

01/2023

N

R

Yes

wirecard

"Issuer is rejecting authentication"

4012000300201231

231

01/2023

N

N

Yes

wirecard

"Authentication failed"

4012000300201249

249

01/2023

Y

U

Yes

wirecard

"Unable to authenticate"

4012000300201256

256

01/2023

Y

A

Yes

wirecard

No consumer interaction

4012000300201264

264

01/2023

Y

R

Yes

wirecard

Testing "Issuer is rejecting authentication"

4012000300201272

272

01/2023

Y

N

Yes

wirecard

Testing "Authentication failed"

4012000300201298

298

01/2023

U

U

Yes

wirecard

Testing "Unable to authenticate"

4012000300201306

306

01/2023

U

A

Yes

wirecard

No consumer interaction

4012000300201314

314

01/2023

U

R

Yes

wirecard

Testing "Issuer is rejecting authentication"

4012000300201322

322

01/2023

U

N

Yes

wirecard

Testing "Authentication failed"

Non-3D Secure Transactions

This section provides card numbers and CVCs which you can use to provoke certain Non-3D responses. To obtain the required response, send a purchase request to our endpoint using the corresponding card details provided here.

For example: If you want to provoke the message "The card type is not processed by the authorization center. Please contact technical support." (Status Code = 500.1061) for a MAESTRO card, send a purchase request and use the Card Number 6333111900920000, Expiration Date 01/2023 and CVC 999.

Card Numbers for Successful Transactions
Status Code 201.0000

The resource was successfully created.

Card Brand Card Number CVC Expiration Date Card Type

American Express

375000010000005

0005

01/2023

amex

Diners

38000001000005

005

01/2023

diners

JCB

3541590100000009

009

01/2023

jcb

Maestro

6333110100000001

001

01/2023

maestro

Mastercard

5413330100000000

999

01/2023

mastercard

VISA

4012000100000007

007

01/2023

visa

Card Numbers for Error Results
American Express

Use Card Type amex

If you want to provoke…​

…​Use these card data in the request…​

Status Code

Status Name

Card Number

CVC

Expiration Date

500.1054

The acquirer returned Pick up card. Please check with Issuer, or use different card.

375000040004001

4001

01/2023

500.1060

The acquirer returned Transaction Type not accepted. Please contact technical support.

375000130040006

0006

01/2023

500.1061

The card type is not processed by the authorization center. Please contact technical support.

375000190092004

2004

01/2023

500.1062

The acquirer returned Expired Card. Please check your input or use different card.

375000110033005

3005

01/2023

500.1063

The acquirer returned Call Voice-authorization number, Initialization Data. Please check with Issuer.

375000020002009

2009

01/2023

500.1066

The acquirer returned Restricted Card. Try another card. Please check with Issuer, or use different card.

375000170062001

2001

01/2023

500.1067

The acquirer returned Card issuer temporarily not reachable. Please try again later.

375000180091008

1008

01/2023

500.1068

The acquirer returned Processing temporarily not possible. Please try again later.

375000200096003

6003

01/2023

500.1072

Card not enrolled: The card is not enrolled / the cardholder is not participating in the 3D Secure program.

375000150056007

6007

01/2023

500.1091

Suspicion of Manipulation. Please check with Issuer, or use different card.

375000120034001

4001

01/2023

500.1094

The Merchant Account is not properly configured for processing. Please contact technical support.

375000030003005

3005

01/2023

500.1099

Transaction processing refused. Please contact technical support.

375000090021004

1004

01/2023

500.1109

Malformed/Invalid Parameter. Please check your input.

375000070013005

3005

01/2023

500.1117

Terminal ID Unknown Please contact technical support.

375000160058001

8001

01/2023

500.1118

Invalid Transaction Please check your input or use different card.

375000060012009

2009

01/2023

500.1156

The issuer returned Declined. Please check with Issuer, or use different card.

375000050005005

5005

01/2023

500.1157

The issuer returned Stolen Card. Please check with Issuer, or use different card.

375000140043008

3008

01/2023

500.1159

The issuer returned Invalid Card. Please check your input or use different card.

375000080014001

4001

01/2023

Diners

Use Card Type diners

If you want to provoke…​

…​Use these card data in the request…​

Status Code

Status Name

Card Number

CVC

Expiration Date

500.1054

The acquirer returned Pick up card. Please check with Issuer, or use different card.

38000004000408

408

01/2023

500.1060

The acquirer returned Transaction Type not accepted. Please contact technical support.

38000013004003

003

01/2023

500.1061

The card type is not processed by the authorization center. Please contact technical support.

38000019009204

204

01/2023

500.1062

The acquirer returned Expired Card. Please check your input or use different card.

38000011003304

304

01/2023

500.1063

The acquirer returned Call Voice-authorization number, Initialization Data. Please check with Issuer.

38000002000202

202

01/2023

500.1066

The acquirer returned Restricted Card. Try another card. Please check with Issuer, or use different card.

38000017006202

202

01/2023

500.1067

The acquirer returned Card issuer temporarily not reachable. Please try again later.

38000018009106

106

01/2023

500.1068

The acquirer returned Processing temporarily not possible. Please try again later.

38000020009607

607

01/2023

500.1072

Card not enrolled: The card is not enrolled / the cardholder is not participating in the 3D Secure program.

38000015005602

602

01/2023

500.1091

Suspicion of Manipulation. Please check with Issuer, or use different card.

38000012003402

402

01/2023

500.1094

The Merchant Account is not properly configured for processing. Please contact technical support.

38000003000300

300

01/2023

500.1099

Transaction processing refused. Please contact technical support.

38000009002102

102

01/2023

500.1109

Malformed/Invalid Parameter. Please check your input.

38000007001304

304

01/2023

500.1117

Terminal ID Unknown Please contact technical support.

38000016005809

809

01/2023

500.1118

Invalid Transaction Please check your input or use different card.

38000006001206

206

01/2023

500.1156

The issuer returned Declined. Please check with Issuer, or use different card.

38000005000506

506

01/2023

500.1157

The issuer returned Stolen Card. Please check with Issuer, or use different card.

38000014004309

309

01/2023

500.1159

The issuer returned Invalid Card. Please check your input or use different card.

38000008001402

402

01/2023

JCB

Use Card Type jcb

If you want to provoke…​

…​Use these card data in the request…​

Status Code

Status Name

Card Number

CVC

Expiration Date

500.1054

The acquirer returned Pick up card. Please check with Issuer, or use different card.

3541590400040002

002

01/2023

500.1060

The acquirer returned Transaction Type not accepted. Please contact technical support.

3541591300400007

007

01/2023

500.1061

The card type is not processed by the authorization center. Please contact technical support.

3541591900920008

008

01/2023

500.1062

The acquirer returned Expired Card. Please check your input or use different card.

3541591100330008

008

01/2023

500.1063

The acquirer returned Call Voice-authorization number, Initialization Data. Please check with Issuer.

3541590200020006

006

01/2023

500.1066

The acquirer returned Restricted Card. Try another card. Please check with Issuer, or use different card.

3541591700620006

006

01/2023

500.1067

The acquirer returned Card issuer temporarily not reachable. Please try again later.

3541591800910000

999

01/2023

500.1068

The acquirer returned Processing temporarily not possible. Please try again later.

3541592000960001

001

01/2023

500.1072

Card not enrolled: The card is not enrolled / the cardholder is not participating in the 3D Secure program.

3541591500560006

006

01/2023

500.1091

Suspicion of Manipulation. Please check with Issuer, or use different card.

3541591200340006

006

01/2023

500.1094

The Merchant Account is not properly configured for processing. Please contact technical support.

3541590300030004

004

01/2023

500.1099

Transaction processing refused. Please contact technical support.

3541590900210006

006

01/2023

500.1109

Malformed/Invalid Parameter. Please check your input.

3541590700130008

008

01/2023

500.1117

Terminal ID Unknown Please contact technical support.

3541591600580003

003

01/2023

500.1118

Invalid Transaction Please check your input or use different card.

3541590600120000

999

01/2023

500.1156

The issuer returned Declined. Please check with Issuer, or use different card.

3541590500050000

999

01/2023

500.1157

The issuer returned Stolen Card. Please check with Issuer, or use different card.

3541591400430003

003

01/2023

500.1159

The issuer returned Invalid Card. Please check your input or use different card.

3541590800140006

006

01/2023

Maestro

Use Card Type maestro

If you want to provoke…​

…​Use these card data in the request…​

Status Code

Status Name

Card Number

CVC

Expiration Date

500.1054

The acquirer returned Pick up card. Please check with Issuer, or use different card.

6333110400040004

004

01/2023

500.1060

The acquirer returned Transaction Type not accepted. Please contact technical support.

6333111300400009

009

01/2023

500.1061

The card type is not processed by the authorization center. Please contact technical support.

6333111900920000

999

01/2023

500.1062

The acquirer returned Expired Card. Please check your input or use different card.

6333111100330000

999

01/2023

500.1063

The acquirer returned Call Voice-authorization number, Initialization Data. Please check with Issuer.

6333110200020008

008

01/2023

500.1066

The acquirer returned Restricted Card. Try another card. Please check with Issuer, or use different card.

6333111700620008

008

01/2023

500.1067

The acquirer returned Card issuer temporarily not reachable. Please try again later.

6333111800910002

002

01/2023

500.1068

The acquirer returned Processing temporarily not possible. Please try again later.

6333112000960003

003

01/2023

500.1072

Card not enrolled: The card is not enrolled / the cardholder is not participating in the 3D Secure program.

6333111500560008

008

01/2023

500.1091

Suspicion of Manipulation. Please check with Issuer, or use different card.

6333111200340008

008

01/2023

500.1094

The Merchant Account is not properly configured for processing. Please contact technical support.

6333110300030006

006

01/2023

500.1099

Transaction processing refused. Please contact technical support.

6333110900210008

008

01/2023

500.1109

Malformed/Invalid Parameter. Please check your input.

6333110700130000

999

01/2023

500.1117

Terminal ID Unknown Please contact technical support.

6333111600580005

005

01/2023

500.1118

Invalid Transaction Please check your input or use different card.

6333110600120002

002

01/2023

500.1156

The issuer returned Declined. Please check with Issuer, or use different card.

6333110500050002

002

01/2023

500.1157

The issuer returned Stolen Card. Please check with Issuer, or use different card.

6333111400430005

005

01/2023

500.1159

The issuer returned Invalid Card. Please check your input or use different card.

6333110800140008

008

01/2023

Mastercard

Use Card Type mastercard

If you want to provoke…​

…​Use these card data in the request…​

Status Code

Status Name

Card Number

CVC

Expiration Date

500.1054

The acquirer returned Pick up card. Please check with Issuer, or use different card.

5413330400040003

003

01/2023

500.1060

The acquirer returned Transaction Type not accepted. Please contact technical support.

5413331300400008

008

01/2023

500.1061

The card type is not processed by the authorization center. Please contact technical support.

5413331900920009

009

01/2023

500.1062

The acquirer returned Expired Card. Please check your input or use different card.

5413331100330009

009

01/2023

500.1063

The acquirer returned Call Voice-authorization number, Initialization Data. Please check with Issuer.

5413330200020007

007

01/2023

500.1066

The acquirer returned Restricted Card. Try another card. Please check with Issuer, or use different card.

5413331700620007

007

01/2023

500.1067

The acquirer returned Card issuer temporarily not reachable. Please try again later.

5413331800910001

001

01/2023

500.1068

The acquirer returned Processing temporarily not possible. Please try again later.

5413332000960002

002

01/2023

500.1072

Card not enrolled: The card is not enrolled / the cardholder is not participating in the 3D Secure program.

5413331500560007

007

01/2023

500.1091

Suspicion of Manipulation. Please check with Issuer, or use different card.

5413331200340007

007

01/2023

500.1094

The Merchant Account is not properly configured for processing. Please contact technical support.

5413330300030005

005

01/2023

500.1099

Transaction processing refused. Please contact technical support.

5413330900210007

007

01/2023

500.1109

Malformed/Invalid Parameter. Please check your input.

5413330700130009

009

01/2023

500.1117

Terminal ID Unknown Please contact technical support.

5413331600580004

004

01/2023

500.1118

Invalid Transaction Please check your input or use different card.

5413330600120001

001

01/2023

500.1156

The issuer returned Declined. Please check with Issuer, or use different card.

5413330500050001

001

01/2023

500.1157

The issuer returned Stolen Card. Please check with Issuer, or use different card.

5413331400430004

004

01/2023

500.1159

The issuer returned Invalid Card. Please check your input or use different card.

5413330800140007

007

01/2023

VISA

Use Card Type visa

If you want to provoke…​

…​Use these card data in the request…​

Status Code

Status Name

Card Number

CVC

Expiration Date

500.1054

The acquirer returned Pick up card. Please check with Issuer, or use different card.

4012000400040000

999

01/2023

500.1060

The acquirer returned Transaction Type not accepted. Please contact technical support.

4012001300400005

005

01/2023

500.1061

The card type is not processed by the authorization center. Please contact technical support.

4012001900920006

006

01/2023

500.1062

The acquirer returned Expired Card. Please check your input or use different card.

4012001100330006

006

01/2023

500.1063

The acquirer returned Call Voice-authorization number, Initialization Data. Please check with Issuer.

4012000200020004

004

01/2023

500.1066

The acquirer returned Restricted Card. Try another card. Please check with Issuer, or use different card.

4012001700620004

004

01/2023

500.1067

The acquirer returned Card issuer temporarily not reachable. Please try again later.

4012001800910008

008

01/2023

500.1068

The acquirer returned Processing temporarily not possible. Please try again later.

4012002000960009

009

01/2023

500.1072

Card not enrolled: The card is not enrolled / the cardholder is not participating in the 3D Secure program.

4012001500560004

004

01/2023

500.1091

Suspicion of Manipulation. Please check with Issuer, or use different card.

4012001200340004

004

01/2023

500.1094

The Merchant Account is not properly configured for processing. Please contact technical support.

4012000300030002

002

01/2023

500.1099

Transaction processing refused. Please contact technical support.

4012000900210004

004

01/2023

500.1109

Malformed/Invalid Parameter. Please check your input.

4012000700130006

006

01/2023

500.1117

Terminal ID Unknown Please contact technical support.

4012001600580001

001

01/2023

500.1118

Invalid Transaction Please check your input or use different card.

4012000600120008

008

01/2023

500.1156

The issuer returned Declined. Please check with Issuer, or use different card.

4012000500050008

008

01/2023

500.1157

The issuer returned Stolen Card. Please check with Issuer, or use different card.

4012001300430002

002

01/2023

500.1159

The issuer returned Invalid Card. Please check your input or use different card.

4012000800140004

004

01/2023

PSD 2

The Second Payment Service Directive (PSD2) in a Nutshell
  • New Regulation: EU’s Second Payment Service Directive (PSD2) for online payments within the European Economic Area (EEA)

  • Requires: Strong Customer Authentication (SCA)

  • What it is: A measure to combat fraud in card-not-present transactions

  • Who is affected: Issuers, acquirers, and merchants in the EEA

  • Effective from: September 14, 2019

On September 14, 2019, the EU’s Second Payment Service Directive (PSD2) comes into force. This directive aims to reduce fraud in the European e-commerce sector. Since the largest percentage of all card fraud in Europe happens in card-not-present transactions, the PSD2 makes Strong Customer Authentication (SCA) mandatory for consumer-initiated online payments within the European Economic Area (EEA).

While the regulations defined in PSD2 apply to acquirers and issuers, the effects will also concern EEA merchants and consumers.

To get you ready for SCA, the EMVCo have developed 3D Secure 2, a new authentication protocol for payment card transactions.

What is Strong Customer Authentication (SCA)?

Strong Customer Authentication is a security measure that relies on two-factor authentication to verify the identity of the consumer in a payment transaction. As a result, these factors are strictly consumer-based. SCA can combine two of the following three factors, which must be strictly independent of each other:

  • Knowledge
    This factor relies on the consumer’s unique knowledge of a password or a PIN. Knowledge must not be easily accessible by unauthorized parties. The European Banking Authority (EBA) has determined that credit card number, CVV and expiry date are not valid knowledge, as these are printed on the credit card.

  • Possession
    This factor relies on the consumer’s possession to verify a payment. For example, hardware, such as smartphones and tablets registered to the consumer, can be used as a second verification instance.

  • Inherence
    This factor uses biometrics to verify the consumer’s identity, for example, a fingerprint or a facial scan.

For all payments authenticated with Strong Customer Authentication, as well as those exempted from SCA, the payment service provider must ensure that the fraud rates for online payments are the same as, or lower than the EU reference fraud rate set out in the PSD2.

Exemptions to Strong Customer Authentication

Certain types of transactions may be exempted from Strong Customer Authentication. It is up to your bank/acquirer to request these exemptions for you.

Low Value Transactions
  • SCA does NOT apply to transactions below 30 EUR.

  • SCA does NOT apply when the cumulative amount of previous transactions since the last Strong Customer Authentication does not exceed 100 EUR.

  • SCA does NOT apply when five or less consecutive individual online transactions have been made (remember that in this case, none of those two-to-five payments have been over 30 EUR, and their total does not exceed 100 EUR).

  • The fraud rates for low value transactions must be the same as, or below the EU reference fraud rate for remote electronic card-based payments.

Recurring Transactions
  • SCA needs to apply when the consumer initiates the first in a series of recurring transactions with the same amount and the same merchant.

  • SCA does NOT apply to all subsequent recurring transactions.

  • The fraud rates for recurring transactions must be the same as, or below the EU reference fraud rate for remote electronic card-based payments.

Low-risk transactions
  • SCA does NOT apply to low-risk transactions.

  • To determine whether an online transaction is low-risk, acquirers and issuers may perform real-time risk analysis, to identify, for example, abnormal spending patterns, known fraud scenarios, and abnormal location of the consumer.

  • Low risk transactions can only be exempted if the fraud rates for these transactions are the same as, or below the EU reference fraud rate for remote electronic card-based payments.

White-Listing
  • SCA does NOT apply to online payments from a consumer to a white-listed merchant.

  • Consumers can white-list 'trusted beneficiaries' – merchants of their choice to be included on a list maintained by the consumer’s bank. SCA is only required for the first online transaction.

  • White-listed transactions can only be exempted if the fraud rates for these transactions are the same as, or below the EU reference fraud rate for remote electronic card-based payments.

Secure Corporate Transactions
  • SCA does NOT apply to secure B2B payments via dedicated payment processes and protocols which are not available to consumers.

  • Secure corporate transactions can only be exempted if the fraud rates for these transactions are the same as, or below the EU reference fraud rate for remote electronic card-based payments.

Calculation of Fraud Rates
EU reference fraud rate for remote electronic card-based payments
Exemption Threshold Value (ETV) Fraud Rate

EUR 500

0.01 %

EUR 250

0.06 %

EUR 100

0.13 %

3D Secure 2

The EMVCo have devised a new standard authentication method for payment card transactions: 3D Secure 2 (3DS2).
This new protocol fulfills the Strong Customer Authentication (SCA) requirements set by the EU’s Second Payment Service Directive for online payments within the European Economic Area (EEA), which is due to come into force on September 14, 2019.

3D Secure 2 is now available and set to become the prime authentication method for online card payments, thanks to a number of updates that improve not only the security, but also the consumer experience of 3D Secure 1 (3DS).

Why Adopt 3D Secure 2?

When 3D Secure 1 was first introduced in 2001, it provided a state-of-the-art fraud prevention system. But the face of e-commerce has changed drastically in the past years. Mobile and in-app payment is booming, a seamless shopping experience more important than ever, and the demands on security growing. The 3D Secure 2 protocol has been designed for this brave new world and offers the flexibility needed to adapt to an ever-changing e-commerce landscape.

3D Secure 2 - The Advantages
  • No more static passwords: The days of rummaging through your drawers to find your 3DS password are over. Consumers will no longer have to look for their passwords and are more likely to complete their purchases.

  • Two-factor-authentication: 3DS2 implements two-factor-authentication, as required by PSD2. To make the experience more convenient for consumers, authentication can be completed, for example, with a token and a simple thumbprint.

  • Fewer false declines: The new protocol provides ten times more information to the issuers, which helps drastically reduce the number of false declines. Consumers will retain their trust in 3DS2-secured transactions.

  • Mobile-enabled security: Consumers will no longer be redirected to potentially non-mobile-ready authorization pages.

  • Less cart abandonment: Overall greater convenience, a faster checkout process, and a seamless shopping experience will reduce shopping cart abandonment by 70%.

  • Merchant opt-out: As a merchant, if you decide for 3DS2, you regain the freedom to choose which transactions you send through the protocol and which ones you don’t. However, please keep in mind that issuers may have to decline the transaction because SCA is required on their side.

As with 3DS1, 3D Secure 2 also protects the merchant from liability in cases of fraud.

Payment Methods Available with 3D Secure 2

3D Secure 2 has been developed, and is supported, by Mastercard, VISA, American Express, UPI, Diners Club, Discover, and JCB.

We Help You Transition to 3D Secure 2
Workflow

The 3D Secure 2 workflow remains identical to the 3D Secure 1 workflow.

Payment Processing

3D Secure 1 and 3D Secure 2 include an additional transaction type in the transaction process: check-enrollment.
Check-enrollment is the first step in a 3D Secure transaction. Its purpose is to authenticate the consumer’s identity and confirm the consumer’s willingness to pay the amount specified in the payment transaction. With 3D Secure 2, the amount of data collected with check-enrollment is significantly higher than with 3D Secure 1. This allows a more comprehensive risk analysis.
A successful check-enrollment will return a parent-transaction-id. Include this parent-transaction-id in the next step of the payment process.

For example, you would like to continue to authorize the payment amount:

  1. Send a request with check-enrollment.

  2. The check-enrollment response returns a parent-transaction-id.

  3. Send an authorization request including the parent-transaction-id.

All requests following a check-enrollment in the payment process:

  1. Contain the parent-transaction-id returned in the check-enrollment response OR

  2. Are marked as out-of-scope / exempt from PSD2

More use cases and common business scenarios are available below. For more details on 3D Secure 2 fields, go to our 3D Secure 2 field table. Need more information on transaction types? Check out Appendix B: Transaction Types for Credit Card.

Check-Enrollment Amount Handling & Policies

Check-enrollment has two functions:

  1. Authenticate the consumer’s identity.

  2. Confirm the consumer’s willingness to pay the amount specified in the payment transaction.

Therefore, a check-enrollment request contains a requested-amount. As a general rule, the amount provided in consecutive payment requests, e.g. during an authorization, should not exceed the amount provided in the referenced check-enrollment by more than what a consumer could reasonably expect. The margin of what is considered reasonable varies from card scheme to card scheme and ranges from 15-20%. As a merchant, you are always on the safe side when the originally requested-amount is not exceeded by 15%.

If you exceed the original requested-amount, the transaction may be declined. However, not all transactions that exceed the original requested-amount will fail. In those cases, chargeback liability protection will not apply to the same extent as for fully authenticated amounts.

Updated Integration Guides

Check out our updated integration guides for WPPv2:

New fields (NVP) have also been added to our Payment Page documentation:

New 3D Secure 2 Fields

We provide a full field reference table for 3D Secure 2.

Most fields are optional but we recommend the implementation of optional fields, as this creates a smoother user experience and ensures a higher level of security.

XML Request Datatype Size Description

card.account-type

O

String

2

The type of account, e.g. for a multi-account card product.
Possible values: 01, 02, 03
01 = Not Applicable.
02 = Credit.
03= Debit.
Include this field:

  • If you want consumers to select the account type they are using before completing their purchase.

  • For certain markets, e.g. Brazil.

Otherwise, the field is optional.

account-holder.account-info.authentication-method

O

String

2

Type of consumer login in the merchant’s shop.
Possible values: 01, 02, 03, 04, 05, 06
01 = Guest checkout (i.e. the consumer is not logged in).
02 = Login to the consumer’s account in merchant’s shop with shop-own authentication credentials.
03 = Login with Federated ID.
04 = Login with card issuer credentials.
05 = Login with third-party authentication.
06 = Login with FIDO authenticator.

account-holder.account-info.authentication-timestamp

O

DateTime

20

Date and time (UTC) of the consumer login in the merchant’s shop. Accepted format: YYYY-MM-DDThh:mm:ssZ. For guest checkout, the DateTime is now.

account-holder.account-info.challenge-indicator

O

String

2

Indicates whether a challenge is requested for this transaction.
Possible values: 01, 02, 03, 04
01 = No preference.
02 = No challenge requested.
03 = Challenge requested: Merchant Preference.
04 = Challenge requested: Mandate. Must be sent in a first transaction that stores a token (e.g. for one-click checkout, first recurring payment, installments, UCOF).
NOTE: If the element is not provided, the ACS will interpret this as 01 = No preference.

account-holder.account-info.creation-date

O

Date

10

Registration date (UTC) of the consumer’s account in the merchant’s shop. Accepted format: YYYY-MM-DD. For guest checkout, do not send this field.

account-holder.account-info.update-date

O

Date

10

Date that the consumer last made changes to their account in the merchant’s shop. For example, changes to billing and shipping address, new payment account, new email address. Accepted format: YYYY-MM-DD. For guest checkout, do not send this field.

account-holder.account-info.password-change-date

O

Date

10

Date that the consumer last changed/reset their password in the merchant’s shop. Accepted format: YYYY-MM-DD. For guest checkout, do not send this field.

account-holder.account-info.shipping-address-first-use

O

Date

10

Date that the consumer first used this shipping address in the merchant’s shop. Accepted format: YYYY-MM-DD. For guest checkout, do not send this field.

account-holder.account-info.transactions-last-day

O

Numeric

9

Number of transactions (successful, failed, and canceled) that the consumer has attempted in the past 24 hours. Does not include merchant-initiated transactions.

account-holder.account-info.transactions-last-year

O

Numeric

9

Number of transactions (successful, failed, and canceled) that the consumer has attempted within the past year. Does not include merchant-initiated transactions.

account-holder.account-info.card-transactions-last-day

O

Numeric

9

Number of cards the consumer has attempted to add to their account in the merchant’s shop for card-on-file payments (one-click checkout) in the past 24 hours.

account-holder.account-info.purchases-last-six-months

O

Numeric

9

Number of successful orders by the consumer in the merchant’s shop within the past six months.

account-holder.account-info.suspicious-activity

O

Boolean

Indicates if the merchant knows of suspicious activities by the consumer (e.g. previous fraud).

account-holder.account-info.card-creation-date

O

Date

10

Date that the consumer’s card was added to their account in the merchant’s shop for card-on-file payments (one-click checkout). Accepted format: YYYY-MM-DD.
For all other types of checkout (e.g. guest checkout, regular checkout, the first transaction with one-click checkout), the date is now.

account-holder.merchant-crm-id

O

String

64

Consumer identifier in the merchant’s shop. Requests that contain payment information from the same consumer in the same shop must contain the same string.

account-holder.address.city

M

String

50

City of the consumer’s billing address.

account-holder.address.country

M

String

2

Country of the consumer’s billing address. Format: ISO 3166-1 alpha-2 country code.

account-holder.address.street1

M

String

50

Line 1 of the street address of the consumer’s billing address.

account-holder.address.street2

O

String

50

Line 2 of the street address of the consumer’s billing address.

account-holder.address.street3

O

String

50

Line 3 of the street address of the consumer’s billing address.

account-holder.address.postal-code

M

String

16

ZIP/postal code of the consumer’s billing address.

account-holder.address.state

O

String

3

State/province of the consumer’s billing address. Accepted format: numeric ISO 3166-2 standard.

account-holder.email

M

String

256

The consumer’s email address as given in the merchant’s shop.

account-holder.phone

O

String

18

Home phone number provided by the consumer.

account-holder.mobile-phone

O

String

18

Mobile phone number provided by the consumer.

account-holder.work-phone

O

String

18

Work phone number provided by the consumer.

account-holder.first-name

M

String

32

The last name provided by the consumer as part of the credit card details.

account-holder.last-name

M

String

32

The last name provided by the consumer as part of the credit card details.

shipping.address.city

O

String

50

City of the consumer’s shipping address. Please provide this field even if billing city is identical.

shipping.address.country

O

String

2

Country of the consumer’s shipping address. Please provide this field even if billing country is identical. Format: ISO 3166-1 alpha-2 country code.

shipping.address.street1

O

String

50

Line 1 of the street address of the consumer’s shipping address. Please provide this field even if billing address is identical.

shipping.address.street2

O

String

50

Line 2 of the street address of the consumer’s shipping address. Please provide this field even if billing address is identical.

shipping.address.street3

O

String

50

Line 3 of the street address of the consumer’s shipping address. Please provide this field even if billing address is identical.

shipping.address.postal-code

O

String

16

ZIP/postal code of the consumer’s shipping address. Please provide this field even if billing address is identical.

shipping.address.state

O

String

3

State/province of the consumer’s shipping address. Accepted format: numeric ISO 3166-2 standard. Please provide this field even if billing address is identical.

shipping.shipping-method

O

String

restriction-based enumeration value

The shipping method chosen by the consumer. Merchants must use the shipping indicator value that applies most accurately to the shipping method. If the consumer checks out two or more items, use the shipping indicator value for physical goods. If all are digital goods, use the shipping indicator value that matches the most expensive item.+ Accepted values are:

  • home_delivery: Ship to consumer’s billing address.

  • verified_address_delivery: Ship to another address known to and verified by the merchant.

  • other_address_delivery: Ship to an address that differs from the consumer’s billing address.

  • store_pick_up: "Ship to Store" / Pick-up at local store (store address in shipping address fields).

  • digital_goods: Digital goods (includes online services, electronic gift cards, and redemption codes).

  • digital_tickets: Travel and event tickets, not shipped.

  • other_verified: Other (e.g. gaming, digital services, e-media subscriptions)

risk-info.delivery-timeframe

O

String

2

The approximate delivery time.
Accepted values are: 01, 02, 03, 04
01 = Electronic delivery
02 = Same-day delivery
03 = Overnight delivery
04 = Two-day or more delivery

risk-info.delivery-mail

O

String

254

The consumer’s email address used for electronic delivery of digital goods.

risk-info.reorder-items

O

String

2

The consumer has previously ordered the same item. Accepted values are: 01, 02
01 = First-time order
02 = Reorder

risk-info.availability

O

String

2

The consumer is placing an order for merchandise that is not yet available and will be released in the future. Accepted values are: 01, 02
01 = Currently available
02 = Future availability

risk-info.preorder-date

O

Date

10

Expected shipping date for pre-ordered goods. Accepted format: YYYY-MM-DD.

risk-info.gift-cards.gift-card@id

O

Numeric

2

For prepaid and gift card purchase only. Identifies individual gift cards. Information about up to 10 gift cards can be sent in one request. Accepted values range from 1 to 10.

risk-info.gift-cards.gift-card.amount

O

Decimal

18,2

For prepaid and gift card purchase only. The amount paid with a specific gift card. The field allows decimal values (e.g. 10.50).

risk-info.gift-cards.gift-card.amount@currency

O

String

3

For prepaid and gift card purchase only. The ISO 4217 three-digit currency code of the gift card.

periodic.recurring-expire-date

O

Date

10

For recurring payments. Required only for authentication of the first transaction. Date after which further recurring payments with this card are no longer allowed. Accepted format: YYYY-MM-DD.

periodic.recurring-frequency

O

Numeric

4

For recurring payments. Required only for authentication of the first transaction. Indicates the minimum number of days between individual authorizations.

periodic.number-of-installments

O

Numeric

3

For installment payments. Required only for authentication of the first transaction. Indicates the maximum number of authorizations permitted for installment payments.

periodic.number-of-installments

O

Numeric

3

Indicates the maximum number of authorizations permitted for instalment payments. For installment transactions only.

iso-transaction-type

O

String

2

Identifies the transaction type. The values are derived from ISO 8583. Accepted values are: 01, 03, 10, 11, 28
01 = Goods/ Service Purchase
03 = Check Acceptance
10 = Account Funding
11 = Quasi-Cash Transaction
28 = Prepaid Activation and Load

browser.accept

O

String

2048

This is the HTTP Accept Header as retrieved from the consumer’s browser in the HTTP request. If the string is longer than 2048, it must be truncated. It is strongly recommended to provide this field to prevent rejection from the ACS server.

browser.user-agent

O

String

256

This is the User Agent as retrieved from the consumer’s browser in the HTTP request. If it is longer than 256 bytes it must be truncated. It is strongly recommended to provide this field to prevent rejection from the ACS server.

browser.java-enabled

O

Boolean

Boolean that represents the ability of the cardholder browser to execute Java.
Value is returned from the navigator.javaEnabled property.

browser.language

O

String

8

Value representing the browser language as defined in IETF BCP47. The value is limited to 1-8 characters.
Value is returned from navigator.language property.

browser.color-depth

O

Numeric

2

Value representing the bit depth of the color palette for displaying images, in bits per pixel. Obtained from consumer browser using the screen.colorDepth property.
Accepted values are: 1, 4, 8, 15, 16, 24, 32, 48

browser.screen-resolution

O

String

12

Total height and width of the consumer’s screen in pixels. Value is returned from the screen.height and screen.width properties.

browser.challenge-window-size

O

String

2

Dimensions of the challenge window as displayed to the consumer. The ACS replies with content that is formatted to correctly render in this window to provide the best possible user experience.
Preconfigured sizes are width X height in pixels of the window displayed in the consumer’s browser window. This is used only to prepare the CReq request and it is not part of the AReq flow. If not present, it will be omitted.
Accepted values are: 01, 02, 03, 04, 05
01 = 250 x 400
02 = 390 x 400
03 = 500 x 600
04 = 600 x 400
05 = Full screen

three-d.version

O

String

5

Identifies the version of 3D Secure authentication used for the transaction. Accepted values are: 1.0, or 2.1. If the version is not entered in the request, the field defaults to 1.0.

three-d.ds-transaction-id

O

String

36

Unique transaction identifier assigned by the Directory Server to identify a single transaction. Required for external 3D Secure servers not provided by Wirecard. Format: see IETF RFC 4122.

three-d.riid

O

String

2

For 3D Secure 2.2. Indicates the type of 3RI request.
Accepted values are: 01, 02, 03, 04, 05
01 = Recurring transaction
02 = Installment transaction
03 = Add card
04 = Maintain card information
05 = Account

3D Secure 2 Payment Flows

The 3D Secure 2 workflow remains identical to the 3D Secure 1 workflow.

For typical business scenarios that apply these payment flows, head to our 3D Secure 2 Use Cases page.


One-Time Payment Transaction

Authentication required: Yes
Card-on-file flagging required: No

Option 1: One-Step Payment with Authentication
API CC 3DS2 PaymentFlows OneTimePaymentTransaction OneStep
  1. Check-enrollment: This is the initial request in a 3D Secure 2 payment flow. It initiates the payment session and checks if the consumer’s card is enrolled in the 3D Secure 2 program.

    New 3D Secure 2 fields can be found in the 3D Secure 2 field table.
    They are also included in the REST API payment XSD.

    For 3D Secure 2 transactions, include the new field three-d/version and set its value to 2.1.
    XML Fields
    <transaction-type>check-enrollment</transaction-type>
    <three-d>
        <version>2.1</version>
    </three-d>

    transaction-type

    check-enrollment

    three-d/version

    2.1

    As a result of the check-enrollment, you receive the PAReq with the ACS URL.

  2. Redirect the consumer to the ACS URL: Send an HTTPS POST request including the ACS URL, the <PAReq>, the <TermUrl> and <MD>.

    • The <TermUrl> is the web address of your server to receive the PARes (Payment Authentication response).

    • The <MD> is a hidden input parameter reserved for specific merchant data. The <MD> may be useful for retrieving transaction data from the database or recalling a transaction.

      You do not need to define the <MD> value.
      This field is mandatory. If you omit the <MD> input type, an authentication error will occur and the payment process will be aborted.
    Example: Auto Submission POST Request
    <html>
       <head>
          <meta HTTP-EQUIV="Content-Type" content="text/html; charset=UTF-8" />
          <meta HTTP-EQUIV="Cache-Control" CONTENT="no cache" />
          <meta HTTP-EQUIV="Pragma" CONTENT="no cache" />
          <meta HTTP-EQUIV="Expires" CONTENT="0" />
       </head>
       <body OnLoad="AutoSubmitForm();">
          <form name="downloadForm" action="AcsUrl" method="POST">
             <input type="hidden" name="PaReq" value="PaReq" />
             <input type="hidden" name="TermUrl" value="TermUrl" />
             <input type="hidden" name="MD" value="optionalValue" />
             <SCRIPT LANGUAGE="Javascript">
                <!--function AutoSubmitForm() { document.downloadForm.submit();}//-->
             </SCRIPT>
             <input type="submit" name="continue" value="Continue" />
          </form>
       </body>
    </html>

    Once the consumer has been redirected, they receive an authentication prompt. The consumer enters their data. After successful authentication, the SSL-encrypted and digitally signed PARes (Payment Authentication response) will be posted to the TermURL via the consumer’s browser.

  3. Check-payer-response (optional): Use this request to receive, analyze and store authentication values on your side or use your connection to the Wirecard Payment Gateway for the "MPI Only" option. The check-payer-response provides the authentication values needed later on in the purchase. It is executed after you receive the check-enrollment response and the PARes. The check-payer-response must contain the following fields:

    • three-d/pares: This is the digitally signed, base64-encoded authentication response message containing ARes/CRes received from the issuer.

    • parent-transaction-id: Use the value returned in the transaction-id field of the check-enrollment response.

    XML Fields
    <transaction-type>check-payer-response</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfvdXWDmPnr2ZRHCX8VQziKCgyCDyx....</pares>
    </three-d>

    transaction-type

    check-payer-response

    parent-transaction-id

    three-d/pares

  4. Purchase: This final step in the transaction flow must reference either the previous check-enrollment, or the check-payer-response, depending on whether the check-payer-response has been executed or not.

    1. Following check-enrollment: Include the transaction-id from the check-enrollment response in the parent-transaction-id field.

    2. Following (optional) check-payer-response: Include the transaction-id returned by the check-payer-response in the parent-transaction-id field.

    If the check-payer-response was not executed, instead use the PARes received via TermURL as part of the response to the ACS HTTP POST request.

    XML Fields
    <transaction-type>purchase</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfv.......</pares>
    </three-d>

    transaction-type

    purchase

    parent-transaction-id

    three-d/pares

Option 2: Two-Step Payment with Authentication
API CC 3DS2 PaymentFlows OneTimePaymentTransaction TwoStep
  1. Check-enrollment: This is the initial request in a 3D Secure 2 payment flow. It initiates the payment session and checks if the consumer’s card is enrolled in the 3D Secure 2 program.

    New 3D Secure 2 fields can be found in the 3D Secure 2 field table.
    They are also included in the REST API payment XSD.

    For 3D Secure 2 transactions, include the new field three-d/version and set its value to 2.1.
    XML Fields
    <transaction-type>check-enrollment</transaction-type>
    <three-d>
        <version>2.1</version>
    </three-d>

    transaction-type

    check-enrollment

    three-d/version

    2.1

    As a result of the check-enrollment, you receive the PAReq with the ACS URL.

  2. Redirect the consumer to the ACS URL: Send an HTTPS POST request including the ACS URL, the <PAReq>, the <TermUrl> and <MD>.

    • The <TermUrl> is the web address of your server to receive the PARes (Payment Authentication response).

    • The <MD> is a hidden input parameter reserved for specific merchant data. The <MD> may be useful for retrieving transaction data from the database or recalling a transaction.

      You do not need to define the <MD> value.
      This field is mandatory. If you omit the <MD> input type, an authentication error will occur and the payment process is aborted.
    Example: Auto Submission POST Request
    <html>
       <head>
          <meta HTTP-EQUIV="Content-Type" content="text/html; charset=UTF-8" />
          <meta HTTP-EQUIV="Cache-Control" CONTENT="no cache" />
          <meta HTTP-EQUIV="Pragma" CONTENT="no cache" />
          <meta HTTP-EQUIV="Expires" CONTENT="0" />
       </head>
       <body OnLoad="AutoSubmitForm();">
          <form name="downloadForm" action="AcsUrl" method="POST">
             <input type="hidden" name="PaReq" value="PaReq" />
             <input type="hidden" name="TermUrl" value="TermUrl" />
             <input type="hidden" name="MD" value="optionalValue" />
             <SCRIPT LANGUAGE="Javascript">
                <!--function AutoSubmitForm() { document.downloadForm.submit();}//-->
             </SCRIPT>
             <input type="submit" name="continue" value="Continue" />
          </form>
       </body>
    </html>

    Once the consumer has been redirected, they receive an authentication prompt. The consumer enters their data. After successful authentication, the SSL-encrypted and digitally signed PARes (Payment Authentication response) will be posted to the TermURL via the consumer’s browser.

  3. Check-payer-response (optional): Use this request to receive, analyze and store authentication values on your side or use your connection to the Wirecard Payment Gateway for the "MPI Only" option. The check-payer-response provides the authentication values needed later on in the authorization. It is executed after you receive the check-enrollment response and the PARes. The check-payer-response must contain the following fields:

    • three-d/pares: This is the digitally signed, base64-encoded authentication response message containing ARes/CRes received from the issuer.

    • parent-transaction-id: Use the value returned in the transaction-id field of the check-enrollment response.

    XML Fields
    <transaction-type>check-payer-response</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfvdXWDmPnr2ZRHCX8VQziKCgyCDyx....</pares>
    </three-d>

    transaction-type

    check-payer-response

    parent-transaction-id

    three-d/pares

  4. Authorization:This step in the transaction flow must reference either the previous check-enrollment, or the check-payer-response, depending on whether the check-payer-response has been executed or not.

    1. Following check-enrollment: Include the transaction-id from the check-enrollment response in the parent-transaction-id field.

    2. Following (optional) check-payer-response: Include the transaction-id returned by the check-payer-response in the parent-transaction-id field.

    If the check-payer-response was not executed, instead use the PARes received via TermURL as part of the response to the ACS HTTP POST request.

    XML Fields
    <transaction-type>authorization</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfv.......</pares>
    </three-d>

    transaction-type

    authorization

    parent-transaction-id

    three-d/pares

  5. Capture-authorization: This step in the transaction flow must reference the transaction-id from the authorization response in the parent-transaction-id field.

    XML Fields
    <transaction-type>capture-authorization</transaction-type>
    <parent-transaction-id>df92ce59-a39c-4e2d-a5d6-c3f952826acd</parent-transaction-id>

    transaction-type

    capture-authorization

    parent-transaction-id


First Payment and Consumer-Initiated (CI) One-Click Checkout

Authentication required: Yes
Card-on-file flagging required: Yes

First Payment with Authentication
API CC 3DS2 PaymentFlows FirstPaymentCICheckout First
  1. Check-enrollment: This is the initial request in a 3D Secure 2 payment flow. It initiates the payment session and checks if the consumer’s card is enrolled in the 3D Secure 2 program.

    New 3D Secure 2 fields can be found in the 3D Secure 2 field table.
    They are also included in the REST API payment XSD.

    For 3D Secure 2 consumer-initiated (CI) one-click checkout, include the new field three-d/version and set its value to 2.1. Set challenge-indicator to 04. Set the periodic-type to ci (consumer-initiated) and the sequence-type to first.
    XML Fields
    <transaction-type>check-enrollment</transaction-type>
    <account-holder>
        <account-info>
            <challenge-indicator>04</challenge-indicator>
        </account-info>
    </account-holder>
    <three-d>
        <version>2.1</version>
    </three-d>
    <periodic>
        <periodic-type>ci</periodic-type>
        <sequence-type>first</sequence-type>
    </periodic>
    <card>
        <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>

    transaction-type

    check-enrollment

    account-holder/account-info/challenge-indicator

    04

    three-d/version

    2.1

    periodic/periodic-type

    ci

    periodic/sequence-type

    first

    card/merchant-tokenization-flag

    true

    As a result of the check-enrollment, you receive the PAReq with the ACS URL.

  2. Redirect the consumer to the ACS URL: Send an HTTPS POST request including the ACS URL, the <PAReq>, the <TermUrl> and <MD>.

    • The <TermUrl> is the web address of your server to receive the PARes (Payment Authentication response).

    • The <MD> is a hidden input parameter reserved for specific merchant data. The <MD> may be useful for retrieving transaction data from the database or recalling a transaction.

      You do not need to define the <MD> value.
      This field is mandatory. If you omit the <MD> input type, an authentication error will occur and the payment process is aborted.
    Example: Auto Submission POST Request
    <html>
       <head>
          <meta HTTP-EQUIV="Content-Type" content="text/html; charset=UTF-8" />
          <meta HTTP-EQUIV="Cache-Control" CONTENT="no cache" />
          <meta HTTP-EQUIV="Pragma" CONTENT="no cache" />
          <meta HTTP-EQUIV="Expires" CONTENT="0" />
       </head>
       <body OnLoad="AutoSubmitForm();">
          <form name="downloadForm" action="AcsUrl" method="POST">
             <input type="hidden" name="PaReq" value="PaReq" />
             <input type="hidden" name="TermUrl" value="TermUrl" />
             <input type="hidden" name="MD" value="optionalValue" />
             <SCRIPT LANGUAGE="Javascript">
                <!--function AutoSubmitForm() { document.downloadForm.submit();}//-->
             </SCRIPT>
             <input type="submit" name="continue" value="Continue" />
          </form>
       </body>
    </html>

    Once the consumer has been redirected, they receive an authentication prompt. The consumer enters their data. After successful authentication, the SSL-encrypted and digitally signed PARes (Payment Authentication response) will be posted to the TermURL via the consumer’s browser.

  3. Check-payer-response (optional): Use this request to receive, analyze and store authentication values on your side or use your connection to the Wirecard Payment Gateway for the "MPI Only" option. The check-payer-response provides the authentication values needed later on in the purchase. It is executed after you receive the check-enrollment response and the PARes. The check-payer-response must contain the following fields:

    • three-d/pares: This is the digitally signed, base64-encoded authentication response message containing ARes/CRes received from the issuer.

    • parent-transaction-id: Use the value returned in the transaction-id field of the check-enrollment response.

      It is not required to set the check-payer-response to ci (consumer-initiated).
    XML Fields
    <transaction-type>check-payer-response</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfvdXWDmPnr2ZRHCX8VQziKCgyCDyx....</pares>
    </three-d>

    transaction-type

    check-payer-response

    parent-transaction-id

    three-d/pares

  4. Purchase: This final step in the transaction flow must reference either the previous check-enrollment, or the check-payer-response, depending on whether the check-payer-response has been executed or not.

    1. Following check-enrollment: Include the transaction-id from the check-enrollment response in the parent-transaction-id field.

    2. Following (optional) check-payer-response: Include the transaction-id returned by the check-payer-response in the parent-transaction-id field.

    If the check-payer-response was not executed, instead use the PARes received via TermURL as part of the response to the ACS HTTP POST request.

    Set the periodic-type to ci (consumer-initiated).
    XML Fields
    <transaction-type>purchase</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfv.......</pares>
    </three-d>
    <periodic>
        <periodic-type>ci</periodic-type>
        <sequence-type>first</sequence-type>
    </periodic>
    <card>
        <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>

    transaction-type

    purchase

    parent-transaction-id

    three-d/pares

    periodic/periodic-type

    ci

    periodic/sequence-type

    first

    card/merchant-tokenization-flag

    true

Option 1: Subsequent One-Step Payment with Authentication
API CC 3DS2 PaymentFlows FirstPaymentCICheckout SubsequentOptionOne
  1. Check-enrollment: This is the initial request in a 3D Secure 2 payment flow. It initiates the payment session and checks if the consumer’s card is enrolled in the 3D Secure 2 program.

    New 3D Secure 2 fields can be found in the 3D Secure 2 field table.
    They are also included in the REST API payment XSD.

    For 3D Secure 2 transactions, include the new field three-d/version and set its value to 2.1. Set the periodic-type to ci (consumer-initiated) and the sequence-type to recurring.
    It is not required to include the parent-transaction-id or set challenge-indicator to 04.
    XML Fields
    <transaction-type>check-enrollment</transaction-type>
    <three-d>
        <version>2.1</version>
    </three-d>
    <periodic>
        <periodic-type>ci</periodic-type>
        <sequence-type>recurring</sequence-type>
    </periodic>
    <card>
        <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>

    transaction-type

    check-enrollment

    three-d/version

    2.1

    periodic/periodic-type

    ci

    periodic/sequence-type

    recurring

    card/merchant-tokenization-flag

    true

    As a result of the check-enrollment, you receive the PAReq with the ACS URL.

  2. Redirect the consumer to the ACS URL: Send an HTTPS POST request including the ACS URL, the <PAReq>, the <TermUrl> and <MD>.

    • The <TermUrl> is the web address of your server to receive the PARes (Payment Authentication response).

    • The <MD> is a hidden input parameter reserved for specific merchant data. The <MD> may be useful for retrieving transaction data from the database or recalling a transaction.

      You do not need to define the <MD> value.
      This field is mandatory. If you omit the <MD> input type, an authentication error will occur and the payment process is aborted.
    Example: Auto Submission POST Request
    <html>
       <head>
          <meta HTTP-EQUIV="Content-Type" content="text/html; charset=UTF-8" />
          <meta HTTP-EQUIV="Cache-Control" CONTENT="no cache" />
          <meta HTTP-EQUIV="Pragma" CONTENT="no cache" />
          <meta HTTP-EQUIV="Expires" CONTENT="0" />
       </head>
       <body OnLoad="AutoSubmitForm();">
          <form name="downloadForm" action="AcsUrl" method="POST">
             <input type="hidden" name="PaReq" value="PaReq" />
             <input type="hidden" name="TermUrl" value="TermUrl" />
             <input type="hidden" name="MD" value="optionalValue" />
             <SCRIPT LANGUAGE="Javascript">
                <!--function AutoSubmitForm() { document.downloadForm.submit();}//-->
             </SCRIPT>
             <input type="submit" name="continue" value="Continue" />
          </form>
       </body>
    </html>

    Once the consumer has been redirected, they receive an authentication prompt. The consumer enters their data. After successful authentication, the SSL-encrypted and digitally signed PARes (Payment Authentication response) will be posted to the TermURL via the consumer’s browser.

  3. Check-payer-response (Optional): Use this request to receive, analyze and store authentication values on your side or use your connection to the Wirecard Payment Gateway for the "MPI Only" option. The check-payer-response provides the authentication values needed later on in the purchase. It is executed after you receive the check-enrollment response and the PARes. The check-payer-response must contain the following fields:

    • three-d/pares: This is the digitally signed, base64-encoded authentication response message containing ARes/CRes received from the issuer.

    • parent-transaction-id: Use the value returned in the transaction-id field of the check-enrollment response.

    It is not required to set the check-payer-response to ci (consumer-initiated) and recurring.
    XML Fields
    <transaction-type>check-payer-response</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfvdXWDmPnr2ZRHCX8VQziKCgyCDyx....</pares>
    </three-d>

    transaction-type

    check-payer-response

    parent-transaction-id

    three-d/pares

  4. Purchase: This final step in the transaction flow must reference either the previous check-enrollment, or the check-payer-response, depending on whether the check-payer-response has been executed or not.

    1. Following check-enrollment: Include the transaction-id from the check-enrollment response in the parent-transaction-id field.

    2. Following (optional) check-payer-response: Include the transaction-id returned by the check-payer-response in the parent-transaction-id field.

    If the check-payer-response was not executed, instead use the PARes received via TermURL as part of the response to the ACS HTTP POST request.

    Set the periodic-type to ci (consumer-initiated) and the sequence-type to recurring.
    XML Fields
    <transaction-type>purchase</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfv.......</pares>
    </three-d>
    <periodic>
        <periodic-type>ci</periodic-type>
        <sequence-type>recurring</sequence-type>
    </periodic>
    <card>
        <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>

    transaction-type

    purchase

    parent-transaction-id

    three-d/pares

    periodic/periodic-type

    ci

    periodic/sequence-type

    recurring

    card/merchant-tokenization-flag

    true

Option 2: Subsequent Two-Step Payment with Authentication
API CC 3DS2 PaymentFlows FirstPaymentCICheckout SubsequentOptionTwo
  1. Check-enrollment: This is the initial request and initiates the payment session. New 3D Secure 2 fields can be found in the 3D Secure 2 field table and are included in the REST API payment XSD.

    For 3D Secure 2 transactions, include the new field three-d/version and set its value to 2.1. Set the periodic-type to ci (consumer-initiated) and the sequence-type to recurring.
    It is not required to include the parent-transaction-id or set challenge-indicator to 04.
    XML Fields
    <transaction-type>check-enrollment</transaction-type>
    <three-d>
        <version>2.1</version>
    </three-d>
    <periodic>
        <periodic-type>ci</periodic-type>
        <sequence-type>recurring</sequence-type>
    </periodic>
    <card>
        <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>

    transaction-type

    check-enrollment

    three-d/version

    2.1

    periodic/periodic-type

    ci

    periodic/sequence-type

    recurring

    card/merchant-tokenization-flag

    true

    As a result of the check-enrollment, you receive the PAReq with the ACS URL.

  2. Redirect the consumer to the ACS URL: Send an HTTPS POST request including the ACS URL, the <PAReq>, the <TermUrl> and <MD>.

    • The <TermUrl> is the web address of your server to receive the PARes (Payment Authentication response).

    • The <MD> is a hidden input parameter reserved for specific merchant data. The <MD> may be useful for retrieving transaction data from the database or recalling a transaction.

      You do not need to define the <MD> value.
      This field is mandatory. If you omit the <MD> input type, an authentication error will occur and the payment process is aborted.
    Example: Auto Submission POST Request
    <html>
       <head>
          <meta HTTP-EQUIV="Content-Type" content="text/html; charset=UTF-8" />
          <meta HTTP-EQUIV="Cache-Control" CONTENT="no cache" />
          <meta HTTP-EQUIV="Pragma" CONTENT="no cache" />
          <meta HTTP-EQUIV="Expires" CONTENT="0" />
       </head>
       <body OnLoad="AutoSubmitForm();">
          <form name="downloadForm" action="AcsUrl" method="POST">
             <input type="hidden" name="PaReq" value="PaReq" />
             <input type="hidden" name="TermUrl" value="TermUrl" />
             <input type="hidden" name="MD" value="optionalValue" />
             <SCRIPT LANGUAGE="Javascript">
                <!--function AutoSubmitForm() { document.downloadForm.submit();}//-->
             </SCRIPT>
             <input type="submit" name="continue" value="Continue" />
          </form>
       </body>
    </html>

    Once the consumer has been redirected, they receive an authentication prompt. The consumer enters their data. After successful authentication, the SSL-encrypted and digitally signed PARes (Payment Authentication response) will be posted to the TermURL via the consumer’s browser.

  3. Check-payer-response (optional):Use this request to receive, analyze and store authentication values on your side or use your connection to the Wirecard Payment Gateway for the "MPI Only" option. The check-payer-response provides the authentication values needed later on in the authorization. It is executed after you receive the check-enrollment response and the PARes. The check-payer-response must contain the following fields:

    • three-d/pares: This is the digitally signed, base64-encoded authentication response message containing ARes/CRes received from the issuer.

    • parent-transaction-id: Use the value returned in the transaction-id field of the check-enrollment response.

    It is not required to set the check-payer-response to ci (consumer-initiated) and recurring.
    XML Fields
    <transaction-type>check-payer-response</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfvdXWDmPnr2ZRHCX8VQziKCgyCDyx....</pares>
    </three-d>

    transaction-type

    check-payer-response

    parent-transaction-id

    three-d/pares

  4. Authorization: This step in the transaction flow must reference either the previous check-enrollment, or the check-payer-response, depending on whether the check-payer-response has been executed or not.

    1. Following check-enrollment: Include the transaction-id from the check-enrollment response in the parent-transaction-id field.

    2. Following (optional) check-payer-response: Include the transaction-id returned by the check-payer-response in the parent-transaction-id field.

    If the check-payer-response was not executed, instead use the PARes received via TermURL as part of the response to the ACS HTTP POST request.

    Set the periodic-type to ci (consumer-initiated) and the sequence-type to recurring.
    XML Fields
    <transaction-type>authorization</transaction-type>
    <parent-transaction-id>fa377563-e89d-420e-ab6f-d9d368e6acaa</parent-transaction-id>
    <three-d>
        <pares>eJydV1lzqsoWfv.......</pares>
    </three-d>
    <periodic>
        <periodic-type>ci</periodic-type>
        <sequence-type>recurring</sequence-type>
    </periodic>
    <card>
        <merchant-tokenization-flag>true</merchant-tokenization-flag>
    </card>

    transaction-type

    authorization