Skip to content

Commit

Permalink
Uploading Multibanco samples
Browse files Browse the repository at this point in the history
  • Loading branch information
LTemple-TW authored Sep 19, 2023
1 parent 4ea8662 commit 46ef512
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
25 changes: 25 additions & 0 deletions content/samples/json/PPv2_multibanco_pending_debit_request.json
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 46ef512

Please sign in to comment.