Samples

Request Purchase Credit Card and 2 Vouchers
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<multi-payments xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-resolver-category>xyzLimited-Resolver-Multipayment</merchant-account-resolver-category>
    <multi-payment-request-id>Purchase-CC-Voucher-8923</multi-payment-request-id>
    <multi-payment-transaction-type>purchase</multi-payment-transaction-type>
    <multi-payment-amount currency="EUR">25</multi-payment-amount>
    <transaction-count>3</transaction-count>
    <order-number>CC-Voucher-4590</order-number>
    <payments>
        <payment>
            <payment-methods>
                <payment-method name="creditcard"/>
            </payment-methods>
            <requested-amount currency="EUR">10</requested-amount>
            <account-holder>
                <first-name>John</first-name>
                <last-name>Doe</last-name>
                <email>John.Doe@wirecard.com</email>
                <phone/>
                <address>
                    <street1>200.000</street1>
                    <city>Munich</city>
                    <state>ON</state>
                    <country>CA</country>
                </address>
            </account-holder>
            <card>
                <account-number>4444333322221111</account-number>
                <expiration-month>12</expiration-month>
                <expiration-year>2025</expiration-year>
                <card-type>visa</card-type>
                <card-security-code>123</card-security-code>
            </card>
            <ip-address>127.0.0.1</ip-address>
        </payment>
        <payment>
            <requested-amount currency="EUR">10</requested-amount>
            <payment-methods>
                <payment-method name="voucher"/>
            </payment-methods>
            <order-detail>xyzLimited</order-detail>
            <additional-merchant-data>ew0KInh5eiI6ICIxMjMiLA0KImFiYyI6ICI0NTYiLA0KInRlc3QiOiAiQ0ktVFJBVkVMIg0KfQ==</additional-merchant-data>
            <voucher>
                <voucher-code>8396586683723949</voucher-code>
                <voucher-brand-id>xyz</voucher-brand-id>
                <voucher-description>This is Test Voucher 1</voucher-description>
            </voucher>
        </payment>
        <payment>
            <requested-amount currency="EUR">5</requested-amount>
            <payment-methods>
                <payment-method name="voucher"/>
            </payment-methods>
            <order-detail>xyzLimited</order-detail>
            <additional-merchant-data>ew0KIkxNTyI6ICI3ODkiLA0KIlJlYWQiOiAiMzIxIiwNCiJ0ZXN0IjogIkNJLVRSQVZFTCINCn0=</additional-merchant-data>
            <voucher>
                <voucher-code>8101100662655059</voucher-code>
                <voucher-brand-id>xyz</voucher-brand-id>
                <voucher-description>This is Test Voucher 2</voucher-description>
            </voucher>
        </payment>
    </payments>
</multi-payments>
Response Purchase Successful
<multi-payments self="https://api-test.wirecard.com/engine/rest/multi-payments/resolver-category/xyzLimited-Resolver-Multipayment/multi-payments/a1d8b47e-b7ba-4cda-ac23-b7540dfb59f4" xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-resolver-category>xyzLimited-Resolver-Multipayment</merchant-account-resolver-category>
    <multi-payment-request-id>Purchase-CC-Voucher-8923</multi-payment-request-id>
    <multi-payment-amount currency="EUR">25</multi-payment-amount>
    <transaction-count>3</transaction-count>
    <multi-payment-id>a1d8b47e-b7ba-4cda-ac23-b7540dfb59f4</multi-payment-id>
    <order-number>CC-Voucher-4590</order-number>
    <multi-payment-transaction-type>purchase</multi-payment-transaction-type>
    <multi-payment-state>success</multi-payment-state>
    <completion-time-stamp>2019-02-14T12:33:06.644Z</completion-time-stamp>
    <multi-payment-statuses>
        <status code="200.0000" description="The request completed successfully." severity="information"/>
    </multi-payment-statuses>
    <payments>
        <payment self="https://api-test.wirecard.com/engine/rest/merchants/4beb6362-faab-4603-9a5f-efa8233c071e/payments/57a668b7-bbcf-4e3e-826d-4a8d3eebdd4d">
            <merchant-account-id>4beb6362-faab-4603-9a5f-efa8233c071e</merchant-account-id>
            <transaction-id>57a668b7-bbcf-4e3e-826d-4a8d3eebdd4d</transaction-id>
            <request-id>{{$guid}}</request-id>
            <transaction-type>purchase</transaction-type>
            <transaction-state>success</transaction-state>
            <completion-time-stamp>2019-02-14T12:33:06.000Z</completion-time-stamp>
            <statuses>
                <status code="201.0000" description="3d-acquirer:The resource was successfully created." severity="information" provider-transaction-id="C019405148707558120865"/>
            </statuses>
            <requested-amount currency="EUR">10</requested-amount>
            <account-holder>
                <first-name>John</first-name>
                <last-name>Doe</last-name>
                <email>John.Doe@wirecard.com</email>
                <phone/>
                <address>
                    <street1>200.000</street1>
                    <city>Munich</city>
                    <state>ON</state>
                    <country>CA</country>
                </address>
            </account-holder>
            <card-token>
                <token-id>4498936198431111</token-id>
                <masked-account-number>444433******1111</masked-account-number>
            </card-token>
            <ip-address>127.0.0.1</ip-address>
            <order-number>CC-Voucher-4590</order-number>
            <descriptor>demo descriptor</descriptor>
            <payment-methods>
                <payment-method name="creditcard"/>
            </payment-methods>
            <authorization-code>689481</authorization-code>
            <api-id>---</api-id>
        </payment>
        <payment self="https://api-test.wirecard.com/engine/rest/merchants/02ac174b-f453-4017-bb8e-c675dcf80e6c/payments/351e61d6-bde7-4d11-b605-e261a40409f8">
            <merchant-account-id>02ac174b-f453-4017-bb8e-c675dcf80e6c</merchant-account-id>
            <transaction-id>351e61d6-bde7-4d11-b605-e261a40409f8</transaction-id>
            <request-id>{{$guid}}</request-id>
            <transaction-type>purchase</transaction-type>
            <transaction-state>success</transaction-state>
            <completion-time-stamp>2019-02-14T12:32:59.000Z</completion-time-stamp>
            <statuses>
                <status code="201.0000" description="voucher:The resource was successfully created." severity="information"/>
            </statuses>
            <requested-amount currency="EUR">10</requested-amount>
            <order-number>CC-Voucher-4590</order-number>
            <order-detail>xyzLimited</order-detail>
            <payment-methods>
                <payment-method name="voucher"/>
            </payment-methods>
            <voucher>
                <voucher-code>8396586683723949</voucher-code>
                <voucher-brand-id>xyz</voucher-brand-id>
                <voucher-token-id>h8r1l3v9b64mblqthfjro24jt3</voucher-token-id>
                <voucher-description>This is Test Voucher 1</voucher-description>
            </voucher>
            <additional-merchant-data>ew0KInh5eiI6ICIxMjMiLA0KImFiYyI6ICI0NTYiLA0KInRlc3QiOiAiQ0ktVFJBVkVMIg0KfQ==</additional-merchant-data>
        </payment>
        <payment self="https://api-test.wirecard.com/engine/rest/merchants/02ac174b-f453-4017-bb8e-c675dcf80e6c/payments/fe419900-85ae-45d6-9959-642cf2b78200">
            <merchant-account-id>02ac174b-f453-4017-bb8e-c675dcf80e6c</merchant-account-id>
            <transaction-id>fe419900-85ae-45d6-9959-642cf2b78200</transaction-id>
            <request-id>{{$guid}}</request-id>
            <transaction-type>purchase</transaction-type>
            <transaction-state>success</transaction-state>
            <completion-time-stamp>2019-02-14T12:33:00.000Z</completion-time-stamp>
            <statuses>
                <status code="201.0000" description="voucher:The resource was successfully created." severity="information"/>
            </statuses>
            <requested-amount currency="EUR">5</requested-amount>
            <order-number>CC-Voucher-4590</order-number>
            <order-detail>xyzLimited</order-detail>
            <payment-methods>
                <payment-method name="voucher"/>
            </payment-methods>
            <voucher>
                <voucher-code>8101100662655059</voucher-code>
                <voucher-brand-id>xyz</voucher-brand-id>
                <voucher-token-id>v2n74tqktgg5kp5j2dl0n83gpl</voucher-token-id>
                <voucher-description>This is Test Voucher 2</voucher-description>
            </voucher>
            <additional-merchant-data>ew0KIkxNTyI6ICI3ODkiLA0KIlJlYWQiOiAiMzIxIiwNCiJ0ZXN0IjogIkNJLVRSQVZFTCINCn0=</additional-merchant-data>
        </payment>
    </payments>
</multi-payments>
Request Void-Refund-Purchase
<multi-payments xmlns="http://www.elastic-payments.com/schema/payment">
    <multi-payment-request-id>Void-Refund-Purchase-CC-Voucher-9955</multi-payment-request-id>
    <multi-payment-parent-id>a1d8b47e-b7ba-4cda-ac23-b7540dfb59f4</multi-payment-parent-id>
    <multi-payment-transaction-type>void-refund-purchase</multi-payment-transaction-type>
</multi-payments>
Response Void-Refund-Purchase – Voucher 2 failed, Voucher 1 Rolled Back
<multi-payments self="https://api-test.wirecard.com/engine/rest/multi-payments/resolver-category/xyzLimited-Resolver-Multipayment/multi-payments/d4cbfc4b-c755-4b38-814c-1856a5ebba75" xmlns="http://www.elastic-payments.com/schema/payment">
    <merchant-account-resolver-category>xyzLimited-Resolver-Multipayment</merchant-account-resolver-category>
    <multi-payment-request-id>Void-Refund-Purchase-CC-Voucher-9955</multi-payment-request-id>
    <transaction-count>3</transaction-count>
    <multi-payment-id>d4cbfc4b-c755-4b38-814c-1856a5ebba75</multi-payment-id>
    <multi-payment-parent-id>a1d8b47e-b7ba-4cda-ac23-b7540dfb59f4</multi-payment-parent-id>
    <multi-payment-transaction-type>void-refund-purchase</multi-payment-transaction-type>
    <multi-payment-state>failed</multi-payment-state>
    <completion-time-stamp>2019-02-14T12:34:08.868Z</completion-time-stamp>
    <multi-payment-statuses>
        <status code="500.4001" description="Multi Payments request has failed." severity="error"/>
        <status code="500.4003" description="creditcard : Transaction is not submitted." severity="warning"/>
        <status code="500.4005" description="Rollback was successful." severity="warning"/>
    </multi-payment-statuses>
    <payments>
        <payment self="https://api-test.wirecard.com/engine/rest/merchants/02ac174b-f453-4017-bb8e-c675dcf80e6c/payments/b32f6007-afc3-4e80-91ac-3adcdc668207">
            <merchant-account-id>02ac174b-f453-4017-bb8e-c675dcf80e6c</merchant-account-id>
            <transaction-id>b32f6007-afc3-4e80-91ac-3adcdc668207</transaction-id>
            <request-id>{{$guid}}</request-id>
            <transaction-type>void-purchase</transaction-type>
            <transaction-state>success</transaction-state>
            <completion-time-stamp>2019-02-14T12:34:06.000Z</completion-time-stamp>
            <statuses>
                <status code="201.0000" description="voucher:The resource was successfully created." severity="information"/>
            </statuses>
            <parent-transaction-id>351e61d6-bde7-4d11-b605-e261a40409f8</parent-transaction-id>
            <payment-methods>
                <payment-method name="voucher"/>
            </payment-methods>
            <voucher>
                <voucher-code>8396586683723949</voucher-code>
                <voucher-brand-id>oebb</voucher-brand-id>
                <voucher-token-id>h8r1l3v9b64mblqthfjro24jt3</voucher-token-id>
                <voucher-description>This is Test Voucher 1</voucher-description>
            </voucher>
        </payment>
        <payment self="https://api-test.wirecard.com/engine/rest/merchants/02ac174b-f453-4017-bb8e-c675dcf80e6c/payments/f039b66b-3106-4aa2-8543-afce070b4a7a">
            <merchant-account-id>02ac174b-f453-4017-bb8e-c675dcf80e6c</merchant-account-id>
            <transaction-id>f039b66b-3106-4aa2-8543-afce070b4a7a</transaction-id>
            <request-id>{{$guid}}</request-id>
            <transaction-type>void-cancel-redeem</transaction-type>
            <transaction-state>success</transaction-state>
            <completion-time-stamp>2019-02-14T12:34:08.000Z</completion-time-stamp>
            <statuses>
                <status code="201.0000" description="voucher:The resource was successfully created." severity="information"/>
            </statuses>
            <parent-transaction-id>b32f6007-afc3-4e80-91ac-3adcdc668207</parent-transaction-id>
            <payment-methods>
                <payment-method name="voucher"/>
            </payment-methods>
            <voucher>
                <voucher-code>8396586683723949</voucher-code>
                <voucher-brand-id>oebb</voucher-brand-id>
                <voucher-token-id>h8r1l3v9b64mblqthfjro24jt3</voucher-token-id>
                <voucher-description>This is Test Voucher 1</voucher-description>
            </voucher>
        </payment>
        <payment self="https://api-test.wirecard.com/engine/rest/merchants/02ac174b-f453-4017-bb8e-c675dcf80e6c/payments/368c53ca-6c24-4a05-962b-87792d403101">
            <merchant-account-id>02ac174b-f453-4017-bb8e-c675dcf80e6c</merchant-account-id>
            <transaction-id>368c53ca-6c24-4a05-962b-87792d403101</transaction-id>
            <request-id>{{$guid}}</request-id>
            <transaction-type>void-purchase</transaction-type>
            <transaction-state>failed</transaction-state>
            <completion-time-stamp>2019-02-14T12:34:07.000Z</completion-time-stamp>
            <statuses>
                <status code="500.2377" description="voucher:Already settled referenced authorization found." severity="error"/>
            </statuses>
            <parent-transaction-id>fe419900-85ae-45d6-9959-642cf2b78200</parent-transaction-id>
            <payment-methods>
                <payment-method name="voucher"/>
            </payment-methods>
            <voucher>
                <voucher-code>8101100662655059</voucher-code>
                <voucher-brand-id>oebb</voucher-brand-id>
                <voucher-token-id>v2n74tqktgg5kp5j2dl0n83gpl</voucher-token-id>
                <voucher-description>This is Test Voucher 2</voucher-description>
            </voucher>
        </payment>
    </payments>
</multi-payments>
Custom URL: