feature/OVPAY-1126 #2

Merged
bboterm merged 12 commits from feature/OVPAY-1126 into develop 2024-11-07 12:42:23 +00:00
Showing only changes of commit 197f1e07f6 - Show all commits

View File

@ -803,8 +803,8 @@ paths:
required: true
description: The id of the order to process.
post:
summary: P2. Add one or more payments to an order.
description: Add one or more payments to an order.
summary: P2. Add a payment to an order.
description: Add a payment to an order.
tags:
- Payment
requestBody:
@ -813,36 +813,34 @@ paths:
schema:
$ref: "#/components/schemas/unavailable"
example:
[
{
"createdOn": "2024-03-22T09:00:00",
"amountDebit": 121,
"paymentMethodId": 1,
"touchPointId": 1,
"isRefund": false,
"htmPaymentReference": "HTM-1234",
"pspPaymentReference": "Buckaroo-1234",
"paymentStatuses":
[
{
"createdOn": "2024-03-22T09:00:00",
"statusCode": "190",
"statusDescription": "Success",
"statusSubCode": "S001",
"statusSubDescription": "PaymentSuccessFul",
},
],
"mandateInput":
{
"createdOn": "2024-03-22T09:00:00",
"amountDebit": 121,
"paymentMethodId": 1,
"touchPointId": 1,
"isRefund": false,
"htmPaymentReference": "HTM-1234",
"pspPaymentReference": "Buckaroo-1234",
"paymentStatuses":
[
{
"directDebitMandateTypeId": 1,
"createdOn": "2024-03-22T09:00:00",
"bic": "RABONL2U",
"iban": "NL44RABO0123456789",
"ascription": "J. de Vries",
"place": "Den Haag",
"statusCode": "190",
"statusDescription": "Success",
"statusSubCode": "S001",
"statusSubDescription": "PaymentSuccessFul",
},
},
]
],
"mandateInput":
{
"directDebitMandateTypeId": 1,
"createdOn": "2024-03-22T09:00:00",
"bic": "RABONL2U",
"iban": "NL44RABO0123456789",
"ascription": "J. de Vries",
"place": "Den Haag",
},
}
responses:
"201":
description: Created