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 required: true
description: The id of the order to process. description: The id of the order to process.
post: post:
summary: P2. Add one or more payments to an order. summary: P2. Add a payment to an order.
description: Add one or more payments to an order. description: Add a payment to an order.
tags: tags:
- Payment - Payment
requestBody: requestBody:
@ -813,7 +813,6 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
[
{ {
"createdOn": "2024-03-22T09:00:00", "createdOn": "2024-03-22T09:00:00",
"amountDebit": 121, "amountDebit": 121,
@ -841,8 +840,7 @@ paths:
"ascription": "J. de Vries", "ascription": "J. de Vries",
"place": "Den Haag", "place": "Den Haag",
}, },
}, }
]
responses: responses:
"201": "201":
description: Created description: Created