-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b22d99
commit 4ea8662
Showing
12 changed files
with
234 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
content/samples/xml/multibanco_debit_notification_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<payment self="https://api-test.getneteurope.com:443/engine/rest/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4/payments/6690db34-d712-488b-b039-75fe50c4fb3b" xmlns="http://www.elastic-payments.com/schema/payment"> | ||
<merchant-account-id ref="https://api-test.getneteurope.com:443/engine/rest/config/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4">db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<transaction-id>6690db34-d712-488b-b039-75fe50c4fb3b</transaction-id> | ||
<request-id>628d20a7-88af-429d-bba0-ae04fc614cbb</request-id> | ||
<transaction-type>debit</transaction-type> | ||
<transaction-state>success</transaction-state> | ||
<completion-time-stamp>2023-09-04T09:31:40.000Z</completion-time-stamp> | ||
<statuses> | ||
<status code="201.0000" description="The resource was successfully created." severity="information"/> | ||
</statuses> | ||
<requested-amount currency="EUR">10.000000</requested-amount> | ||
<parent-transaction-id>4064dbc9-3d63-4950-b157-e5eaee15239d</parent-transaction-id> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description</descriptor> | ||
<custom-fields> | ||
<custom-field field-name="notificationID" field-value="40759c71-6f87-4019-a2fc-0631ef4c755c"/> | ||
</custom-fields> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
<expiration-date>2023-12-18T00:00:00.000Z</expiration-date> | ||
<sub-merchant-info> | ||
<payment-facilitator-id>45676</payment-facilitator-id> | ||
</sub-merchant-info> | ||
</payment> |
24 changes: 24 additions & 0 deletions
24
content/samples/xml/multibanco_pending_debit_notification_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment"> | ||
<merchant-account-id>db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<transaction-id>bea60808-bc45-4bbc-82a8-9629001ae196</transaction-id> | ||
<request-id>628d20a7-88af-429d-bba0-ae04fc614cbb</request-id> | ||
<transaction-type>pending-debit</transaction-type> | ||
<transaction-state>success</transaction-state> | ||
<completion-time-stamp>2023-07-26T08:42:44.000+03:00</completion-time-stamp> | ||
<statuses> | ||
<status code="201.0000" description="multibanco:The resource was successfully created." severity="information" /> | ||
</statuses> | ||
<requested-amount currency="EUR">55.55</requested-amount> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description 553bab5d-5181-4f13-a307-73c6361ff581</descriptor> | ||
<payment-methods> | ||
<payment-method name="multibanco" /> | ||
</payment-methods> | ||
<processing-redirect-url /> | ||
<expiration-date>2023-07-28T00:00:00.000Z</expiration-date> | ||
<provider-transaction-reference-id>572568023</provider-transaction-reference-id> | ||
<sub-merchant-info> | ||
<payment-facilitator-id>24000</payment-facilitator-id> | ||
</sub-merchant-info> | ||
</payment> |
16 changes: 16 additions & 0 deletions
16
content/samples/xml/multibanco_pending_debit_request_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment"> | ||
<merchant-account-id>db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<request-id>628d20a7-88af-429d-bba0-ae04fc614cbb</request-id> | ||
<transaction-type>pending-debit</transaction-type> | ||
<requested-amount currency="EUR">10.00</requested-amount> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description</descriptor> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
<browser> | ||
<user-agent>dmytro</user-agent> | ||
<ip-address>127.0.0.1</ip-address> | ||
</browser> | ||
<expiration-date>2023-12-18T00:00:00.000Z</expiration-date> | ||
</payment> |
23 changes: 23 additions & 0 deletions
23
content/samples/xml/multibanco_pending_debit_response_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment"> | ||
<merchant-account-id>db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<transaction-id>bea60808-bc45-4bbc-82a8-9629001ae196</transaction-id> | ||
<request-id>628d20a7-88af-429d-bba0-ae04fc614cbb</request-id> | ||
<transaction-type>pending-debit</transaction-type> | ||
<transaction-state>success</transaction-state> | ||
<completion-time-stamp>2023-07-26T05:37:42.000Z</completion-time-stamp> | ||
<statuses> | ||
<status code="201.0000" description="The resource was successfully created." severity="information"/> | ||
</statuses> | ||
<requested-amount currency="EUR">10.00</requested-amount> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description</descriptor> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
<expiration-date>2023-12-18T00:00:00.000Z</expiration-date> | ||
<provider-transaction-reference-id>572568023</provider-transaction-reference-id> | ||
<sub-merchant-info> | ||
<payment-facilitator-id>45676</payment-facilitator-id> | ||
</sub-merchant-info> | ||
</payment> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://api-test.getneteurope.com/engine/rest/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4/payments/search?payment.request-id=628d20a7-88af-429d-bba0-ae04fc614cbb |
26 changes: 26 additions & 0 deletions
26
content/samples/xml/multibanco_query_debit_response_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.getneteurope.com:443/engine/rest/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4/payments/6690db34-d712-488b-b039-75fe50c4fb3b"> | ||
<merchant-account-id ref="https://api-test.getneteurope.com:443/engine/rest/config/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4">db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<transaction-id>6690db34-d712-488b-b039-75fe50c4fb3b</transaction-id> | ||
<request-id>628d20a7-88af-429d-bba0-ae04fc614cbb</request-id> | ||
<transaction-type>debit</transaction-type> | ||
<transaction-state>success</transaction-state> | ||
<completion-time-stamp>2023-09-04T09:31:40.000Z</completion-time-stamp> | ||
<statuses> | ||
<status code="201.0000" description="The resource was successfully created." severity="information"/> | ||
</statuses> | ||
<requested-amount currency="EUR">10.000000</requested-amount> | ||
<parent-transaction-id>4064dbc9-3d63-4950-b157-e5eaee15239d</parent-transaction-id> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description</descriptor> | ||
<custom-fields> | ||
<custom-field field-name="notificationID" field-value="40759c71-6f87-4019-a2fc-0631ef4c755c"/> | ||
</custom-fields> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
<expiration-date>2023-12-18T00:00:00.000Z</expiration-date> | ||
<sub-merchant-info> | ||
<payment-facilitator-id>45676</payment-facilitator-id> | ||
</sub-merchant-info> | ||
</payment> |
24 changes: 24 additions & 0 deletions
24
content/samples/xml/multibanco_refund_debit_notification_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment"> | ||
<merchant-account-id>db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<transaction-id>7c50e72e-850f-4cc1-a2af-a12f89b45418</transaction-id> | ||
<request-id>628d20a7-88af-429d-bba0-ae04fc614cb2</request-id> | ||
<transaction-type>refund-debit</transaction-type> | ||
<transaction-state>success</transaction-state> | ||
<completion-time-stamp>2023-09-04T12:10:46.000Z</completion-time-stamp> | ||
<statuses> | ||
<status code="201.0000" description="multibanco:The resource was successfully created." severity="information"/> | ||
</statuses> | ||
<requested-amount currency="EUR">10.00</requested-amount> | ||
<parent-transaction-id>6690db34-d712-488b-b039-75fe50c4fb3b</parent-transaction-id> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description</descriptor> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
<parent-transaction-amount currency="EUR">10.000000</parent-transaction-amount> | ||
<expiration-date>2023-12-18T00:00:00.000Z</expiration-date> | ||
<sub-merchant-info> | ||
<payment-facilitator-id>45676</payment-facilitator-id> | ||
</sub-merchant-info> | ||
</payment> |
11 changes: 11 additions & 0 deletions
11
content/samples/xml/multibanco_refund_debit_request_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment"> | ||
<merchant-account-id>db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<request-id>628d20a7-88af-429d-bba0-ae04fc614cb2</request-id> | ||
<transaction-type>refund-debit</transaction-type> | ||
<requested-amount currency="EUR">10.00</requested-amount> | ||
<parent-transaction-id>6690db34-d712-488b-b039-75fe50c4fb3b</parent-transaction-id> | ||
<order-detail>021234</order-detail> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
</payment> |
24 changes: 24 additions & 0 deletions
24
content/samples/xml/multibanco_refund_debit_response_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.getneteurope.com:443/engine/rest/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4/payments/7c50e72e-850f-4cc1-a2af-a12f89b45418"> | ||
<merchant-account-id ref="https://api-test.getneteurope.com:443/engine/rest/config/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4">db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<transaction-id>7c50e72e-850f-4cc1-a2af-a12f89b45418</transaction-id> | ||
<request-id>628d20a7-88af-429d-bba0-ae04fc614cb2</request-id> | ||
<transaction-type>refund-debit</transaction-type> | ||
<transaction-state>success</transaction-state> | ||
<completion-time-stamp>2023-09-04T12:10:46.000Z</completion-time-stamp> | ||
<statuses> | ||
<status code="201.0000" description="multibanco:The resource was successfully created." severity="information"/> | ||
</statuses> | ||
<requested-amount currency="EUR">10.00</requested-amount> | ||
<parent-transaction-id>6690db34-d712-488b-b039-75fe50c4fb3b</parent-transaction-id> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description</descriptor> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
<parent-transaction-amount currency="EUR">10.000000</parent-transaction-amount> | ||
<expiration-date>2023-12-18T00:00:00.000Z</expiration-date> | ||
<sub-merchant-info> | ||
<payment-facilitator-id>45676</payment-facilitator-id> | ||
</sub-merchant-info> | ||
</payment> |
24 changes: 24 additions & 0 deletions
24
content/samples/xml/multibanco_void_pending_debit_notification_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment"> | ||
<merchant-account-id>db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<transaction-id>12463829-2599-4ebc-861b-b3a6a589d0da</transaction-id> | ||
<request-id>faff3c15-2899-4518-ba04-a082db8731f4</request-id> | ||
<transaction-type>void-pending-debit</transaction-type> | ||
<transaction-state>success</transaction-state> | ||
<completion-time-stamp>2023-09-04T12:16:25.000Z</completion-time-stamp> | ||
<statuses> | ||
<status code="201.0000" description="multibanco:The resource was successfully created." severity="information"/> | ||
</statuses> | ||
<requested-amount currency="EUR">10.00</requested-amount> | ||
<parent-transaction-id>d72a6bec-7a03-4426-bbf8-bf708150527d</parent-transaction-id> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description</descriptor> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
<parent-transaction-amount currency="EUR">10.000000</parent-transaction-amount> | ||
<expiration-date>2023-12-18T00:00:00.000Z</expiration-date> | ||
<sub-merchant-info> | ||
<payment-facilitator-id>45676</payment-facilitator-id> | ||
</sub-merchant-info> | ||
</payment> |
11 changes: 11 additions & 0 deletions
11
content/samples/xml/multibanco_void_pending_debit_request_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment"> | ||
<merchant-account-id>db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<request-id>faff3c15-2899-4518-ba04-a082db8731f4</request-id> | ||
<transaction-type>void-pending-debit</transaction-type> | ||
<requested-amount currency="EUR">10.00</requested-amount> | ||
<parent-transaction-id>d72a6bec-7a03-4426-bbf8-bf708150527d</parent-transaction-id> | ||
<order-detail>021234</order-detail> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
</payment> |
24 changes: 24 additions & 0 deletions
24
content/samples/xml/multibanco_void_pending_debit_response_success.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<payment xmlns="http://www.elastic-payments.com/schema/payment" self="https://api-test.getneteurope.com:443/engine/rest/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4/payments/12463829-2599-4ebc-861b-b3a6a589d0da"> | ||
<merchant-account-id ref="https://api-test.getneteurope.com:443/engine/rest/config/merchants/db22a514-b32d-4315-af8c-91626ec2c5e4">db22a514-b32d-4315-af8c-91626ec2c5e4</merchant-account-id> | ||
<transaction-id>12463829-2599-4ebc-861b-b3a6a589d0da</transaction-id> | ||
<request-id>faff3c15-2899-4518-ba04-a082db8731f4</request-id> | ||
<transaction-type>void-pending-debit</transaction-type> | ||
<transaction-state>success</transaction-state> | ||
<completion-time-stamp>2023-09-04T12:16:25.000Z</completion-time-stamp> | ||
<statuses> | ||
<status code="201.0000" description="multibanco:The resource was successfully created." severity="information"/> | ||
</statuses> | ||
<requested-amount currency="EUR">10.00</requested-amount> | ||
<parent-transaction-id>d72a6bec-7a03-4426-bbf8-bf708150527d</parent-transaction-id> | ||
<order-detail>021234</order-detail> | ||
<descriptor>description</descriptor> | ||
<payment-methods> | ||
<payment-method name="multibanco"/> | ||
</payment-methods> | ||
<parent-transaction-amount currency="EUR">10.000000</parent-transaction-amount> | ||
<expiration-date>2023-12-18T00:00:00.000Z</expiration-date> | ||
<sub-merchant-info> | ||
<payment-facilitator-id>45676</payment-facilitator-id> | ||
</sub-merchant-info> | ||
</payment> |