From 46ef51218acbc0e90642d53dcecefeac7d6d74f1 Mon Sep 17 00:00:00 2001 From: LTemple-TW <116636266+LTemple-TW@users.noreply.github.com> Date: Tue, 19 Sep 2023 10:24:06 +0300 Subject: [PATCH] Uploading Multibanco samples --- ...banco_pending-debit+_response_decoded.json | 44 +++++++++++++++++++ ...PPv2_multibanco_pending_debit_request.json | 25 +++++++++++ 2 files changed, 69 insertions(+) create mode 100644 content/samples/json/PPv2_multibanco_pending-debit+_response_decoded.json create mode 100644 content/samples/json/PPv2_multibanco_pending_debit_request.json diff --git a/content/samples/json/PPv2_multibanco_pending-debit+_response_decoded.json b/content/samples/json/PPv2_multibanco_pending-debit+_response_decoded.json new file mode 100644 index 000000000..65d19ff0e --- /dev/null +++ b/content/samples/json/PPv2_multibanco_pending-debit+_response_decoded.json @@ -0,0 +1,44 @@ +{ + "payment": { + "statuses": { + "status": [ + { + "code": "201.0000", + "description": "multibanco:The resource was successfully created.", + "severity": "information" + } + ] + }, + "descriptor": "test", + "merchant-account-id": { + "value": "db22a514-b32d-4315-af8c-91626ec2c5e4" + }, + "transaction-id": "b23a452c-59ef-4050-8a73-517434b5f3fa", + "request-id": "0a4f9122-ba34-4506-8709-c80ff6817611", + "transaction-type": "pending-debit", + "transaction-state": "success", + "completion-time-stamp": 1694093273000, + "requested-amount": { + "value": 10.00, + "currency": "EUR" + }, + "order-number": "125461645", + "payment-methods": { + "payment-method": [ + { + "name": "multibanco", + "payload": "" + } + ] + }, + "api-id": "wpp", + "cancel-redirect-url": "https://demoshop-test.getneteurope.com/demoshop/#/cancel", + "fail-redirect-url": "https://demoshop-test.getneteurope.com/demoshop/#/error", + "success-redirect-url": "https://demoshop-test.getneteurope.com/demoshop/#/success", + "expiration-date": 1694352471594, + "provider-transaction-reference-id": "412329548", + "sub-merchant-info": { + "payment-facilitator-id": "45676" + } + } +} \ No newline at end of file diff --git a/content/samples/json/PPv2_multibanco_pending_debit_request.json b/content/samples/json/PPv2_multibanco_pending_debit_request.json new file mode 100644 index 000000000..73a3229a2 --- /dev/null +++ b/content/samples/json/PPv2_multibanco_pending_debit_request.json @@ -0,0 +1,25 @@ +{ + "payment": { + "merchant-account-id": { + "value": "db22a514-b32d-4315-af8c-91626ec2c5e4" + }, + "request-id": "0a4f9122-ba34-4506-8709-c80ff6817611", + "transaction-type": "pending-debit", + "requested-amount": { + "value": "10.00", + "currency": "EUR" + }, + "order-number": "125461645", + "payment-methods": { + "payment-method": [ + { + "name": "multibanco" + } + ] + }, + "descriptor": "test", + "success-redirect-url" : "https://demoshop-test.getneteurope.com/demoshop/#/success", + "cancel-redirect-url": "https://demoshop-test.getneteurope.com/demoshop/#/cancel", + "fail-redirect-url": "https://demoshop-test.getneteurope.com/demoshop/#/error" + } +} \ No newline at end of file