develop #5

Merged
bboterm merged 14 commits from develop into main 2024-11-07 12:43:23 +00:00
Showing only changes of commit 197f1e07f6 - Show all commits

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,36 +813,34 @@ 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, "paymentMethodId": 1,
"paymentMethodId": 1, "touchPointId": 1,
"touchPointId": 1, "isRefund": false,
"isRefund": false, "htmPaymentReference": "HTM-1234",
"htmPaymentReference": "HTM-1234", "pspPaymentReference": "Buckaroo-1234",
"pspPaymentReference": "Buckaroo-1234", "paymentStatuses":
"paymentStatuses": [
[
{
"createdOn": "2024-03-22T09:00:00",
"statusCode": "190",
"statusDescription": "Success",
"statusSubCode": "S001",
"statusSubDescription": "PaymentSuccessFul",
},
],
"mandateInput":
{ {
"directDebitMandateTypeId": 1,
"createdOn": "2024-03-22T09:00:00", "createdOn": "2024-03-22T09:00:00",
"bic": "RABONL2U", "statusCode": "190",
"iban": "NL44RABO0123456789", "statusDescription": "Success",
"ascription": "J. de Vries", "statusSubCode": "S001",
"place": "Den Haag", "statusSubDescription": "PaymentSuccessFul",
}, },
}, ],
] "mandateInput":
{
"directDebitMandateTypeId": 1,
"createdOn": "2024-03-22T09:00:00",
"bic": "RABONL2U",
"iban": "NL44RABO0123456789",
"ascription": "J. de Vries",
"place": "Den Haag",
},
}
responses: responses:
"201": "201":
description: Created description: Created