OVPAY-1564 - Adjusted POST /payments request and response body.
This commit is contained in:
parent
bec2e990fb
commit
4702ddae4a
@ -1702,10 +1702,7 @@ paths:
|
||||
v2.1:
|
||||
summary: Order update v2.1
|
||||
description: Order update v2.1
|
||||
value:
|
||||
{
|
||||
"languageId": 1,
|
||||
}
|
||||
value: { "languageId": 1 }
|
||||
v1.2:
|
||||
summary: Order update v1.2
|
||||
description: Order update v1.2
|
||||
@ -2485,7 +2482,9 @@ paths:
|
||||
examples:
|
||||
v2.1:
|
||||
summary: Add a payment v2.1
|
||||
description: Add a payment v2.1
|
||||
description: |
|
||||
Add a payment for a concept order. Note how it is not allowed to add a payment status or an external
|
||||
payment reference when adding a payment to a concept order.
|
||||
value:
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
@ -2493,9 +2492,6 @@ paths:
|
||||
"paymentMethodId": 1,
|
||||
"isRefund": false,
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
"pspPaymentReference": null,
|
||||
"paymentStatuses": [],
|
||||
"mandateInput": null,
|
||||
}
|
||||
v1.2:
|
||||
summary: Order creation v1.2
|
||||
@ -2712,17 +2708,7 @@ paths:
|
||||
"isRefund": false,
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
"pspPaymentReference": null,
|
||||
"paymentStatuses":
|
||||
[
|
||||
{
|
||||
"paymentStatusId": "42eee610-1a17-4f02-be14-7e25d69d35f3",
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"statusCode": "?",
|
||||
"statusDescription": "Initiated",
|
||||
"statusSubCode": "?",
|
||||
"statusSubDescription": "PaymentInitiated",
|
||||
},
|
||||
],
|
||||
"paymentStatuses": [],
|
||||
"mandateInput": null,
|
||||
},
|
||||
],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user