PayPal

REST API

PayPal is a type of Wallet.

PayPal Express Checkout

Consumers can make purchases without entering billing, shipping, and credit card information as all of this information is already stored with PayPal. Also, the consumer is able to change the shipping address during the checkout in PayPal. Therefore the shipping address together with other payment details are returned to your web shop for further processing.

Countries and Currencies

Countries

Worldwide

Currencies

USD, EUR, AUD, CAD, CZK, DKK, HKD, HUF, ILS, JPY, MYR, MXN, NOK, NZD, PHP, PLN, GBP, SGD, SEK, CHF, TWD, THB

Communication Formats

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

Requests/Responses

Format

XML

Methods

POST

IPN Encodement

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

Transactions
Transaction Types

For transaction type details which are not given here look at Transaction Types.

Transaction Types
Transaction Type Description Link to the samples

capture-authorization

only available on a successful authorization which was neither voided nor fully captured yet. Partial and multiple capture is allowed, until the authorization limit is not exceeded.

capture-authorization samples

authorization

an authorization payment request represents an agreement to pay and places the consumer’s funds on hold for up to three days. You can attempt to capture from day four to day 29 of the authorization period, but PayPal cannot ensure that 100% of the funds will be available after the three-day honor period

authorization samples

void-authorization

only available on a successful authorization which was neither voided nor captured yet. Authorization is voided as a whole.

void-authorization sample

debit

debit is an immediate payment for online purchase by consumer’s PayPal wallet.

debit samples

refund-debit

available on a successful debit. Partial and multiple refunds are allowed, until the original amount is not exceeded.

refund-debit samples

refund-capture

available on a successful capture-authorization. Partial and multiple refunds are allowed, until the original amount is not exceeded.

refund-capture samples

preauthorization

the possibility to obtain consumer’s preliminary payment confirmation (along with shipping details from PayPal for example).

preauthorization sample

authorization-only

transaction can be only the first one in the series, and the amount is always zero.

authorization-only samples

order

creating a PayPal order indicates that the consumer has consented to the purchase but does not place the funds on hold. After merchant creates an order, they can place multiple authorizations upon it to place funds on hold until ready to capture. Order cannot be referenced by debit transaction and cannot be voided.

order samples

pending-credit or credit

moves funds from the merchant to the consumer without referencing previous payment.

pending-credit samples or credit samples

pending-debit

unfinished debit transaction, waiting for the result of the PayPal Payment Review process. After PayPal's review process is finished, a debit transaction will be created as follow up transaction. For proper functionality, an IPN configuration is required in the merchant’s PayPal account. This transaction type will occur only for transactions in review process and is not invoked for all transactions automatically.

Recurring Transaction
The endpoint for referenced transactions is: https://api.wirecard.com/engine/rest/payments/.

The Wirecard Payment Gateway allows a merchant to submit recurring transactions for PayPal transactions. To submit a recurring transaction, the merchant must submit a request with the transaction type Debit, Authorization or Authorization-Only including a PERIODIC TYPE and a SEQUENCE TYPE element. With PayPal it is also possible to mix the transaction types Authorization and Debit.

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

PayPal-Specific Use of Transaction Types
preauthorization

It is possible to obtain consumer’s preliminary payment confirmation (along with shipping details from PayPal, for example) without reserving funds on payer’s PayPal account. This can be achieved using a preauthorization transaction, which have the same parameters as authorization or debit request. Similarly, the Forward-URL to the PayPal Express Checkout is delivered in the response, where the consumer needs to confirm the payment. In order to finalize the payment, a regular authorization or debit transaction needs to be submitted, referencing the prior preauthorization transaction using the Parent-transaction-ID field. The preauthorization does not need to be canceled if the merchant decides not to follow up on this order attempt.

authorization-only

On PayPal merchant setup site the option "Use Express Checkout to process payments" must be "true", otherwise it is not possible to create a "get-url" transaction. authorization-only (records data at PayPal and Wirecard for later payments/recurring transactions) requires the following:

  • Additional activation of the setting "Obtain authorization for pre-approved payments and initiate pre-approved transactions."

  • authorization-only transaction needs the following settings:

    • address the …​paymentmethods endpoint

      1. the periodic type part must be either "recurring" or "installment"

      2. the sequence type must be "first".

    • amount = 0.00

  • In addition the merchant can reference authorization-only by either debit or authorization. A Follow-up authorization can be then be captured.

    • address the …/payments endpoint for the follow-up debit

    • always use non-zero amount for debit operation

    • the correct (parent-)transaction-id is visible as group-transaction-id in wep.wirecard.com/ for example or can be found out by querying Wirecard Payment Gateway using the RequestID from the initial transaction (see here).

credit

credit transaction moves funds from the merchant to the consumer without referencing previous payment. It’s a fast and convenient way to send commissions, rebates, rewards, and general payments.

PayPal takes the payment amounts from your account and attempts to put them into the recipients' PayPal account. If the recipients do not have PayPal accounts, PayPal notifies them that a payment is available and they must create a PayPal account to receive the payment. PayPal will temporarily hold the total monetary value of the mass payment, plus associated fees, until processing is completed. If a payment is sent to a recipient who does not have a PayPal account, and it remains unclaimed for 30 days from the payment date, the money is returned to your PayPal account.

Every recipient receives an email notifying them of the payment. Recipients with a PayPal click a link in the email message, log in to their account, and access their payments. If the recipients do not have a PayPal account, their email message contains a link that directs them to a PayPal sign-up page. The sign-up process automatically confirms their email address. When they complete the sign-up process, the money is available in their new PayPal account. Customers will then have the option to make online purchases with their money, withdraw it to a bank account, have a check mailed to them, or request for PayPal to send them a debit card to access their funds.

Merchant needs to specify one (or multiple) of three fields in the pending-credit request:

  • wallet.account-id (with customer’s PayPal account identifier)

  • account-holder.email

  • account-holder.phone

The provided information is used in this order to identify the recipient of the payment. As soon as request is submitted a pending-credit transaction is created in the database. Once Wirecard has received a notification from PayPal about the final status, a follow-up credit transaction is created, and this status will be communicated to the merchant via the Notification-URL that is configured in the merchant account. If no Notification-URL is configured in the merchant account the notification will be sent via email to the merchant in case the email address has been configured.

credit transaction is provided over so-called "Mass Payments" service, so merchant should contact PayPal Customer Support to enable Mass Payments for their PayPal premier or business accounts.

order

Creating a PayPal order indicates that the buyer has consented to the purchase but does not place the funds on hold. After merchant creates an order, they can place multiple authorizations upon it to place funds on hold until ready to capture.

Merchants often use this technique to accept orders for items that are not available for shipment when the order is placed. For example, when a merchant ships items from multiple distribution centers and needs separate authorizations for each shipment. Another example would be delayed shipping on items that are not in stock.

An order is valid for 29 days. Merchant can make up to 10 referencing authorizations for each order. order cannot be referenced by debit transaction and cannot be voided.

order request has the same fields as authorization or debit transactions. Similarly, the Forward-URL to the PayPal Express Checkout is delivered in the response, where the consumer needs to confirm the payment. In order to finalize the payment, a regular authorization transaction needs to be submitted, referencing the prior order transaction using the Parent-Transaction-ID field.

Test Credentials
Test Credentials

URL(s) Endpoints

The transaction types debit, authorization, authorization-only, preauthorization, pending-credit, credit or order use

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

The transaction types capture-authorization, refund-capture, void-authorization and refund-debit use

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

Merchant Account ID (MAID)

Show No Address

be17476f-1a0c-442e-8841-70e33996c0aa

See details

Show Address

8695f3e4-76e8-414b-96cd-a1e5dafcf20c

Edit Address

ecfec3fa-87a2-41bb-86e9-4e738b89c91a

Username

16390-testing

Password

3!3013=D3fD8X7

Secret Key

Show No Address

3d5b74ed-c716-486c-91a5-188b3ffd9862

See details

Show Address

227dd634-1226-42a8-a598-83e8988e45d9

Edit Address

ef3407c9-2c24-4a68-b290-1051f88c1af7

Additional Test Credentials on PayPal Environment
Additional Test Credentials

Email

paypal.buyer2@wirecard.com

Password

Wirecardbuyer

Workflow
The consumer has three hours to finish his payment, because the Redirect URL expires after three hours. A query for an unfinished transaction, that has exceeded this time span will return a Failed transaction.
debit

See debit samples for details.

debit Workflow
Figure 16. debit workflow with PayPal
  1. Consumer initiates payment.

  2. Merchant sends debit request to WPG.

  3. WPG sends a response to merchant containing the redirect URL to PayPal.

  4. Merchant takes URL from response.

  5. Merchant redirects consumer to this URL (URL can be found in parameter <payment-method url="URL" name="paypal"/>).

  6. Consumer confirms payment on PayPal site.

  7. WPG redirects consumer back to merchant’s system URL based on payment result (success_url, cancel_url, failed_url ← defined in MAID configuration or in first request).

  8. WPG sends IPN to merchant’s system after payment is verified (usually few seconds).

refund-debit or refund-capture

See refund-debit samples for details.

refund-debit Workflow
Figure 17. refund-debit workflow with PayPal
  1. Merchant sends refund request to WPG

    1. It depends on the corresponding transaction, whether merchant sends a refund-debit or refund-capture request.

    2. The request must contain the <transaction-id> of the transaction to be refunded. The <transaction-id> of this corresponding transaction must be placed in the <parent-transaction-id> field.

  2. The response sent back to merchant will contain result of transaction (success or failed).

  3. IPN is sent to merchant’s system with transaction result as well.

credit

See credit samples for details.

credit workflow
Figure 18. credit workflow with PayPal
  1. Merchant sends pending-credit request to WPG.

  2. WPG processes the transaction.

  3. WPG sends response containing the transaction result back to merchant.

  4. WPG sends an IPN to merchant with final transaction status.

authorization and capture-authorization
authorization and capture-authorization workflow
Figure 19. authorization and capture-authorization workflow with PayPal

The merchant does an authorization for a specific amount, the consumer needs to accept this authorization and then the merchant can submit a capture anytime to capture the requested amount.

  1. authorization

    1. Merchant sends authorization request to WPG.

    2. WPG responds with the redirect URL to PayPal.

    3. Merchant takes URL from response and redirects consumer to this URL (URL is in field <payment-method url="http://www.paypal.com/?token=EC-MOCK-9N3XB7G4P9PR%22 name="paypal"/>)

    4. Consumer authorizes payment on PayPal site

    5. WPG redirects consumer back to merchant’s system. The URL depends on payment result (success_url, cancel_url, failed_url, which is defined either in the MAID configuration or in the first request of this payment process).

  2. capture-authorization

    1. Merchant submits a capture request. The request contains the Transaction-ID from the preceding successful authorization transaction. The Transaction-ID is forwarded in field Parent-Transaction-ID.

    2. WPG sends the response with the final transaction status to the merchant (the endpoint is defined via Redirect URL).

    3. The merchant also receives an IPN.

order and authorization and capture
order
Figure 20. order, authorization and capture-authorization workflow with PayPal
  1. order

    1. Merchant sends an order request.

    2. WPG sends a response containing the Redirect URL.

    3. Merchant takes URL from this response and redirects consumer to this URL (URL is in field <payment-method url="http://www.paypal.com/?token=EC-MOCK-9N3XB7G4P9PR%22 name="paypal"/>)

    4. Consumer authorizes his order on PayPal's site.

    5. Merchant redirects consumer back to merchant’s system. The URL depends on payment result (success_url, cancel_url, failed_url ← defined in MAID configuration or in first request)

    6. WPG sends a notification to the merchant’s endpoint specified in request or in merchant account configuration. The notification contains the Transaction ID, which is needed for further process.

  2. authorization

    1. Merchant submits an authorization request. The request contains the Transaction-ID from the preceding successful order transaction. The Transaction-ID is forwarded in field Parent-Transaction-ID.

    2. WPG sends a response to the merchant. The response contains the Authorization’s Transaction-ID, to be used for further capture processes.

  3. capture-authorization

    1. Merchant submits an authorization-capture request (The Parent-Transaction-ID in this request must contain the Transaction-ID from the preceding authorization of this payment process).

    2. WPG sends an authorization-capture response to the merchant.

Fields

For the Payment Method Paypal, the following elements are mandatory (M), optional (O) or conditional (C) in a request (Req), in a response (Res) or a notification (IPN).

Field Req Res IPN Data Type Size Description

merchant-account-id

M

M

M

String

36

Unique identifier for a merchant account.

request-id

M

M

M

String

150

This is the identification number of the request. It has to be unique for each request.

transaction-type

M

M

M

String

30

This is the type for a transaction.

requested-amount

M

M

M

Decimal

9,2

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

parent-transaction-id

C

C

C

String

36

Transaction ID of the first transaction of a payment. For an individual payment, the parent-transaction-id is not necessary. If the process is recurring, the parent-transaction-id is mandatory in the recurring and final transaction.

ip-address

O

O

O

String

15

The global (internet) IP address of the consumer’s computer.

order-number

O

O

O

String

64

This is the order number of the merchant.

order-detail

O

O

O

String

65535

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

descriptor

O

O

O

String

27

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

transaction-id

M

M

String

36

The Transaction ID is the unique identifier for a transaction. It is generated by Wirecard.

transaction-type

M

M

M

String

30

This is the type for a transaction. For Paypal only debit is allowed in the initial request.

transaction-state

M

M

String

12

This is the status of a transaction

completion-time-stamp

M

M

dateTime

This is the timestamp of completion of request.

api-id

M

String

The API ID is always returned in the notification.

instrument-country

O

O

O

String

2

The instrument country contains the information where the consumer belongs to.

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.

cancel-redirect-url

O

O

O

String

256

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

success-redirect-url

O

O

O

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.

locale

O

O

O

String

2

Code of the language in which WPG renders the PayPal page.
Format must be language (e.g. en).

signature

M

complex

The signature info, consisting of SignedInfo, SignatureValue and KeyInfo. For details see IPN.

provider-transaction-reference-id

O

O

M

String

36

Billing agreement ID from PayPal returned in response (relevant for a recurring transaction).

risk-reference-id

O

O

O

String

32

Additional field, which enables PayPal to better detect fraud on consumer-triggered recurring payments.

first-name

O

O

O

String

27

This is the first name of the consumer. The maximum size of first-name and last-name in combination is 27 characters.

last-name

O

O

O

String

27

This is the last name of the consumer. The maximum size of first-name and last-name in combination is 27 characters.

email

C

C

C

String

64

This is the consumer’s email address. It is mandatory if the field wallet-account-id is not sent in the initial request.

gender

O

O

O

String

1

This is the consumer’s gender.

date-of-birth

O

O

O

Date

0

This is the consumer’s birth date.

phone

O

O

O

String

32

This is the phone number of the consumer.

street1

O

O

O

String

128

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

street2

O

O

O

String

128

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

city

O

O

O

String

32

This is the consumer’s city.

state

O

O

O

String

32

This is the consumer’s state.

country

O

O

O

String

3

This is the consumer’s country.

postal-code

O

O

O

String

16

This is the consumer’s postal code.

first-name

O

O

O

String

27

First name of the shipment’s recipient.

last-name

O

O

O

String

27

Last name of the shipment’s recipient.

phone

O

O

O

String

32

Phone number of the shipment’s recipient.

street1

O

O

O

String

128

First part of the shipment recipient’s street name.

street2

O

O

O

String

128

Second part of the shipment recipient’s street name.

city

O

O

O

String

32

Name of the shipment recipient’s city.

country

O

O

O

String

3

Name of the shipment recipient’s country. Please use the list of country codes supported by Paypal

state

C

C

C

String

32

Name of the shipment recipient’s state. It is a mandatory field, if shipping.address.country is one of the following:

  • AR (Argentina)(1)

  • BR (Brazil)(1)

  • CA (Canada)(1)

  • IN (India)

  • ID (Indonesia)

  • IT (Italy)(1)

  • JP (Japan)(1)

  • MX (Mexico)(1)

  • TH (Thailand)

  • US (USA)

Please use the list of state codes supported by Paypal: https://developer.paypal.com/docs/archive/nvp-soap-api/state-codes/

(1) = For these countries the fields shipping.address.postal-code and shipping.address.state are mandatory.

postal-code

C

C

C

String

16

Postal code of the shipment recipient’s city. It is a mandatory field if the shipment recipient’s country is marked with (1) in the field description for shipping.address.state.

code

M

M

String

12

This is the code of the status of a transaction. It can be any of those.

description

M

M

String

256

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

severity

M

M

String

20

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

notification@url

O

O

O

String

256

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

custom-field.paypal-address-status

O

O

O

String

256

This is the status of the PayPal address check. Note that this field must be explicitly enabled by Merchant Support.

custom-field.paypal-protection-eligibility

O

O

O

String

256

This is the status of the PayPal Seller Protection offered to merchants to protect them from chargebacks, reversals, etc. Note that this field must be explicitly enabled by Merchant Support.

payment-method-name

M

M

M

String

15

This is the name of the payment method that is chosen from the consumer.

account-id

C

C

C

String

50

The unique identifier of the Account Holder’s Wallet Account. It is mandatory if the field account-holder.email is not sent in the initial request.

periodic-type

M

M

M

String

9

Indicates how and why a payment occurs more than once. Only two possible values: recurring or installment

sequence-type

M

M

M

String

9

Indicates the sequence of the recurring transaction. Possible values: first, recurring or final

Configuration
PayPal Account Configuration
Granting 3rd Party Permission

In order to submit payments on the merchant’s behalf, merchant needs to grant 3rd party API permission to Wirecard on PayPal website.

  1. Navigate to Account settingsMy selling toolsAPI Access and select the link Grant API permission.

    Paypal 3rdparty APIaccess
  2. In the textfield Third Party Permission Username enter \payments_api1.wirecard.com and click Lookup.

    Paypal 3rdparty Newaccess
  3. Select from the list of Available Permissions the following items:

    • Use Express Checkout to process payments.

    • Issue a refund for a specific transaction.

    • Authorize and capture your PayPal transactions.

    • Obtain information about a single transaction.

    • Charge an existing customer based on a prior transaction.

    • Create and manage Recurring Payments.

    • Use Express Checkout to process mobile payments.

    • Click Add.

      Paypal 3rdparty NewaccessDetail
  4. Check that the permissions were added successfully.

    Paypal Manage3rdparty
  5. Finally, the merchant’s PayPal registration e-mail address must be communicated to Wirecard to submit payments.

  6. Click Add new Third Party to confirm your settings.

IPN Configuration for Wirecard

In order to maintain proper functionality of PayPal transactions, IPN (Instant Payment Notification) has to be enabled and pointed to the Wirecard server on Merchant’s account in PayPal.

Please follow these steps:

  1. Navigate to My Account > Profile

    PaypalProfile
  2. Switch to section My Selling tools, find Instant payment notification and click Update on right side in the corresponding row.

    PayPal Selling Tools
  3. Click Edit settings

    PayPal Edit Settings
  4. Set Notification URL https://api.wirecard.com/engine/notification/paypalipn to Wirecard server as shown on image below.

    PayPal Set Notification URL
Addresses

The Wirecard Payment Gateway offers three options to configure the consumer’s address:

  • Transmitted address is not shown in the wallet, that means, the address cannot be modified.

  • Transmitted address is shown in the wallet AND the consumer can change it directly in the wallet (changes will be forwarded to shop via notification).

  • Transmitted address is shown in the wallet AND the consumer cannot change it directly in the wallet. The consumer can change his address only in the merchant’s shop.

The configuration is set by Merchant Support.

Features
Basket Items

Basket item details may be sent along with debit and authorization requests. The detailed items of the shopping basket will be displayed in PayPal during the checkout, and later stored as a part of payment details in PayPal. They can also be obtained later from the Wirecard Payment Gateway as part of the transaction details.

Basket Items
Field Cardinality Req/Resp Dataype Size Description

order-items.order-item.name

O

Alphanumeric

Name of the item in the basket.

order-items.order-item.description

O

Alphanumeric

Longer item description.

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-amount

O

Number

Item’s tax per unit.

order-items.order-item.quantity

O

Number

Total count of items in the order.

Cross Merchant Account References

The default security setting for all types of reference transactions using the field payment/parent-transaction-id allows the references only to the transactions of the same merchant account. However it is possible to activate cross referencing for a merchant account. With this option activated a merchant account can reference a transaction of another merchant account. The only requirement is that the processing user used for the authentication of the payment request has rights on the merchant account of the referenced transaction.

This merchant configuration parameter affects all transaction types. Other kinds of reference transactions such as refund or void can use cross references as well. Once activated it is enabled for all payment methods configured for a merchant account even though not all payment providers/acquirers might support it.

PayPal supports cross references natively by configuring a special shared consumer account which can be used by several merchants. Therefore the billing agreement ID can also be shared among several merchants.

The cross references must be solely enabled for the corresponding merchant accounts of the processing user by Wirecard Support team.

The recurring transactions process in cross-reference mode remains the same.

Provider Transaction ID

This feature enables a merchant to search for transactions in the PayPal merchant dashboard directly.

The <provider-transaction-id> is returned in every response of an ExpressCheckout, Capture, Refund and Referenced Transaction and is also part of the respective notifications.

The <provider-transaction-id> can be found in <status> field and it is generated for every PayPal transaction.
<statuses>
<statuses>
    <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="NMTPYE7FQWYFRGQDJ"/>
</statuses>
Seller Protection & Recurring Payments

PayPal offers a Seller Protection policy for merchants to help guard from losing money to claims and chargebacks. For details of this policy see the official PayPal documentation. Terms and conditions for this feature depend on the operating country. Please refer to your country specific PayPal Website.

The feature Seller Protection & Recurring Payments is available by default in the Wirecard Payment Gateway.

The merchant needs to provide a shipping address only in the initial payment. For subsequent recurring payments Wirecard Payment Gateway automatically sends the shipping address from the initial payment to PayPal.

For recurring payments Wirecard Payment Gateway uses the shipping address which has been received from PayPal during the initial request.
Cancel handling

PayPal offers payment cancelation. After clicking on Cancel button, consumer is redirected to merchant’s cancel redirect URL and if merchant has cancelation enabled, a failed transaction will be created. The response will contain the status 500.1108 Transaction was cancelled/aborted. Please try again later.

PayPal Cancel Handling
Samples
General Samples
authorization
preauthorization Request (Successful)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>preauthorization</transaction-type>
    <requested-amount currency="EUR">6.66</requested-amount>
    <account-holder>
        <first-name>Wirecardbuyer</first-name>
        <last-name>Spintzyk</last-name>
        <email>paypal.buyer2@wirecard.com</email>
   </account-holder>
    <shipping>
        <first-name>Jack</first-name>
        <last-name>Jones</last-name>
        <phone>+49123123123</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </shipping>
    <order-number>180403092713285</order-number>
    <descriptor>customerStatement 18009998888</descriptor>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <locale>en</locale>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
preauthorization 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>1e35fd5e-e820-43f1-b7d4-813f6ec5d913</transaction-id>
 <request-id>9d4d7ffa-05ed-4fb7-bbc3-e54c119cd3e3</request-id>
 <transaction-type>preauthorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:37:39.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">6.66</requested-amount>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411103738025</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-64D234765W077901M" name="paypal" />
 </payment-methods>
 <locale>en</locale>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
preauthorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>b5e0e78f-d9ef-417a-8d1e-ee0913c4c905</transaction-id>
 <request-id>9d4d7ffa-05ed-4fb7-bbc3-e54c119cd3e3</request-id>
 <transaction-type>preauthorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:39:38.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information"/>
 </statuses>
 <requested-amount currency="EUR">6.660000</requested-amount>
 <parent-transaction-id>1e35fd5e-e820-43f1-b7d4-813f6ec5d913</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411103738025</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>3yuZnp63BGKrAUAeLbfDX+1nca234qo9t7xIx0OFw/M=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>YfrMGpnwcNqHmndRXsQ+ZYUlzW4wliV7bM9QTwXloX1dVEYbEo7oPFZxuKbBKaQKweBKgDSjuXcl3isCvJCqzMUtMdPP+622iPagQ/7kzwVxcLiWo6HKvawVRgRnInEPphLDOzz6dDZAnt1IznSa3usQ30kljMuusHNryLQ9+YaG/GI34Bo/h+gOE+PJ12k2RUFdnEptHcuKkVtYkB07IxAv1eoK8imBjGQRuo7Cn8A00faQYvx2VPFeF1kD1Jval4DLkQQZSpbWtenq1PxioQ96DNIOJDu3TaQ6ko86ad0dxMEnq42rsL5i8zISNlbrNbbhufLIiG5ObVKPc2UKuWf/Rj5j2ZyeXaVBLLeJQ98vW0LKYQ/5aqk883LOSNuNgWDLq62Ap/6m2I1HboSRLqFyGXAdNcaeMX8LlYnFnZR5cqkmLaLCo+rqjtO5hU48L++N5Qerl3xnk856rNmvqWvQ/nu+mtwkafZMQO66+RwJD4lcF/mO8tm6KVOhlUX6UFe5mvs/JsPCoQRWfPPknEWNf20czDYj+bjPW2joTsuu6g9KPWI6+O4V9qW+HVrabKW7iPf/Jh8lbZwo3upJbTTZiZPmu2IAQPDVBVHAmBuNIlnn6wyy+7JesqkcpfHzC72CPC7yvsTGgc5xAxDnDxG4hFHEVPXI/uowygV57hE=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBA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ZXJ2aWNlLWlzc3VpbmdDQV8wMixDTj1DRFAsQ049UHVibGljIEtleSBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLGRjPXdpcmVjYXJkLGRjPWxhbj9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Q1JMRGlzdHJpYnV0aW9uUG9pbnSGUGh0dHA6Ly9jcmwud2lyZWNhcmQubGFuL0NSTF93aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIuY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQAmlUoiEFPRsOjGPb7SYiuJLxqTXCvZQeuXiUydF6FQl/zIpR/zSltaZKK86L+1i7t1C89OyTTXBD9FN6EKmlHo/ulsMn9V2B4zK3lT/NUclST98BmCla4Jzm+roeOHTqlPz3gPRJiPsr3wdvM+FSAJ2MRdv3l77mTE3v3hjsVVMmShR3VwwpxCICl3mpMsSaJZLyJdOHwvnpXs1m9kESwPD3DQ3RAQ/OGa0pPxAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
preauthorization Request (Failure)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>preauthorization</transaction-type>
    <requested-amount currency="EUR">6.66</requested-amount>
    <account-holder>
        <first-name>Wirecardbuyer</first-name>
        <last-name>Spintzyk</last-name>
        <email>paypal.buyer2@wirecard.com</email>
    </account-holder>
    <shipping>
        <first-name>Jack</first-name>
        <last-name>Jones</last-name>
        <phone>+49123123123</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </shipping>
    <order-number>180403092713285</order-number>
    <descriptor>customerStatement 18009998888</descriptor>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
     <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
preauthorization Response (Failure)
<?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">
  <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
  <transaction-id>4d63630e-dcf4-44f7-961a-21c08b526f32</transaction-id>
  <request-id>14b3aa98-ea4b-45d8-916c-1cba5ede8bbf</request-id>
  <transaction-type>preauthorization</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2018-04-12T09:16:06.000Z</completion-time-stamp>
  <statuses>
    <status code="500.1086" description="The acquirer is missing a mandatory field.  Resend with all fields correctly entered.  Please check your input or use different card." severity="error" />
  </statuses>
  <requested-amount currency="EUR">6.66</requested-amount>
  <account-holder>
   <first-name>Wirecardbuyer</first-name>
   <last-name>Spintzyk</last-name>
   <email>paypal.buyer2@wirecard.com</email>
  </account-holder>
  <shipping>
    <first-name>Jack</first-name>
    <last-name>Jones</last-name>
    <phone>+49123123123</phone>
    <address>
      <street1>123 anystreet</street1>
      <city>Brantford</city>
      <country>CA</country>
      <postal-code>M4P1E8</postal-code>
    </address>
  </shipping>
  <order-number>180412111604744</order-number>
  <descriptor>customerStatement 18009998888</descriptor>
  <payment-methods>
    <payment-method name="paypal" />
  </payment-methods>
  <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
authorization Request (Successful)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>authorization</transaction-type>
    <requested-amount currency="EUR">1.53</requested-amount>
    <account-holder>
        <first-name>Wirecardbuyer</first-name>
        <last-name>Spintzyk</last-name>
        <email>paypal.buyer2@wirecard.com</email>
    </account-holder>
    <shipping>
        <first-name>Jack</first-name>
        <last-name>Jones</last-name>
        <phone>+49123123123</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </shipping>
    <order-number>48090</order-number>
    <descriptor>customerStatement 18009998888</descriptor>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <locale>en</locale>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
The URL for redirecting consumer is provided, so they can complete authorization transaction using PayPal Express Checkout.
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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>e6f84861-6523-4b46-a770-63f3ee51e3b2</transaction-id>
 <request-id>35d4f120-3a60-4eb8-b014-fae0ddf5189d</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:01:27.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">1.53</requested-amount>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-7RV03184BR3855228" name="paypal" />
 </payment-methods>
 <locale>en</locale>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
authorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>1a8dcffd-ed36-487d-b61f-e2bde485a7ca</transaction-id>
 <request-id>35d4f120-3a60-4eb8-b014-fae0ddf5189d</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:02:39.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="9R261956479906906" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">1.530000</requested-amount>
 <parent-transaction-id>e6f84861-6523-4b46-a770-63f3ee51e3b2</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>xmyY+Ov063aEA0EfjGQ6/aGrO5uluiMh41rCrc5XNZU=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>ALnfzX6cu7ET6q2GZe9uTLRoerh1BFGD+x3gqkEDi1fFBcl+KeR88uRrXhYlL492X34wFCXs2dfcHDorJVKPuUFko1tzl+GX7fcsowYgbyGwRjChfdhn08kdvEwdZMNhGifsS360gNXT4xAAcI34iehlp/uxqedt+hoGzp1B5JPwRbHxsH+bkNdP87bAa3VBTbXFms6oRxzxr2IHQTJ1nJCppQksvnHBTLfv5rfvUjyg29TQJvF1TwW1wXRHiU44nSXM5lwMd5xkUsikAAokjxpN/IySiy0ylZ0o7nZavKkyCArQJUvU5BbXh0yC1jcmMwqjj/S75YXMRcYYdt82T9tqdBWul9QGBeRTBOyv+EhbD5g5mM02z5LN5yCjj+YfHn3+IgArnFIlrjYTtrRQZ6c+kknnb1FbSrN69rU3cfcAdxZH1GCm5Z+xQ5MVt3szPYrkk1aGji5CgREWu8iVZzwOX4+2D2Jir9kvt+diLfeRJWL4JbXeT5+pqQwbmPzxyBOf5NYzFO4Av712Gj0FfI3yBhqlmjgmStXYnH7wUD7vVC/rfVWNNWoBGNRSeLDuyr9Ec5XAdvos6KF+e3L4I+8o2VG7pXw3iSpqUWWKJYHdtISOoVPkx0HBkaTwD6HKSIWq4L+9PFwWOxmqn0aJnOniR1i1krPRSJjgc6lsb4U=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w6OYWBMKpssGngHFaZv35rCo5XVUpJmjZa04ytxE72GKO/uP4yIR7ZBXZx42B22MFaJJZTgPRCCFd6jrz906BZ//CmEAmk5gKelfPxfWJgGyTX6xz7I9R/G57E1xNOuEihN0ma5Q2IhD71MPVseFIGazyfGbJD6rYYbeBbOQSGk//TL8sdRCn0BLcm4DH5oqcPxDKzkaBP4ohNkCWsxpLLSyV6Wx0ihT0S1OLVNkEeTvcrYgUk124VyGatwWNUuCBYyOGQSOGqrW8IHmrhjzzT0NQog0/m38lpdqw/eWmt39qhODqSfILUk2Dxv1+W0IRKJCKcJrcTbXEQCuHl+XWY+U2Ah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xAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
In case of failure there is no notification sent back to merchant.
authorization Request (Failure)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>authorization</transaction-type>
    <requested-amount currency="EUR">0.00</requested-amount>
    <account-holder>
        <first-name>Wirecardbuyer</first-name>
        <last-name>Spintzyk</last-name>
        <email>paypal.buyer2@wirecard.com</email>
    </account-holder>
    <shipping>
        <first-name>Jack</first-name>
        <last-name>Jones</last-name>
        <phone>+49123123123</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </shipping>
    <order-number>48090</order-number>
    <descriptor>customerStatement 18009998888</descriptor>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
authorization Response (Failure)
<?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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>7f26b332-eb32-48fc-8580-6ad162713804</transaction-id>
 <request-id>f997b1dc-c996-431a-a403-bbeab26f873c</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>failed</transaction-state>
 <completion-time-stamp>2018-04-12T09:18:03.000Z</completion-time-stamp>
 <statuses>
  <status code="400.1013" description="The Requested Amount is below the minimum required for this Merchant Account.  Please check your input and try again." severity="error" />
 </statuses>
 <requested-amount currency="EUR">0.00</requested-amount>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180412111803918</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
First Recurring authorization Request (Successful)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
  <request-id>6ffb8f52-11f2-4e08-aa80-8aa9dc37916b</request-id>
  <transaction-type>authorization</transaction-type>
  <api-id>elastic-payment-page</api-id>
  <payment-methods>
    <payment-method name="paypal" />
  </payment-methods>
  <requested-amount currency="EUR">1.23</requested-amount>
  <order-description>test order</order-description>
  <descriptor>customerStatement 18009998888</descriptor>
  <account-holder>
   <first-name>Wirecardbuyer</first-name>
   <last-name>Spintzyk</last-name>
   <email>paypal.buyer2@wirecard.com</email>
  </account-holder>
  <order-number>180508094608313</order-number>
  <shipping>
    <first-name>SandboxTest</first-name>
    <last-name>Account</last-name>
    <phone>+49123123123</phone>
    <address>
      <street1>ESpachstr. 1</street1>
      <city>Freiburg</city>
      <country>DE</country>
      <postal-code>79111</postal-code>
    </address>
  </shipping>
  <periodic>
    <periodic-type>recurring</periodic-type>
    <sequence-type>first</sequence-type>
  </periodic>
  <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
  <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>
</payment>
First Recurring 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">
  <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
  <transaction-id>4881e975-da9a-49d9-adc4-83dcdfe58eb7</transaction-id>
  <request-id>6ffb8f52-11f2-4e08-aa80-8aa9dc37916b</request-id>
  <transaction-type>authorization</transaction-type>
  <transaction-state>success</transaction-state>
  <completion-time-stamp>2018-05-08T07:46:10.000Z</completion-time-stamp>
  <statuses>
    <status code="201.0000" description="The resource was successfully created." severity="information" />
  </statuses>
  <requested-amount currency="EUR">1.23</requested-amount>
  <account-holder>
   <first-name>Wirecardbuyer</first-name>
   <last-name>Spintzyk</last-name>
   <email>paypal.buyer2@wirecard.com</email>
  </account-holder>
  <shipping>
    <first-name>SandboxTest</first-name>
    <last-name>Account</last-name>
    <phone>+49123123123</phone>
    <address>
      <street1>ESpachstr. 1</street1>
      <city>Freiburg</city>
      <country>DE</country>
      <postal-code>79111</postal-code>
    </address>
  </shipping>
  <order-number>180508094608313</order-number>
  <descriptor>customerStatement 18009998888</descriptor>
  <payment-methods>
    <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-1H6400515N708825E" name="paypal" />
  </payment-methods>
  <api-id>elastic-payment-page</api-id>
  <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
  <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>
  <periodic>
    <periodic-type>recurring</periodic-type>
    <sequence-type>first</sequence-type>
  </periodic>
</payment>
First Recurring authorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>5b6353ba-d80b-4009-813d-1e0678c31f96</transaction-id>
 <request-id>6ffb8f52-11f2-4e08-aa80-8aa9dc37916b</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-05-08T07:47:11.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="9J762811UB579915V" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">1.230000</requested-amount>
 <parent-transaction-id>4881e975-da9a-49d9-adc4-83dcdfe58eb7</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <phone>+49 7889500667</phone>
  <address>
   <street1>ESpachstr. 1</street1>
   <city>Freiburg</city>
   <country>DE</country>
   <postal-code>79111</postal-code>
  </address>
 </shipping>
 <order-number>180508094608313</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>elastic-payment-page</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <periodic>
  <periodic-type>recurring</periodic-type>
  <sequence-type>first</sequence-type>
 </periodic>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <provider-transaction-reference-id>B-1FM59457C1127222B</provider-transaction-reference-id>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>Cm7V9I3aGMFHpONVeQkLifXrauyZY3AdP10eoVwALOA=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>FtGgA5oCnz0poTpoBvrDd83JBzp5PN7zUhzu5djPFVvk1Lmu2Tsciu6bV441yjl8Ytv1XkFKND9Pw8fZPho9aFaTkQXsg1vwhYJPfRrI2RIFK7qNYUZOkIdgPJolj4qfUhAXfkwFg8D1e1Tk58mpEb6uo6iPlfai9aHBcbnOEU2p4McvT2QsH+bzL4SJJ4gRMtYBJZr2SRZKznry6YeCt5SOQKMmOnVWw3tOdVAxJC4HFtaUV0cjPuuYC1HBgwfxpKiJ7tvo0W2zATh+hySUxGRvZqnwTSR5Lik5FfJF1rw8wyPG/r54sqfh4RJiaLC1aNvIR1sCZw63qTIeiBed2nPdvds/hwfP2N8S9NzYLAK5Kr29HO6dnDU2ISLm9Nx7tSMnrnM3rj/fZTZ+tzdBkJcn+2qg7OjZtrd5+L7YG9MI+aF5JZQGBP+Pex/t3BGBlS0VPwt04ZcS3g+mpoLK1YUGnZQ9mbh8KzqFjzYDg2lx4jHCVxvxUpF1iCAtupXpwhFr/7mB+lGruNKcNvEsuZOLg1Z+L/xN52TIdXKd8Vv8PF/I3LeEslPT9g1AOwtTohTEZI41FgQZxiq4LwYMSA5TW+KqhnuGqYCj6lNWQ3RgXLtGPvFSNiGZrl3MPZAE3NlivDKNa81bsfn4sgJRJEh15fEl5vbj20MWei7jpV4=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w6OYWBMKpssGngHFaZv35rCo5XVUpJmjZa04ytxE72GKO/uP4yIR7ZBXZx42B22MFaJJZTgPRCCFd6jrz906BZ//CmEAmk5gKelfPxfWJgGyTX6xz7I9R/G57E1xNOuEihN0ma5Q2IhD71MPVseFIGazyfGbJD6rYYbeBbOQSGk//TL8sdRCn0BLcm4DH5oqcPxDKzkaBP4ohNkCWsxpLLSyV6Wx0ihT0S1OLVNkEeTvcrYgUk124VyGatwWNUuCBYyOGQSOGqrW8IHmrhjzzT0NQog0/m38lpdqw/eWmt39qhODqSfILUk2Dxv1+W0IRKJCKcJrcTbXEQCuHl+XWY+U2AhinIPNRA0KX2oOgC//inwyKWSGWHdQnaake646R1wHqtoEfCtEcfyaeR+IrMr1rCAA3RZ+MH1J5UlUCWcnxPT0kad6dUwe3Qjq3jK4gaFzYU2yVScX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J+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
Recurring authorization Request (Failure)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
  <request-id>3bac15d7-2fc2-42d8-9927-c7075a6dba64</request-id>
  <transaction-type>authorization</transaction-type>
  <api-id>elastic-payment-page</api-id>
  <payment-methods>
    <payment-method name="paypal" />
  </payment-methods>
  <requested-amount currency="EUR">1.23</requested-amount>
  <order-description>test order</order-description>
  <descriptor>customerStatement 18009998888</descriptor>
  <account-holder>
   <first-name>Wirecardbuyer</first-name>
   <last-name>Spintzyk</last-name>
   <email>paypal.buyer2@wirecard.com</email>
  </account-holder>
  <order-number>180508101124018</order-number>
  <shipping>
    <first-name>SandboxTest</first-name>
    <last-name>Account</last-name>
    <phone>+49123123123</phone>
    <address>
      <street1>ESpachstr. 1</street1>
      <city>Freiburg</city>
      <country>DE</country>
      <postal-code>79111</postal-code>
    </address>
  </shipping>
  <periodic>
    <periodic-type>recurring</periodic-type>
    <sequence-type>recurring</sequence-type>
  </periodic>
  <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
  <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>
</payment>
Recurring authorization Response (Failure)
<?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/be17476f-1a0c-442e-8841-70e33996c0aa/payments/2a421fa1-8233-4e56-9f99-19c434c2f86e">
  <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
  <transaction-id>2a421fa1-8233-4e56-9f99-19c434c2f86e</transaction-id>
  <request-id>3bac15d7-2fc2-42d8-9927-c7075a6dba64</request-id>
  <transaction-type>authorization</transaction-type>
  <transaction-state>failed</transaction-state>
  <completion-time-stamp>2018-05-08T08:11:26.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>
  <requested-amount currency="EUR">1.23</requested-amount>
  <account-holder>
   <first-name>Wirecardbuyer</first-name>
   <last-name>Spintzyk</last-name>
   <email>paypal.buyer2@wirecard.com</email>
  </account-holder>
  <shipping>
    <first-name>SandboxTest</first-name>
    <last-name>Account</last-name>
    <phone>+49123123123</phone>
    <address>
      <street1>ESpachstr. 1</street1>
      <city>Freiburg</city>
      <country>DE</country>
      <postal-code>79111</postal-code>
    </address>
  </shipping>
  <order-number>180508101124018</order-number>
  <descriptor>customerStatement 18009998888</descriptor>
  <custom-fields>
    <custom-field field-name="elastic-api.card_id" />
  </custom-fields>
  <payment-methods>
    <payment-method name="paypal" />
  </payment-methods>
  <api-id>elastic-api</api-id>
  <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
  <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>
  <periodic>
    <periodic-type>recurring</periodic-type>
    <sequence-type>recurring</sequence-type>
  </periodic>
</payment>
Recurring authorization Notification (Failure)
<?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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>2a421fa1-8233-4e56-9f99-19c434c2f86e</transaction-id>
 <request-id>3bac15d7-2fc2-42d8-9927-c7075a6dba64</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>failed</transaction-state>
 <completion-time-stamp>2018-05-08T08:11:26.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>
 <requested-amount currency="EUR">1.23</requested-amount>
 <account-holder>
  <first-name>SandboxTest</first-name>
  <last-name>Account</last-name>
 </account-holder>
 <shipping>
  <first-name>SandboxTest</first-name>
  <last-name>Account</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>ESpachstr. 1</street1>
   <city>Freiburg</city>
   <country>DE</country>
   <postal-code>79111</postal-code>
  </address>
 </shipping>
 <order-number>180508101124018</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields>
  <custom-field field-name="elastic-api.card_id"/>
 </custom-fields>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <periodic>
  <periodic-type>recurring</periodic-type>
  <sequence-type>recurring</sequence-type>
 </periodic>
</payment>
authorization-only Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
   <transaction-type>authorization-only</transaction-type>
   <payment-methods>
      <payment-method name="paypal" />
   </payment-methods>
   <requested-amount currency="EUR">0</requested-amount>
   <order-description>test order</order-description>
   <descriptor>customerStatement 18009998822</descriptor>
   <account-holder>
        <first-name>Wirecardbuyer</first-name>
        <last-name>Spintzyk</last-name>
        <email>paypal.buyer2@wirecard.com</email>
   </account-holder>
   <order-number>180403130946541</order-number>
   <shipping>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <phone>+49123123123</phone>
      <address>
        <street1>123 Lake Streed</street1>
        <city>Brantford</city>
        <country>CA</country>
        <postal-code>M4P1E8</postal-code>
      </address>
   </shipping>
   <periodic>
               <periodic-type>recurring</periodic-type>
               <sequence-type>first</sequence-type>
   </periodic>
  <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
  <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
authorization-only 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>19b8ccad-b564-4384-8086-c4b951ae6abb</transaction-id>
 <request-id>29171b8a-3db7-41dc-8196-3565f38911d2</request-id>
 <transaction-type>authorization-only</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T10:07:14.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">0</requested-amount>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>John</first-name>
  <last-name>Doe</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 Lake Streed</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411120710809</order-number>
 <descriptor>customerStatement 18009998822</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-0U479917B3642864S" name="paypal" />
 </payment-methods>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <periodic>
  <periodic-type>recurring</periodic-type>
  <sequence-type>first</sequence-type>
 </periodic>
</payment>
authorization-only Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>fa21cc0d-a05c-4097-9733-3b94318f4386</transaction-id>
 <request-id>29171b8a-3db7-41dc-8196-3565f38911d2</request-id>
 <transaction-type>authorization-only</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T10:09:36.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information"/>
 </statuses>
 <requested-amount currency="EUR">0.000000</requested-amount>
 <parent-transaction-id>19b8ccad-b564-4384-8086-c4b951ae6abb</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>John</first-name>
  <last-name>Doe</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 Lake Streed</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411120710809</order-number>
 <descriptor>customerStatement 18009998822</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <periodic>
  <periodic-type>recurring</periodic-type>
  <sequence-type>first</sequence-type>
 </periodic>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <provider-transaction-reference-id>B-7CE0209221399502E</provider-transaction-reference-id>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>5aDZ5VK+pPorz6go4aHe2Ei6jSpzIUPih2aUkcDJsnU=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>amlM1+g+vEAyHIHOFB7zfKFMAspOUBjFXSm7FewldLf8QGbSIT9h6qE2P41r1h6xsNAcvXLPpVhvR9HniFFRHXMMm5h1KYV2Ua56nrnzjn9XhZrkbUwk/dOX0hAYZVPQlz2CmaNlK/lvDo2emc/JaEL+amYd8WAixvBvDEp+aCZ3bFaE4vV8bWS1DSd7rY9vt+xmn/RhoP/HT8AEIGlynPY/5g5FEDtyGGpkJjiLLiuRUk0+2NDeE4BUidENSPGrYIbkCKK/p4ivGWAjs11BTkdVtHXhPYjgVgkM/Vei6CuKenzPUkT+W2G5oStk7CHYKQsuMw3GEtkOHaR3ezJxUkmXyJstrPMetewVTIj0q+66SXBGo7Wj8GCTC/NKLAMq5Pwnlr+aS5ziJ8N+jAAsvZftyN9tRU1ZH2e3OdKwRNluB8S7WIFVr30PTRhEBYtH8h+tOcCIWPUk4wKv9hqfEC3+VaefcSWO83kg/AXs/y9agL9HXkDmNnzjo85LTg1hpdzmr1z+1KTfN1R3K6BKn5ZligKsu27JGfu+VmLPbTRBGwZcCIsCFWFoLHSior4vJYMd2g+c3SZANgOa6GUIxQCT6CDgy8C+neWaZd8ZB2ExAxby/R58VjeHjhuasnG1ixvrgf4FRVPNCaFPZ8SVpzTJag3fIPQKgCBjNns7X9g=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w6OYWBMKpssGngHFaZv35rCo5XVUpJmjZa04ytxE72GKO/uP4yIR7ZBXZx42B22MFaJJZTgPRCCFd6jrz906BZ//CmEAmk5gKelfPxfWJgGyTX6xz7I9R/G57E1xNOuEihN0ma5Q2IhD71MPVseFIGazyfGbJD6rYYbeBbOQSGk//TL8sdRCn0BLcm4DH5oqcPxDKzkaBP4ohNkCWsxpLLSyV6Wx0ihT0S1OLVNkEeTvcrYgUk124VyGatwWNUuCBYyOGQSOGqrW8IHmrhjzzT0NQog0/m38lpdqw/eWmt39qhODqSfILUk2Dxv1+W0IRKJCKcJrcTbXEQCuHl+XWY+U2AhinIPNRA0KX2oOgC//inwyKWSGWHdQnaake646R1wHqtoEfCtEcfyaeR+IrMr1rCAA3RZ+MH1J5UlUCWcnxPT0kad6dUwe3Qjq3jK4gaFzYU2yVScX5LVZMlWy2NiGCIvngHQmhArESzxMVvz5METZujfax6hfmiLN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</payment>
authorization (Referencing an Order) Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>authorization</transaction-type>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <requested-amount currency="EUR">1.15</requested-amount>
    <parent-transaction-id>f605cbe3-5e05-4de7-b854-ce37445d00e6</parent-transaction-id>
</payment>
authorization (Referencing an Order) Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>4e3b9261-4a82-47df-8795-ae5353dd9ee3</transaction-id>
 <request-id>8f2906ea-21ba-4afb-be75-54dd4439403a</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:29:27.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" provider-transaction-id="2EV690760Y9874511"/>
 </statuses>
 <requested-amount currency="EUR">1.15</requested-amount>
 <parent-transaction-id>f605cbe3-5e05-4de7-b854-ce37445d00e6</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
A subsequent referenced capture payment references the first payment via the <parent-transaction-id>.
capture-authorization (Subsequent Payment) Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>capture-authorization</transaction-type>
    <api-id>elastic-payment-page</api-id>
    <requested-amount currency="EUR">1.53</requested-amount>
    <parent-transaction-id>4d1a2e87-b395-4f62-a70d-aa528e114132</parent-transaction-id>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <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>
</payment>
capture-authorization (Subsequent Payment) Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment self="https://api-test.wirecard.com:443/engine/rest/merchants/be17476f-1a0c-442e-8841-70e33996c0aa/payments/aaebd767-6906-4cfd-aeda-60e5798f0a97" xmlns="http://www.elastic-payments.com/schema/payment">
 <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</transaction-id>
 <request-id>0c6735dc-7a56-4c92-baf8-f50314723955</request-id>
 <transaction-type>capture-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:13:47.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="4DE25928KH220994J"/>
 </statuses>
 <requested-amount currency="EUR">1.53</requested-amount>
 <parent-transaction-id>1a8dcffd-ed36-487d-b61f-e2bde485a7ca</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.530000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
capture-authorization (Subsequent Payment) Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</transaction-id>
 <request-id>0c6735dc-7a56-4c92-baf8-f50314723955</request-id>
 <transaction-type>capture-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:13:47.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="4DE25928KH220994J"/>
 </statuses>
 <requested-amount currency="EUR">1.53</requested-amount>
 <parent-transaction-id>1a8dcffd-ed36-487d-b61f-e2bde485a7ca</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.530000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
void-authorization Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
     <request-id>${unique for each request}</request-id>
 <transaction-type>void-authorization</transaction-type>
 <requested-amount currency="EUR">2.31</requested-amount>
 <parent-transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</parent-transaction-id>
 <ip-address>127.0.0.1</ip-address>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
</payment>
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/be17476f-1a0c-442e-8841-70e33996c0aa/payments/10bd2521-1fa2-4f83-820f-48ac542f2c22">
 <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>10bd2521-1fa2-4f83-820f-48ac542f2c22</transaction-id>
 <request-id>1dea9ef2-02d2-4b20-b626-ab15c47f7c39</request-id>
 <transaction-type>void-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:20:20.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">2.31</requested-amount>
 <parent-transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <ip-address>127.0.0.1</ip-address>
 <order-number>180411111612959</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
 <parent-transaction-amount currency="EUR">2.310000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
void-authorization Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>10bd2521-1fa2-4f83-820f-48ac542f2c22</transaction-id>
 <request-id>1dea9ef2-02d2-4b20-b626-ab15c47f7c39</request-id>
 <transaction-type>void-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:20:20.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information"/>
 </statuses>
 <requested-amount currency="EUR">2.31</requested-amount>
 <parent-transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <ip-address>127.0.0.1</ip-address>
 <order-number>180411111612959</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">2.310000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
JSON authorization Request (Successful)
{
  "payment" : {
    "merchant-account-id" : {
      "value" : "9abf05c1-c266-46ae-8eac-7f87ca97af28"
    },
    "request-id" : "${unique for each request}",
    "transaction-type" : "authorization",
    "requested-amount" : {
      "value" : 6.66,
      "currency" : "EUR"
    },
    "account-holder" : {
      "first-name" : "John",
      "last-name" : "Constantine"
    },
    "shipping" : {
      "first-name" : "Jack",
      "last-name" : "Jones",
      "phone" : "+49123123123",
      "address" : {
        "street1" : "123 anystreet",
        "city" : "Brantford",
        "country" : "CA",
        "postal-code" : "M4P1E8"
      }
    },
    "order-number" : "48090",
    "descriptor" : "customerStatement 18009998888",
    "payment-methods" : {
      "payment-method" : [ {
        "name" : "paypal"
      } ]
    },
    "cancel-redirect-url" : "https://demoshop-test.wirecard.com/demoshop/#/cancel",
    "success-redirect-url" : "https://demoshop-test.wirecard.com/demoshop/#/success"
  }
}
JSON authorization Request (Successful)
{
  "payment" : {
    "merchant-account-id" : {
      "value" : "9abf05c1-c266-46ae-8eac-7f87ca97af28"
    },
    "transaction-id" : "5e13c4a0-6122-11e5-8db5-005056a96a54",
    "request-id" : "22-09-2015 140633",
    "transaction-type" : "authorization",
    "transaction-state" : "success",
    "completion-time-stamp" : 1442923595000,
    "statuses" : {
      "status" : [ {
        "value" : "",
        "code" : "201.0000",
        "description" : "The resource was successfully created.",
        "severity" : "information"
      } ]
    },
    "requested-amount" : {
      "value" : 6.66,
      "currency" : "EUR"
    },
    "account-holder" : {
      "first-name" : "John",
      "last-name" : "Constantine"
    },
    "shipping" : {
      "first-name" : "Jack",
      "last-name" : "Jones",
      "phone" : "+49123123123",
      "address" : {
        "street1" : "123 anystreet",
        "city" : "Brantford",
        "country" : "CA",
        "postal-code" : "M4P1E8"
      }
    },
    "order-number" : "48090",
    "descriptor" : "customerStatement 18009998888",
    "payment-methods" : {
      "payment-method" : [ {
        "url" : "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&useraction=commit&token=EC-028797679A758525U",
        "name" : "paypal"
      } ]
    },
    "cancel-redirect-url" : "https://demoshop-test.wirecard.com/demoshop/#/cancel",
    "success-redirect-url" : "https://demoshop-test.wirecard.com/demoshop/#/success"
  }
}
credit
pending-credit Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
   <transaction-type>pending-credit</transaction-type>
   <payment-methods>
      <payment-method name="paypal" />
   </payment-methods>
   <requested-amount currency="EUR">11.00</requested-amount>
   <processing-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</processing-redirect-url>
   <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
   <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>
   <account-holder>
      <email>paypal.buyer2@wirecard.com</email>
   </account-holder>
</payment>
pending-credit 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>41983600-3342-42b5-8646-89d20432f09d</transaction-id>
 <request-id>0641b672-f0f3-4ce1-bc51-32b94d687765</request-id>
 <transaction-type>pending-credit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:45:37.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">11.00</requested-amount>
 <account-holder>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
 <processing-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</processing-redirect-url>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
</payment>
pending-credit Response (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>14be390e-c387-4ef4-821f-21cd8f6fbf97</transaction-id>
 <request-id>0641b672-f0f3-4ce1-bc51-32b94d687765</request-id>
 <transaction-type>credit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:45:55.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="34V102252N303912S" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">11.00</requested-amount>
 <parent-transaction-id>41983600-3342-42b5-8646-89d20432f09d</parent-transaction-id>
 <account-holder>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <processing-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</processing-redirect-url>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>DPKtWl74L5HSfCyGYxtwVmISvZ4gtkMfrD36+P72TeI=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>d4N1IvgfAPUcEdhk/obD6QTFe1p3+UkTSBoSVWjpd9y1Kukkij+7BQeRp/K/evjnPn1GQEj2gEA5nP0PbLarW1ATcfMtgKQoPtiWqO0bS0i7YEhJ1bAgFxOHwEyEMKU3UevixiQ01KA36hl0YpygcuWqznA/1tF+w/4Qlalv7sUfx/GhyxJsKBRwMKQ7wQFwWTYYUMyh+5pJiBMWD/8szgfllIaXW1u6LEBAKjog9KQUApDp0kShikA0XWaOsJZT+UiewIQr7qYlW98VoNK9xhOacH8rah9XcTcqJ1O80Q0VSp3AWz+ICr4x0hKFK4MkRgxRoEbxZhL7eAgUbP3DyswN9nKwMylB7aFnojMuXzce6u3P2JgSzye/lXMVr5cfBNgZSkZUoFWyWMlQJpHWKtDtUz2I0GkSplDzq///gOlj9hxuk5fKnSmG/ZBBVYR1Rx7/euXOy0DrgcL8ZlmvbOZ9cM0b7OsU1wAEGKysTVuE07pslBR6ZQ2bHG86SZFoUHi5kAKAp0w8shZF7GegZs+t7p3JljJ2JyfRJUhCsg0RUBwZNSPDGo0WZ7STwncX4fGbiM/QSzgEub3a2jn+tQLBf9ER6Q7VCT+t4nMgh+MJzZSdG0j/k/nGpuzzP745zY8Uy/cs1OS41UokHfeHezpqzigpRnYbCUl/KthDjQE=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w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mQubGFuL0NSTF93aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIuY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQAmlUoiEFPRsOjGPb7SYiuJLxqTXCvZQeuXiUydF6FQl/zIpR/zSltaZKK86L+1i7t1C89OyTTXBD9FN6EKmlHo/ulsMn9V2B4zK3lT/NUclST98BmCla4Jzm+roeOHTqlPz3gPRJiPsr3wdvM+FSAJ2MRdv3l77mTE3v3hjsVVMmShR3VwwpxCICl3mpMsSaJZLyJdOHwvnpXs1m9kESwPD3DQ3RAQ/OGa0pPxAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
debit
debit Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
  <request-id>$REQ</request-id>
  <transaction-type>debit</transaction-type>
  <payment-methods>
    <payment-method name="paypal" />
  </payment-methods>
  <requested-amount currency="EUR">1.01</requested-amount>
  <locale>en</locale>
  <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
  <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>
</payment>
debit 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>6cb82f55-5af8-43d8-bff9-8bbc6297532d</transaction-id>
 <request-id>9c4ced64-3013-4ccd-b9d5-c3e6f9208957</request-id>
 <transaction-type>debit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:41:56.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">1.01</requested-amount>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-35S67804YC070853R" name="paypal" />
 </payment-methods>
 <locale>en</locale>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
</payment>
debit Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>ad778911-5d84-41a0-a6ca-6e3a9bc83a69</transaction-id>
 <request-id>9c4ced64-3013-4ccd-b9d5-c3e6f9208957</request-id>
 <transaction-type>debit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:43:00.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="6RA652327S566671W" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">1.010000</requested-amount>
 <parent-transaction-id>6cb82f55-5af8-43d8-bff9-8bbc6297532d</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>BH9o8HQbM6qrpupHgz003Ctja9ZzEOudOP8R8ezdfog=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>DH8JRYXDdmmcbQuvznqXNr9OnGklAdKss0urideqmC7Z586+jxqLHpVK5vTCHThaT1REMUhZvh9BompfDCCd5InlKiJuY/p9C+WjzrgY4eRgoXe/qmor/KL1zxnxvcI8n257p876fKcL3KWvta0XnzGphHMg+nCTLwd3wve/3ymLd98yqBv2J6sEhApA99sfH7o8i5VbjZ6a7GoeWWSEKcbs9o35wSSUiZwRNEF7kT5v+cXxHxCGOZaNGdBqJd5NzZ8qtJUViz8OK+otMBhlQUZVpxA3Xc/rHuQj5dpfqUYJmhn1/nyPhdJZ+nMqf9JlSxmcNAWnBSErt9C2Web351JZgrvHABwqKXWpy/Xmgf1AcjzSbW0ACIKUkYyPnF/Vy/VObRUp2FcoSra0/mHvrzFIYgvEejnCxKUXp9nMo5CFObCq+ZPZeguCn83eLZsp3r+K70iS4LnONOKhdQm57iAFlzaxMqWXcxgXyQBh+upjxcD3z2tkrN7At0OvfU2KChCu/LIPUotWQkJ9EPTrqkcKNYcKURpbs6Dq7zn9BCC9MQ1gVLhG3rp0GEZsfjvk3zorXpPO/TfiBWXe3fwe00IWZcUnqarOhJ57eO9rTBPZCMU34JHEtzbdc9gge1R2kFe+p894iE8ZjF9pEg52E+EjOXesalrfBmuYi7RwPUc=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w6OYWBMKpssGngHFaZv35rCo5XVUpJmjZa04ytxE72GKO/uP4yIR7ZBXZx42B22MFaJJZTgPRCCFd6jrz906BZ//CmEAmk5gKelfPxfWJgGyTX6xz7I9R/G57E1xNOuEihN0ma5Q2IhD71MPVseFIGazyfGbJD6rYYbeBbOQSGk//TL8sdRCn0BLcm4DH5oqcPxDKzkaBP4ohNkCWsxpLLSyV6Wx0ihT0S1OLVNkEeTvcrYgUk124VyGatwWNUuCBYyOGQSOGqrW8IHmrhjzzT0NQog0/m38lpdqw/eWmt39qhODqSfILUk2Dxv1+W0IRKJCKcJrcTbXEQCuHl+XWY+U2AhinI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kHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
order
order Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
       <request-id>${unique for each request}</request-id>
    <transaction-type>order</transaction-type>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <requested-amount currency="EUR">5.55</requested-amount>
    <order-description>test order</order-description>
    <descriptor>customerStatement 18009998888</descriptor>
    <locale>en</locale>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <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>
</payment>
order 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>ecfb629e-c051-4ab6-bdf6-0f1c1082f922</transaction-id>
 <request-id>7848806b-4c9d-45e2-982e-1899c80c19e0</request-id>
 <transaction-type>order</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:23:08.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">5.55</requested-amount>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-6R748794VC296494L" name="paypal" />
 </payment-methods>
 <locale>en</locale>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
</payment>
order Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>f605cbe3-5e05-4de7-b854-ce37445d00e6</transaction-id>
 <request-id>7848806b-4c9d-45e2-982e-1899c80c19e0</request-id>
 <transaction-type>order</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:25:13.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="O-2LE50245R0608460K" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">5.550000</requested-amount>
 <parent-transaction-id>ecfb629e-c051-4ab6-bdf6-0f1c1082f922</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>smZBRJ3GCYWpq564u1u+rA6zSyt+nBSlGVwB18lafQs=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>kHk/CFZHjPPKS0H+wJ4pRtalikaklkNHsjyYg2i61u5GoZ3IxenNFddbDgK+BMuEAkZyJ+XZZeWv6t9z+8N5VWURoQkwSpIo7tqZcPZMF8ZCcEi/GJQUlOzHPioVWC6hjzo6TjnCO9YdWey5iqWrO10LMKsBBlir1BHmF9ysGeXNGaoS0/QPtRhUyDNoM3CEIDQ2yS8ZrJP3I70e2Q8I251BDaWHnWgusBb6WZuH/PRmAFynhKahXu1AcaH4a17+hNCdHtZyZbN1Zd++DDxNiIUWo8y+crsmjpNEYMG/iNoierAyLmW/7qEPphBtdlBQcqZNwFJqu6yHoMDgQBIjk99FGZV6PEOd1/KbZ5k+4YY2DjlPXtO+b3CD2unGYuOROMq25J8oPqFGYwLdjPwkdlSa1BiYnMWrQVxgiQqlH2FbwCpIvOobwbHVgbftPbAuyPBQgsdOzx5uhGCgYJ+qL7245m6+oVffCB9BQnr6hpOLxBaAZBor7vCLsaytMlpXvk+xBKP8HZkV9sQQ3+MzcmX1SsL1/QraI6Er26rGs5LFCHdvw/SeuXV6YZCJRkzInp34EuEB5I72Ox5vUVq6Auk3rDANgUvYeWrNpcVxwpXrIod/KUwy8W9ITSFXjkRCI2Zl7dsMifQO0gL1TWwcgOZfdJ7nBgbH9flSVL5kRJY=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBM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I7EczToPMRHmHG7EqEdAfbb+oUlAgMBAAGjggGAMIIBfDARBgNVHQ4ECgQIS6wVIA0mJ9IwEwYDVR0jBAwwCoAIQ2weFtQ9BQ4wCwYDVR0PBAQDAgTwMIIBQwYDVR0fBIIBOjCCATYwggEyoIIBLqCCASqGgdVsZGFwOi8vd2lyZWNhcmQubGFuL0NOPXdpcmVjYXJkLURRLU1VQy1pbnRlcm5hbC13ZWJzZXJ2aWNlLWlzc3VpbmdDQV8wMixDTj1DRFAsQ049UHVibGljIEtleSBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLGRjPXdpcmVjYXJkLGRjPWxhbj9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Q1JMRGlzdHJpYnV0aW9uUG9pbnSGUGh0dHA6Ly9jcmwud2lyZWNhcmQubGFuL0NSTF93aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIuY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQAmlUoiEFPRsOjGPb7SYiuJLxqTXCvZQeuXiUydF6FQl/zIpR/zSltaZKK86L+1i7t1C89OyTTXBD9FN6EKmlHo/ulsMn9V2B4zK3lT/NUclST98BmCla4Jzm+roeOHTqlPz3gPRJiPsr3wdvM+FSAJ2MRdv3l77mTE3v3hjsVVMmShR3VwwpxCICl3mpMsSaJZLyJdOHwvnpXs1m9kESwPD3DQ3RAQ/OGa0pPxAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
refund-debit
refund-debit Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>refund-debit</transaction-type>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <requested-amount currency="EUR">1.01</requested-amount>
 <parent-transaction-id>ad778911-5d84-41a0-a6ca-6e3a9bc83a69</parent-transaction-id>
 <order-description>test order</order-description>
</payment>
refund-debit 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/be17476f-1a0c-442e-8841-70e33996c0aa/payments/4e2632ea-4e3c-4bad-8176-ff3656bff9b1">
 <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>4e2632ea-4e3c-4bad-8176-ff3656bff9b1</transaction-id>
 <request-id>985e769b-2901-440b-9b7c-1b635dbc5a1b</request-id>
 <transaction-type>refund-debit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:54:52.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="35H62981CH973464P" />
 </statuses>
 <requested-amount currency="EUR">1.01</requested-amount>
 <parent-transaction-id>ad778911-5d84-41a0-a6ca-6e3a9bc83a69</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.010000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
refund-debit Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>4e2632ea-4e3c-4bad-8176-ff3656bff9b1</transaction-id>
 <request-id>985e769b-2901-440b-9b7c-1b635dbc5a1b</request-id>
 <transaction-type>refund-debit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:54:52.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="35H62981CH973464P"/>
 </statuses>
 <requested-amount currency="EUR">1.01</requested-amount>
 <parent-transaction-id>ad778911-5d84-41a0-a6ca-6e3a9bc83a69</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.010000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
refund-capture
refund-capture Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>$(unique for each request}</request-id>
    <transaction-type>refund-capture</transaction-type>
    <requested-amount currency="EUR">1.02</requested-amount>
   <payment-methods>
      <payment-method name="paypal" />
   </payment-methods>
    <parent-transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</parent-transaction-id>
</payment>
refund-capture Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment self="https://api-test.wirecard.com:443/engine/rest/merchants/be17476f-1a0c-442e-8841-70e33996c0aa/payments/52bfef6e-a10d-4fce-ad38-74d9cfc6cf65" xmlns="http://www.elastic-payments.com/schema/payment">
 <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>52bfef6e-a10d-4fce-ad38-74d9cfc6cf65</transaction-id>
 <request-id>09b39958-32e2-4793-a669-32b89e5ddb4c</request-id>
 <transaction-type>refund-capture</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:25:24.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="6UF60751CD922420J"/>
 </statuses>
 <requested-amount currency="EUR">1.02</requested-amount>
 <parent-transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.530000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
refund-capture Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>52bfef6e-a10d-4fce-ad38-74d9cfc6cf65</transaction-id>
 <request-id>09b39958-32e2-4793-a669-32b89e5ddb4c</request-id>
 <transaction-type>refund-capture</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:25:24.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="6UF60751CD922420J"/>
 </statuses>
 <requested-amount currency="EUR">1.02</requested-amount>
 <parent-transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.530000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
Workflow Samples
preauthorization
preauthorization Request (Successful)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>preauthorization</transaction-type>
    <requested-amount currency="EUR">6.66</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Constantine</last-name>
    </account-holder>
    <shipping>
        <first-name>Jack</first-name>
        <last-name>Jones</last-name>
        <phone>+49123123123</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </shipping>
    <order-number>180403092713285</order-number>
    <descriptor>customerStatement 18009998888</descriptor>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
preauthorization 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>1e35fd5e-e820-43f1-b7d4-813f6ec5d913</transaction-id>
 <request-id>9d4d7ffa-05ed-4fb7-bbc3-e54c119cd3e3</request-id>
 <transaction-type>preauthorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:37:39.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">6.66</requested-amount>
 <account-holder>
  <first-name>John</first-name>
  <last-name>Constantine</last-name>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411103738025</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-64D234765W077901M" name="paypal" />
 </payment-methods>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
preauthorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>b5e0e78f-d9ef-417a-8d1e-ee0913c4c905</transaction-id>
 <request-id>9d4d7ffa-05ed-4fb7-bbc3-e54c119cd3e3</request-id>
 <transaction-type>preauthorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:39:38.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information"/>
 </statuses>
 <requested-amount currency="EUR">6.660000</requested-amount>
 <parent-transaction-id>1e35fd5e-e820-43f1-b7d4-813f6ec5d913</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411103738025</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>3yuZnp63BGKrAUAeLbfDX+1nca234qo9t7xIx0OFw/M=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>YfrMGpnwcNqHmndRXsQ+ZYUlzW4wliV7bM9QTwXloX1dVEYbEo7oPFZxuKbBKaQKweBKgDSjuXcl3isCvJCqzMUtMdPP+622iPagQ/7kzwVxcLiWo6HKvawVRgRnInEPphLDOzz6dDZAnt1IznSa3usQ30kljMuusHNryLQ9+YaG/GI34Bo/h+gOE+PJ12k2RUFdnEptHcuKkVtYkB07IxAv1eoK8imBjGQRuo7Cn8A00faQYvx2VPFeF1kD1Jval4DLkQQZSpbWtenq1PxioQ96DNIOJDu3TaQ6ko86ad0dxMEnq42rsL5i8zISNlbrNbbhufLIiG5ObVKPc2UKuWf/Rj5j2ZyeXaVBLLeJQ98vW0LKYQ/5aqk883LOSNuNgWDLq62Ap/6m2I1HboSRLqFyGXAdNcaeMX8LlYnFnZR5cqkmLaLCo+rqjtO5hU48L++N5Qerl3xnk856rNmvqWvQ/nu+mtwkafZMQO66+RwJD4lcF/mO8tm6KVOhlUX6UFe5mvs/JsPCoQRWfPPknEWNf20czDYj+bjPW2joTsuu6g9KPWI6+O4V9qW+HVrabKW7iPf/Jh8lbZwo3upJbTTZiZPmu2IAQPDVBVHAmBuNIlnn6wyy+7JesqkcpfHzC72CPC7yvsTGgc5xAxDnDxG4hFHEVPXI/uowygV57hE=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w6OYWBMKpssGngHFaZv35rCo5XVUpJmjZa04ytxE72GKO/uP4yIR7ZBXZx42B22MFaJJZTgPRCCFd6jrz906BZ//CmEAmk5gKelfPxfWJgGyTX6xz7I9R/G57E1xNOuEihN0ma5Q2IhD71MPVseFIGazyfGbJD6rYYbeBbOQSGk//TL8sdRCn0BLcm4DH5oqcPxDKzkaBP4ohNkCWsxpLLSyV6Wx0ihT0S1OLVNk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m+roeOHTqlPz3gPRJiPsr3wdvM+FSAJ2MRdv3l77mTE3v3hjsVVMmShR3VwwpxCICl3mpMsSaJZLyJdOHwvnpXs1m9kESwPD3DQ3RAQ/OGa0pPxAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
Confirm preauthorization
Go to payment method URL provided in preauthorization response (see tag <payment-method> to complete authorization transaction using PayPal Express Checkout. PayPal Access Data. <parent-transaction-id> of the notification must correspond to the <transaction-id> of the response.
authorization
authorization Request (Successful)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>authorization</transaction-type>
    <requested-amount currency="EUR">1.53</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Constantine</last-name>
    </account-holder>
    <shipping>
        <first-name>Jack</first-name>
        <last-name>Jones</last-name>
        <phone>+49123123123</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </shipping>
    <order-number>48090</order-number>
    <descriptor>customerStatement 18009998888</descriptor>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>e6f84861-6523-4b46-a770-63f3ee51e3b2</transaction-id>
 <request-id>35d4f120-3a60-4eb8-b014-fae0ddf5189d</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:01:27.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">1.53</requested-amount>
 <account-holder>
  <first-name>John</first-name>
  <last-name>Constantine</last-name>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-7RV03184BR3855228" name="paypal" />
 </payment-methods>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
authorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>1a8dcffd-ed36-487d-b61f-e2bde485a7ca</transaction-id>
 <request-id>35d4f120-3a60-4eb8-b014-fae0ddf5189d</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:02:39.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="9R261956479906906" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">1.530000</requested-amount>
 <parent-transaction-id>e6f84861-6523-4b46-a770-63f3ee51e3b2</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>xmyY+Ov063aEA0EfjGQ6/aGrO5uluiMh41rCrc5XNZU=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>ALnfzX6cu7ET6q2GZe9uTLRoerh1BFGD+x3gqkEDi1fFBcl+KeR88uRrXhYlL492X34wFCXs2dfcHDorJVKPuUFko1tzl+GX7fcsowYgbyGwRjChfdhn08kdvEwdZMNhGifsS360gNXT4xAAcI34iehlp/uxqedt+hoGzp1B5JPwRbHxsH+bkNdP87bAa3VBTbXFms6oRxzxr2IHQTJ1nJCppQksvnHBTLfv5rfvUjyg29TQJvF1TwW1wXRHiU44nSXM5lwMd5xkUsikAAokjxpN/IySiy0ylZ0o7nZavKkyCArQJUvU5BbXh0yC1jcmMwqjj/S75YXMRcYYdt82T9tqdBWul9QGBeRTBOyv+EhbD5g5mM02z5LN5yCjj+YfHn3+IgArnFIlrjYTtrRQZ6c+kknnb1FbSrN69rU3cfcAdxZH1GCm5Z+xQ5MVt3szPYrkk1aGji5CgREWu8iVZzwOX4+2D2Jir9kvt+diLfeRJWL4JbXeT5+pqQwbmPzxyBOf5NYzFO4Av712Gj0FfI3yBhqlmjgmStXYnH7wUD7vVC/rfVWNNWoBGNRSeLDuyr9Ec5XAdvos6KF+e3L4I+8o2VG7pXw3iSpqUWWKJYHdtISOoVPkx0HBkaTwD6HKSIWq4L+9PFwWOxmqn0aJnOniR1i1krPRSJjgc6lsb4U=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje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WNhcmQubGFuL0NSTF93aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIuY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQAmlUoiEFPRsOjGPb7SYiuJLxqTXCvZQeuXiUydF6FQl/zIpR/zSltaZKK86L+1i7t1C89OyTTXBD9FN6EKmlHo/ulsMn9V2B4zK3lT/NUclST98BmCla4Jzm+roeOHTqlPz3gPRJiPsr3wdvM+FSAJ2MRdv3l77mTE3v3hjsVVMmShR3VwwpxCICl3mpMsSaJZLyJdOHwvnpXs1m9kESwPD3DQ3RAQ/OGa0pPxAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
Confirm authorization
Go to payment method URL provided in authorization response (see tag <payment-method> to complete authorization transaction using PayPal Express Checkout. <parent-transaction-id> of the notification must correspond to the <transaction-id> of the response.
capture-authorization
capture Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>capture-authorization</transaction-type>
    <api-id>elastic-payment-page</api-id>
    <requested-amount currency="EUR">1.53</requested-amount>
    <parent-transaction-id>4d1a2e87-b395-4f62-a70d-aa528e114132</parent-transaction-id>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <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>
</payment>
capture Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment self="https://api-test.wirecard.com:443/engine/rest/merchants/be17476f-1a0c-442e-8841-70e33996c0aa/payments/aaebd767-6906-4cfd-aeda-60e5798f0a97" xmlns="http://www.elastic-payments.com/schema/payment">
 <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</transaction-id>
 <request-id>0c6735dc-7a56-4c92-baf8-f50314723955</request-id>
 <transaction-type>capture-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:13:47.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="4DE25928KH220994J"/>
 </statuses>
 <requested-amount currency="EUR">1.53</requested-amount>
 <parent-transaction-id>1a8dcffd-ed36-487d-b61f-e2bde485a7ca</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.530000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
<cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
<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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
capture Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</transaction-id>
 <request-id>0c6735dc-7a56-4c92-baf8-f50314723955</request-id>
 <transaction-type>capture-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:13:47.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="4DE25928KH220994J"/>
 </statuses>
 <requested-amount currency="EUR">1.53</requested-amount>
 <parent-transaction-id>1a8dcffd-ed36-487d-b61f-e2bde485a7ca</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.530000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
refund-capture
refund-capture Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>$(unique for each request}</request-id>
    <transaction-type>refund-capture</transaction-type>
    <requested-amount currency="EUR">1.02</requested-amount>
   <payment-methods>
      <payment-method name="paypal" />
   </payment-methods>
    <parent-transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</parent-transaction-id>
</payment>
refund-capture Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment self="https://api-test.wirecard.com:443/engine/rest/merchants/be17476f-1a0c-442e-8841-70e33996c0aa/payments/52bfef6e-a10d-4fce-ad38-74d9cfc6cf65" xmlns="http://www.elastic-payments.com/schema/payment">
 <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>52bfef6e-a10d-4fce-ad38-74d9cfc6cf65</transaction-id>
 <request-id>09b39958-32e2-4793-a669-32b89e5ddb4c</request-id>
 <transaction-type>refund-capture</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:25:24.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="6UF60751CD922420J"/>
 </statuses>
 <requested-amount currency="EUR">1.02</requested-amount>
 <parent-transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.530000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
refund-capture Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>52bfef6e-a10d-4fce-ad38-74d9cfc6cf65</transaction-id>
 <request-id>09b39958-32e2-4793-a669-32b89e5ddb4c</request-id>
 <transaction-type>refund-capture</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:25:24.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="6UF60751CD922420J"/>
 </statuses>
 <requested-amount currency="EUR">1.02</requested-amount>
 <parent-transaction-id>aaebd767-6906-4cfd-aeda-60e5798f0a97</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411100125053</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.530000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
debit > refund
debit Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
  <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
  <request-id>$REQ</request-id>
  <transaction-type>debit</transaction-type>
  <payment-methods>
    <payment-method name="paypal" />
  </payment-methods>
  <requested-amount currency="EUR">1.01</requested-amount>
  <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
  <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>
</payment>
debit 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>6cb82f55-5af8-43d8-bff9-8bbc6297532d</transaction-id>
 <request-id>9c4ced64-3013-4ccd-b9d5-c3e6f9208957</request-id>
 <transaction-type>debit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:41:56.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">1.01</requested-amount>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-35S67804YC070853R" name="paypal" />
 </payment-methods>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
</payment>
debit Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>ad778911-5d84-41a0-a6ca-6e3a9bc83a69</transaction-id>
 <request-id>9c4ced64-3013-4ccd-b9d5-c3e6f9208957</request-id>
 <transaction-type>debit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:43:00.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="6RA652327S566671W" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">1.010000</requested-amount>
 <parent-transaction-id>6cb82f55-5af8-43d8-bff9-8bbc6297532d</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>BH9o8HQbM6qrpupHgz003Ctja9ZzEOudOP8R8ezdfog=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>DH8JRYXDdmmcbQuvznqXNr9OnGklAdKss0urideqmC7Z586+jxqLHpVK5vTCHThaT1REMUhZvh9BompfDCCd5InlKiJuY/p9C+WjzrgY4eRgoXe/qmor/KL1zxnxvcI8n257p876fKcL3KWvta0XnzGphHMg+nCTLwd3wve/3ymLd98yqBv2J6sEhApA99sfH7o8i5VbjZ6a7GoeWWSEKcbs9o35wSSUiZwRNEF7kT5v+cXxHxCGOZaNGdBqJd5NzZ8qtJUViz8OK+otMBhlQUZVpxA3Xc/rHuQj5dpfqUYJmhn1/nyPhdJZ+nMqf9JlSxmcNAWnBSErt9C2Web351JZgrvHABwqKXWpy/Xmgf1AcjzSbW0ACIKUkYyPnF/Vy/VObRUp2FcoSra0/mHvrzFIYgvEejnCxKUXp9nMo5CFObCq+ZPZeguCn83eLZsp3r+K70iS4LnONOKhdQm57iAFlzaxMqWXcxgXyQBh+upjxcD3z2tkrN7At0OvfU2KChCu/LIPUotWQkJ9EPTrqkcKNYcKURpbs6Dq7zn9BCC9MQ1gVLhG3rp0GEZsfjvk3zorXpPO/TfiBWXe3fwe00IWZcUnqarOhJ57eO9rTBPZCMU34JHEtzbdc9gge1R2kFe+p894iE8ZjF9pEg52E+EjOXesalrfBmuYi7RwPUc=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQD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IQ2weFtQ9BQ4wCwYDVR0PBAQDAgTwMIIBQwYDVR0fBIIBOjCCATYwggEyoIIBLqCCASqGgdVsZGFwOi8vd2lyZWNhcmQubGFuL0NOPXdpcmVjYXJkLURRLU1VQy1pbnRlcm5hbC13ZWJzZXJ2aWNlLWlzc3VpbmdDQV8wMixDTj1DRFAsQ049UHVibGljIEtleSBTZXJ2aWNlcyxDTj1TZXJ2aWNlcyxDTj1Db25maWd1cmF0aW9uLGRjPXdpcmVjYXJkLGRjPWxhbj9jZXJ0aWZpY2F0ZVJldm9jYXRpb25MaXN0P2Jhc2U/b2JqZWN0Q2xhc3M9Q1JMRGlzdHJpYnV0aW9uUG9pbnSGUGh0dHA6Ly9jcmwud2lyZWNhcmQubGFuL0NSTF93aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIuY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQAmlUoiEFPRsOjGPb7SYiuJLxqTXCvZQeuXiUydF6FQl/zIpR/zSltaZKK86L+1i7t1C89OyTTXBD9FN6EKmlHo/ulsMn9V2B4zK3lT/NUclST98BmCla4Jzm+roeOHTqlPz3gPRJiPsr3wdvM+FSAJ2MRdv3l77mTE3v3hjsVVMmShR3VwwpxCICl3mpMsSaJZLyJdOHwvnpXs1m9kESwPD3DQ3RAQ/OGa0pPxAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
Confirm debit
Go to payment method URL provided in debit response (see tag <payment-method> to complete authorization transaction using PayPal Express Checkout. <parent-transaction-id> of the notification must correspond to the <transaction-id> of the response.
refund-debit Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>refund-debit</transaction-type>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <requested-amount currency="EUR">1.01</requested-amount>
 <parent-transaction-id>ad778911-5d84-41a0-a6ca-6e3a9bc83a69</parent-transaction-id>
 <order-description>test order</order-description>
</payment>
refund-debit 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/be17476f-1a0c-442e-8841-70e33996c0aa/payments/4e2632ea-4e3c-4bad-8176-ff3656bff9b1">
 <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>4e2632ea-4e3c-4bad-8176-ff3656bff9b1</transaction-id>
 <request-id>985e769b-2901-440b-9b7c-1b635dbc5a1b</request-id>
 <transaction-type>refund-debit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:54:52.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="35H62981CH973464P" />
 </statuses>
 <requested-amount currency="EUR">1.01</requested-amount>
 <parent-transaction-id>ad778911-5d84-41a0-a6ca-6e3a9bc83a69</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.010000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
refund-debit Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>4e2632ea-4e3c-4bad-8176-ff3656bff9b1</transaction-id>
 <request-id>985e769b-2901-440b-9b7c-1b635dbc5a1b</request-id>
 <transaction-type>refund-debit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T08:54:52.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="35H62981CH973464P"/>
 </statuses>
 <requested-amount currency="EUR">1.01</requested-amount>
 <parent-transaction-id>ad778911-5d84-41a0-a6ca-6e3a9bc83a69</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.010000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
authorization > void-authorization
authorization Request (Successful)
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>authorization</transaction-type>
    <requested-amount currency="EUR">2.31</requested-amount>
    <account-holder>
        <first-name>John</first-name>
        <last-name>Constantine</last-name>
    </account-holder>
    <shipping>
        <first-name>Jack</first-name>
        <last-name>Jones</last-name>
        <phone>+49123123123</phone>
        <address>
            <street1>123 anystreet</street1>
            <city>Brantford</city>
            <country>CA</country>
            <postal-code>M4P1E8</postal-code>
        </address>
    </shipping>
    <order-number>48091</order-number>
    <descriptor>customerStatement 18009998888</descriptor>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>131b687e-0d9d-44b2-ab50-688d7ccb817c</transaction-id>
 <request-id>46cd1b02-c82a-4198-9ca0-f1deb7beb3dd</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:16:17.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">2.31</requested-amount>
 <account-holder>
  <first-name>John</first-name>
  <last-name>Constantine</last-name>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411111612959</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-9NG2879161193254M" name="paypal" />
 </payment-methods>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
authorization Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</transaction-id>
 <request-id>46cd1b02-c82a-4198-9ca0-f1deb7beb3dd</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:17:48.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="5H43062429899783A" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">2.310000</requested-amount>
 <parent-transaction-id>131b687e-0d9d-44b2-ab50-688d7ccb817c</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411111612959</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>j27QmLxFqzqa0SShSCRcO+hkbYo0WGz3hh8bPyqABJk=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>ifncJTCZBn/zDefvF/QFKOxk1EuCpWRRvn4P3WsCf8YuR8D5qvpUoTIHTQO+2baty3XhLInL1VLnz3644elXJACdFghayxYQuuabss0n8x7rnj9xFQXcy//4TffE1L+IYtid084zf9UQvOLhO/055gWSWv/NdF7K0PmwFWfN7VuvEDtQA09mgEnd91UQtIdWxzLchU5MFjbnB0wta1b2MyFD41rlozkkRkURz9m3/0toJISW2u73rGh1or73L86RraJ8q53EP/06uTWSePksiVhRIaUrI/bTX9jSojanXrv40nzWxgX+gByW6qCDKL0lcP054iO/yb19sV3VE2wCdgMnJnvWMwwSQUDiihhXIK2G+TZ0p+KKCFvCQQd/zkOYEWzHINoDJeYZX94pppNVEhPJBHffWwsU2KCKveLsxuwHiQcLby5yLUeFYkjKKV+dc+HSjCJxlwfQvHzfkUQaDLsmMgHQNg7cCHBBQTkMFcp97zNUiVu+2/PjWMEN8OJb5Wljyj/kr4443iV0PMmL0bgK9D3uvHHjLUs33I+EiV6CKljN9t4A7GH+GbwrXPbmf6u/y/fgrrGjTAWHbKGbT0+Rr1Nf2CacjKOFK9A1BAzXRlJ0Mi38CowUY3Sl/sPLTKgEM5zA1sxbJJRp+ikVxW6V/0Dd0qvyuEu1TRQ/wCs=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w6OYWBMKpssGngHFaZv35rCo5XVUpJmjZa04ytxE72GKO/uP4yIR7ZBXZx42B22MFaJJZTgPRCCFd6jrz906BZ//CmEAmk5gKelfPxfWJgGyTX6xz7I9R/G57E1xNOuEihN0ma5Q2IhD71MPVseFIGazyfGbJD6rYYbeBbOQSGk//TL8sdRCn0BLcm4DH5oqcPxDKzkaBP4ohNkCWsxpLLSyV6Wx0ihT0S1OLVNkEeTvcrYgUk124VyGatwWNUuCBYyOGQSOGqrW8IHmrhjzzT0NQog0/m38lpdqw/eWmt39qhODqSfILUk2Dxv1+W0IRKJCKcJrcTbXEQCuHl+XWY+U2AhinIPNRA0KX2oOgC//inwyKWSGWHdQnaake646R1wHqtoEfCtEcfyaeR+IrMr1rCAA3RZ+MH1J5UlUCWcnxPT0kad6dUwe3Qjq3jK4gaFzYU2yVScX5LVZMlWy2NiGCIvngHQmhArESzxMVvz5METZujfax6hfmiLNRWu0Zqs09Mpxy5zk5m/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URL provided in authorization response (see tag <payment-method> to complete authorization transaction using PayPal Express Checkout. <parent-transaction-id> of the notification must correspond to the <transaction-id> of the response.
void-authorization
void-authorization Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
     <request-id>${unique for each request}</request-id>
 <transaction-type>void-authorization</transaction-type>
 <requested-amount currency="EUR">2.31</requested-amount>
 <parent-transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</parent-transaction-id>
 <ip-address>127.0.0.1</ip-address>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
</payment>
Void Authorization <parent-transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</parent-transaction-id> from void request corresponds to <transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</transaction-id> from authorization notification.
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/be17476f-1a0c-442e-8841-70e33996c0aa/payments/10bd2521-1fa2-4f83-820f-48ac542f2c22">
 <merchant-account-id ref="https://api-test.wirecard.com:443/engine/rest/config/merchants/be17476f-1a0c-442e-8841-70e33996c0aa">be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>10bd2521-1fa2-4f83-820f-48ac542f2c22</transaction-id>
 <request-id>1dea9ef2-02d2-4b20-b626-ab15c47f7c39</request-id>
 <transaction-type>void-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:20:20.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">2.31</requested-amount>
 <parent-transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <ip-address>127.0.0.1</ip-address>
 <order-number>180411111612959</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
 <parent-transaction-amount currency="EUR">2.310000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
void-authorization Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>10bd2521-1fa2-4f83-820f-48ac542f2c22</transaction-id>
 <request-id>1dea9ef2-02d2-4b20-b626-ab15c47f7c39</request-id>
 <transaction-type>void-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:20:20.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information"/>
 </statuses>
 <requested-amount currency="EUR">2.31</requested-amount>
 <parent-transaction-id>c2f15154-b7d9-4d52-88d2-d5cf4112a6ec</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>Jack</first-name>
  <last-name>Jones</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 anystreet</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <ip-address>127.0.0.1</ip-address>
 <order-number>180411111612959</order-number>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">2.310000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
Confirm void-authorization
Go to payment method URL provided in void-authorization response (see tag <payment-method> to complete authorization transaction using PayPal Express Checkout. <parent-transaction-id> of the notification must correspond to the <transaction-id> of the response.
order > REFERENCING authorization > capture
order Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
       <request-id>${unique for each request}</request-id>
    <transaction-type>order</transaction-type>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <requested-amount currency="EUR">5.55</requested-amount>
    <order-description>test order</order-description>
    <descriptor>customerStatement 18009998888</descriptor>
    <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
    <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>
</payment>
order 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>ecfb629e-c051-4ab6-bdf6-0f1c1082f922</transaction-id>
 <request-id>7848806b-4c9d-45e2-982e-1899c80c19e0</request-id>
 <transaction-type>order</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:23:08.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">5.55</requested-amount>
 <descriptor>customerStatement 18009998888</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-6R748794VC296494L" name="paypal" />
 </payment-methods>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
</payment>
order Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>f605cbe3-5e05-4de7-b854-ce37445d00e6</transaction-id>
 <request-id>7848806b-4c9d-45e2-982e-1899c80c19e0</request-id>
 <transaction-type>order</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:25:13.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="O-2LE50245R0608460K" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">5.550000</requested-amount>
 <parent-transaction-id>ecfb629e-c051-4ab6-bdf6-0f1c1082f922</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>smZBRJ3GCYWpq564u1u+rA6zSyt+nBSlGVwB18lafQs=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>kHk/CFZHjPPKS0H+wJ4pRtalikaklkNHsjyYg2i61u5GoZ3IxenNFddbDgK+BMuEAkZyJ+XZZeWv6t9z+8N5VWURoQkwSpIo7tqZcPZMF8ZCcEi/GJQUlOzHPioVWC6hjzo6TjnCO9YdWey5iqWrO10LMKsBBlir1BHmF9ysGeXNGaoS0/QPtRhUyDNoM3CEIDQ2yS8ZrJP3I70e2Q8I251BDaWHnWgusBb6WZuH/PRmAFynhKahXu1AcaH4a17+hNCdHtZyZbN1Zd++DDxNiIUWo8y+crsmjpNEYMG/iNoierAyLmW/7qEPphBtdlBQcqZNwFJqu6yHoMDgQBIjk99FGZV6PEOd1/KbZ5k+4YY2DjlPXtO+b3CD2unGYuOROMq25J8oPqFGYwLdjPwkdlSa1BiYnMWrQVxgiQqlH2FbwCpIvOobwbHVgbftPbAuyPBQgsdOzx5uhGCgYJ+qL7245m6+oVffCB9BQnr6hpOLxBaAZBor7vCLsaytMlpXvk+xBKP8HZkV9sQQ3+MzcmX1SsL1/QraI6Er26rGs5LFCHdvw/SeuXV6YZCJRkzInp34EuEB5I72Ox5vUVq6Auk3rDANgUvYeWrNpcVxwpXrIod/KUwy8W9ITSFXjkRCI2Zl7dsMifQO0gL1TWwcgOZfdJ7nBgbH9flSVL5kRJY=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w6OYWBMKpssGngHFaZv35rCo5XVUpJmjZa04ytxE72GKO/uP4yIR7ZBXZx42B22MFaJJZTgPRCCFd6jrz906BZ//CmEAmk5gKelfPxfWJgGyTX6xz7I9R/G57E1xNOuEihN0ma5Q2IhD71MPVseFIGazyfGbJD6rYYbeBbOQSGk//TL8sdRCn0BLcm4DH5oqcPxDKzkaBP4ohNkCWsxpLLSyV6Wx0ihT0S1OLVNkEeTvcrYgUk124VyGatw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iPsr3wdvM+FSAJ2MRdv3l77mTE3v3hjsVVMmShR3VwwpxCICl3mpMsSaJZLyJdOHwvnpXs1m9kESwPD3DQ3RAQ/OGa0pPxAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
Confirm order
Go to payment method URL provided in order response (see tag <payment-method> to complete authorization transaction using PayPal Express Checkout. <parent-transaction-id> of the notification must correspond to the <transaction-id> of the response.
Referencing (order) authorization
Referencing authorization Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>authorization</transaction-type>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <requested-amount currency="EUR">1.15</requested-amount>
    <parent-transaction-id>f605cbe3-5e05-4de7-b854-ce37445d00e6</parent-transaction-id>
</payment>
Referencing authorization Response (Successful)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>4e3b9261-4a82-47df-8795-ae5353dd9ee3</transaction-id>
 <request-id>8f2906ea-21ba-4afb-be75-54dd4439403a</request-id>
 <transaction-type>authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:29:27.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" provider-transaction-id="2EV690760Y9874511"/>
 </statuses>
 <requested-amount currency="EUR">1.15</requested-amount>
 <parent-transaction-id>f605cbe3-5e05-4de7-b854-ce37445d00e6</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
Referencing authorization Notification (Successful)
No notification available
capture Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>capture-authorization</transaction-type>
    <api-id>elastic-payment-page</api-id>
    <requested-amount currency="EUR">1.15</requested-amount>
    <parent-transaction-id> 4e3b9261-4a82-47df-8795-ae5353dd9ee3</parent-transaction-id>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
</payment>
_capture Response (Successful)
No response available
_capture Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>7bef6885-c3eb-4930-9df6-3ea503ada7b8</transaction-id>
 <request-id>0de0a3f8-1f24-4781-8777-49080339fa13</request-id>
 <transaction-type>capture-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:36:44.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="2V055190J2709350H"/>
 </statuses>
 <requested-amount currency="EUR">1.15</requested-amount>
 <parent-transaction-id>4e3b9261-4a82-47df-8795-ae5353dd9ee3</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">1.150000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
Referencing _authorization Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>authorization</transaction-type>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
    <requested-amount currency="EUR">2.10</requested-amount>
    <parent-transaction-id>f605cbe3-5e05-4de7-b854-ce37445d00e6</parent-transaction-id>
</payment>
Referencing _authorization Response (Successful)
No response available
capture-authorization
capture-authorization Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
    <transaction-type>capture-authorization</transaction-type>
    <api-id>elastic-payment-page</api-id>
    <requested-amount currency="EUR">2.10</requested-amount>
    <parent-transaction-id>3804f693-f249-42e7-8fb5-f17c6993b7fe</parent-transaction-id>
    <payment-methods>
        <payment-method name="paypal" />
    </payment-methods>
</payment>
capture-authorization Response (Successful)
No response available
capture-authorization Notification (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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>c7a5b20a-a595-4af2-a71f-9f51910796b7</transaction-id>
 <request-id>ab37faf3-391d-47a0-b78d-ef9b164f4699</request-id>
 <transaction-type>capture-authorization</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:44:04.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information" provider-transaction-id="1JU45547Y19358704"/>
 </statuses>
 <requested-amount currency="EUR">2.10</requested-amount>
 <parent-transaction-id>3804f693-f249-42e7-8fb5-f17c6993b7fe</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <descriptor>customerStatement 18009998888</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <parent-transaction-amount currency="EUR">2.100000</parent-transaction-amount>
 <api-id>elastic-api</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <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>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
</payment>
pending-credit
pending-credit Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
   <transaction-type>pending-credit</transaction-type>
   <payment-methods>
      <payment-method name="paypal" />
   </payment-methods>
   <requested-amount currency="EUR">11.00</requested-amount>
   <processing-redirect-url>http://www.merchant.com/order/success</processing-redirect-url>
   <cancel-redirect-url>http://www.merchant.com/order/error</cancel-redirect-url>
   <fail-redirect-url>http://www.merchant.com/order/error</fail-redirect-url>
   <success-redirect-url>http://www.merchant.com/order/success</success-redirect-url>
   <account-holder>
      <email>paypal.buyer2@wirecard.com</email>
   </account-holder>
</payment>
pending-credit 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>41983600-3342-42b5-8646-89d20432f09d</transaction-id>
 <request-id>0641b672-f0f3-4ce1-bc51-32b94d687765</request-id>
 <transaction-type>pending-credit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:45:37.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">11.00</requested-amount>
 <account-holder>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <payment-methods>
  <payment-method name="paypal" />
 </payment-methods>
 <processing-redirect-url>http://www.merchant.com/order/success</processing-redirect-url>
 <cancel-redirect-url>http://www.merchant.com/order/error</cancel-redirect-url>
 <fail-redirect-url>http://www.merchant.com/order/error</fail-redirect-url>
 <success-redirect-url>http://www.merchant.com/order/success</success-redirect-url>
</payment>
pending-credit Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>14be390e-c387-4ef4-821f-21cd8f6fbf97</transaction-id>
 <request-id>0641b672-f0f3-4ce1-bc51-32b94d687765</request-id>
 <transaction-type>credit</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T09:45:55.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." provider-transaction-id="34V102252N303912S" severity="information"/>
 </statuses>
 <requested-amount currency="EUR">11.00</requested-amount>
 <parent-transaction-id>41983600-3342-42b5-8646-89d20432f09d</parent-transaction-id>
 <account-holder>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <processing-redirect-url>http://www.merchant.com/order/success</processing-redirect-url>
 <cancel-redirect-url>http://www.merchant.com/order/error</cancel-redirect-url>
 <fail-redirect-url>http://www.merchant.com/order/error</fail-redirect-url>
 <success-redirect-url>http://www.merchant.com/order/success</success-redirect-url>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="">
    <Transforms>
     <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
    </Transforms>
    <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
    <DigestValue>DPKtWl74L5HSfCyGYxtwVmISvZ4gtkMfrD36+P72TeI=</DigestValue>
   </Reference>
  </SignedInfo>
  <SignatureValue>d4N1IvgfAPUcEdhk/obD6QTFe1p3+UkTSBoSVWjpd9y1Kukkij+7BQeRp/K/evjnPn1GQEj2gEA5nP0PbLarW1ATcfMtgKQoPtiWqO0bS0i7YEhJ1bAgFxOHwEyEMKU3UevixiQ01KA36hl0YpygcuWqznA/1tF+w/4Qlalv7sUfx/GhyxJsKBRwMKQ7wQFwWTYYUMyh+5pJiBMWD/8szgfllIaXW1u6LEBAKjog9KQUApDp0kShikA0XWaOsJZT+UiewIQr7qYlW98VoNK9xhOacH8rah9XcTcqJ1O80Q0VSp3AWz+ICr4x0hKFK4MkRgxRoEbxZhL7eAgUbP3DyswN9nKwMylB7aFnojMuXzce6u3P2JgSzye/lXMVr5cfBNgZSkZUoFWyWMlQJpHWKtDtUz2I0GkSplDzq///gOlj9hxuk5fKnSmG/ZBBVYR1Rx7/euXOy0DrgcL8ZlmvbOZ9cM0b7OsU1wAEGKysTVuE07pslBR6ZQ2bHG86SZFoUHi5kAKAp0w8shZF7GegZs+t7p3JljJ2JyfRJUhCsg0RUBwZNSPDGo0WZ7STwncX4fGbiM/QSzgEub3a2jn+tQLBf9ER6Q7VCT+t4nMgh+MJzZSdG0j/k/nGpuzzP745zY8Uy/cs1OS41UokHfeHezpqzigpRnYbCUl/KthDjQE=</SignatureValue>
  <KeyInfo>
   <X509Data>
    <X509SubjectName>L=Ascheim,2.5.4.4=#130642617965726e,CN=api-test.wirecard.com,OU=Operations,O=Wirecard Technologies GmbH,C=DE</X509SubjectName>
    <X509Certificate>MIIF5DCCBMygAwIBAgICLHQwDQYJKoZIhvcNAQELBQAwWzELMAkGA1UEBhMCREUxETAPBgNVBAoTCFdpcmVjYXJkMTkwNwYDVQQDFDB3aXJlY2FyZC1EUS1NVUMtaW50ZXJuYWwtd2Vic2VydmljZS1pc3N1aW5nQ0FfMDIwHhcNMTcwMTEyMTM1OTI2WhcNMTkwMTEyMTM1OTI2WjCBijELMAkGA1UEBhMCREUxIzAhBgNVBAoTGldpcmVjYXJkIFRlY2hub2xvZ2llcyBHbWJIMRMwEQYDVQQLEwpPcGVyYXRpb25zMR4wHAYDVQQDExVhcGktdGVzdC53aXJlY2FyZC5jb20xDzANBgNVBAQTBkJheWVybjEQMA4GA1UEBxMHQXNjaGVpbTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAKSkExBY8FjRcZdrxOuJF+HZY8+McQaOB8B0E/hTUhoclsF4OJNaMThje7R6w6OYWBMKpssGngHFaZv35rCo5XVUpJmjZa04ytxE72GKO/uP4yIR7ZBXZx42B22MFaJJZTgPRCCFd6jrz906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uY3JsMA0GCSqGSIb3DQEBCwUAA4IBAQAmlUoiEFPRsOjGPb7SYiuJLxqTXCvZQeuXiUydF6FQl/zIpR/zSltaZKK86L+1i7t1C89OyTTXBD9FN6EKmlHo/ulsMn9V2B4zK3lT/NUclST98BmCla4Jzm+roeOHTqlPz3gPRJiPsr3wdvM+FSAJ2MRdv3l77mTE3v3hjsVVMmShR3VwwpxCICl3mpMsSaJZLyJdOHwvnpXs1m9kESwPD3DQ3RAQ/OGa0pPxAkHaauog4DhPvr/nBQnWHd2Us5b/ep7LME9hZ8u3hu/Kc6Vk24c5p3WUOiyaTiw+Ym3QDXl1wBSl9DdM94KbmAAQ5D/FUqyQnSc4TpmYvJ+Iavag</X509Certificate>
   </X509Data>
  </KeyInfo>
 </Signature>
</payment>
authorization-only
authorization-only Request (Successful)
<?xml version="1.0" encoding="utf-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment">
   <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
    <request-id>${unique for each request}</request-id>
   <transaction-type>authorization-only</transaction-type>
   <payment-methods>
      <payment-method name="paypal" />
   </payment-methods>
   <requested-amount currency="EUR">0</requested-amount>
   <order-description>test order</order-description>
   <descriptor>customerStatement 18009998822</descriptor>
   <account-holder>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
   </account-holder>
   <order-number>180403130946541</order-number>
   <shipping>
      <first-name>John</first-name>
      <last-name>Doe</last-name>
      <phone>+49123123123</phone>
      <address>
        <street1>123 Lake Streed</street1>
        <city>Brantford</city>
        <country>CA</country>
        <postal-code>M4P1E8</postal-code>
      </address>
   </shipping>
   <periodic>
        <periodic-type>recurring</periodic-type>
        <sequence-type>first</sequence-type>
   </periodic>
   <locale>en</locale>
   <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
   <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
</payment>
authorization-only 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">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>19b8ccad-b564-4384-8086-c4b951ae6abb</transaction-id>
 <request-id>29171b8a-3db7-41dc-8196-3565f38911d2</request-id>
 <transaction-type>authorization-only</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T10:07:14.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="The resource was successfully created." severity="information" />
 </statuses>
 <requested-amount currency="EUR">0</requested-amount>
 <account-holder>
  <first-name>John</first-name>
  <last-name>Doe</last-name>
 </account-holder>
 <shipping>
  <first-name>John</first-name>
  <last-name>Doe</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 Lake Streed</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411120710809</order-number>
 <descriptor>customerStatement 18009998822</descriptor>
 <payment-methods>
  <payment-method url="https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&amp;useraction=commit&amp;token=EC-0U479917B3642864S" name="paypal" />
 </payment-methods>
 <locale>en</locale>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <periodic>
  <periodic-type>recurring</periodic-type>
  <sequence-type>first</sequence-type>
 </periodic>
</payment>
authorization-only Notification (Successful)
<?xml version="1.0" encoding="UTF-8"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
 <merchant-account-id>be17476f-1a0c-442e-8841-70e33996c0aa</merchant-account-id>
 <transaction-id>fa21cc0d-a05c-4097-9733-3b94318f4386</transaction-id>
 <request-id>29171b8a-3db7-41dc-8196-3565f38911d2</request-id>
 <transaction-type>authorization-only</transaction-type>
 <transaction-state>success</transaction-state>
 <completion-time-stamp>2018-04-11T10:09:36.000Z</completion-time-stamp>
 <statuses>
  <status code="201.0000" description="paypal:The resource was successfully created." severity="information"/>
 </statuses>
 <requested-amount currency="EUR">0.000000</requested-amount>
 <parent-transaction-id>19b8ccad-b564-4384-8086-c4b951ae6abb</parent-transaction-id>
 <account-holder>
  <first-name>Wirecardbuyer</first-name>
  <last-name>Spintzyk</last-name>
  <email>paypal.buyer2@wirecard.com</email>
 </account-holder>
 <shipping>
  <first-name>John</first-name>
  <last-name>Doe</last-name>
  <phone>+49123123123</phone>
  <address>
   <street1>123 Lake Streed</street1>
   <city>Brantford</city>
   <country>CA</country>
   <postal-code>M4P1E8</postal-code>
  </address>
 </shipping>
 <order-number>180411120710809</order-number>
 <descriptor>customerStatement 18009998822</descriptor>
 <custom-fields/>
 <payment-methods>
  <payment-method name="paypal"/>
 </payment-methods>
 <api-id>---</api-id>
 <cancel-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/cancel</cancel-redirect-url>
 <success-redirect-url>https://demoshop-test.wirecard.com/demoshop/#/success</success-redirect-url>
 <periodic>
  <periodic-type>recurring</periodic-type>
  <sequence-type>first</sequence-type>
 </periodic>
 <wallet>
  <account-id>ZNKTXUBNSQE2Y</account-id>
 </wallet>
 <provider-transaction-reference-id>B-7CE0209221399502E</provider-transaction-reference-id>
 <Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
  <SignedInfo>
   <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
   <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
   <Reference URI="