spec/support/fixtures/vcr/gateway_debit.yml in wirecard_sepa-0.0.5 vs spec/support/fixtures/vcr/gateway_debit.yml in wirecard_sepa-0.1.0
- old
+ new
@@ -62,6 +62,647 @@
name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>2C7E9C6B88</provider-transaction-reference-id></payment>
http_version: '1.1'
adapter_metadata:
effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
recorded_at: Tue, 28 Jul 2015 09:49:15 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>e9c7969a-7580-4565-9c77-1fa7f4538ed3</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:09:32 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>44d06762-3532-11e5-b074-005056a96a54</transaction-id><request-id>e9c7969a-7580-4565-9c77-1fa7f4538ed3</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:09:32.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>FF37F2B03D</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:09:33 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>9a76c097-7acb-4544-b0e8-b0e18addc20f</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:09:52 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>5072d58c-3532-11e5-b074-005056a96a54</transaction-id><request-id>9a76c097-7acb-4544-b0e8-b0e18addc20f</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:09:52.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>F2FC4EBF5C</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:09:52 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>7afb3c42-f804-450e-ba5b-be5a0810e032</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:10:55 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>75db2446-3532-11e5-b074-005056a96a54</transaction-id><request-id>7afb3c42-f804-450e-ba5b-be5a0810e032</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:10:54.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>A1588D27BE</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:10:55 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>0c4c36ac-1f57-4f3e-829e-23a23d99aaa0</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:11:03 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>7adc8d5e-3532-11e5-b074-005056a96a54</transaction-id><request-id>0c4c36ac-1f57-4f3e-829e-23a23d99aaa0</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:11:03.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>76E825C2C6</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:11:03 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>46203133-baa1-4986-b4fc-d4de379dabe1</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:11:37 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>8f16836a-3532-11e5-b074-005056a96a54</transaction-id><request-id>46203133-baa1-4986-b4fc-d4de379dabe1</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:11:37.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>4A1489043A</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:11:37 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>5399d22e-dec4-4588-9101-3330770531cb</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:14:26 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>f410fac0-3532-11e5-b074-005056a96a54</transaction-id><request-id>5399d22e-dec4-4588-9101-3330770531cb</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:26.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>2C0DB50FE2</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:14:27 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>621b5397-6d45-481f-997e-8883a4aa33cb</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:14:32 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>f7c76366-3532-11e5-b074-005056a96a54</transaction-id><request-id>621b5397-6d45-481f-997e-8883a4aa33cb</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:32.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>B2404818A6</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:14:33 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>a813a5ef-c20f-4ab8-9d3c-d7685f1b68d4</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:14:37 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>fa92c342-3532-11e5-b074-005056a96a54</transaction-id><request-id>a813a5ef-c20f-4ab8-9d3c-d7685f1b68d4</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:14:37.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>DA245E4FF7</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:14:38 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>4711</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:15:47 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1270'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>240aca08-3533-11e5-b074-005056a96a54</transaction-id><request-id>4711</request-id><transaction-type>pending-debit</transaction-type><transaction-state>failed</transaction-state><completion-time-stamp>2015-07-28T14:15:46.000Z</completion-time-stamp><statuses><status
+ code="400.1018" description="The same Request Id for the Merchant Account
+ is being tried a second time. Please use another Request Id." severity="error"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:15:47 GMT
+- request:
+ method: post
+ uri: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ body:
+ encoding: UTF-8
+ string: |+
+ <payment xmlns="http://www.elastic-payments.com/schema/payment">
+ <merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id>
+ <request-id>4979d1d8-1266-493b-90e0-b726fe184470</request-id>
+ <transaction-type>pending-debit</transaction-type>
+ <requested-amount currency="EUR">12.12</requested-amount>
+ <account-holder>
+ <first-name>John</first-name>
+ <last-name>Doe</last-name>
+ </account-holder>
+ <order-number>666</order-number>
+ <custom-fields>
+ <custom-field field-name="Company Name" field-value="gut.org"/>
+ </custom-fields>
+ <payment-methods>
+ <payment-method name="sepadirectdebit"/>
+ </payment-methods>
+ <bank-account>
+ <iban>DE42512308000000060004</iban>
+ <bic>WIREDEMMXXX</bic>
+ </bank-account>
+ <mandate>
+ <mandate-id>1235678</mandate-id>
+ <signed-date>2013-09-24</signed-date>
+ </mandate>
+ <creditor-id>DE00000000000000000000</creditor-id>
+ </payment>
+
+ headers:
+ User-Agent:
+ - Typhoeus - https://github.com/typhoeus/typhoeus
+ Content-Type:
+ - application/xml
+ response:
+ status:
+ code: 201
+ message: Created
+ headers:
+ Date:
+ - Tue, 28 Jul 2015 14:17:06 GMT
+ Content-Type:
+ - application/xml;charset=UTF-8
+ Content-Language:
+ - en-US
+ Content-Length:
+ - '1322'
+ Connection:
+ - close
+ body:
+ encoding: UTF-8
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><payment xmlns="http://www.elastic-payments.com/schema/payment"><merchant-account-id>4c901196-eff7-411e-82a3-5ef6b6860d64</merchant-account-id><transaction-id>5307e76e-3533-11e5-b074-005056a96a54</transaction-id><request-id>4979d1d8-1266-493b-90e0-b726fe184470</request-id><transaction-type>pending-debit</transaction-type><transaction-state>success</transaction-state><completion-time-stamp>2015-07-28T14:17:05.000Z</completion-time-stamp><statuses><status
+ code="201.0000" description="The resource was successfully created." severity="information"/></statuses><requested-amount
+ currency="EUR">12.12</requested-amount><account-holder><first-name>John</first-name><last-name>Doe</last-name></account-holder><order-number>666</order-number><custom-fields><custom-field
+ field-name="Company Name" field-value="gut.org"></custom-field></custom-fields><payment-methods><payment-method
+ name="sepadirectdebit"/></payment-methods><bank-account><iban>DE42512308000000060004</iban><bic>WIREDEMMXXX</bic></bank-account><mandate><mandate-id>1235678</mandate-id><signed-date>2013-09-24</signed-date></mandate><creditor-id>DE00000000000000000000</creditor-id><due-date>2015-07-31</due-date><provider-transaction-reference-id>3D2A0153D1</provider-transaction-reference-id></payment>
+ http_version: '1.1'
+ adapter_metadata:
+ effective_url: https://api-test.wirecard.com/engine/rest/paymentmethods/
+ recorded_at: Tue, 28 Jul 2015 14:17:06 GMT
recorded_with: VCR 2.9.3