OVPAY-1126 - Payments should always be added in single.

This commit is contained in:
Bas Boterman 2024-10-25 09:57:04 +02:00
parent aac4254e2e
commit 197f1e07f6

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,7 +813,6 @@ paths:
schema:
$ref: "#/components/schemas/unavailable"
example:
[
{
"createdOn": "2024-03-22T09:00:00",
"amountDebit": 121,
@ -841,8 +840,7 @@ paths:
"ascription": "J. de Vries",
"place": "Den Haag",
},
},
]
}
responses:
"201":
description: Created