develop #38

Merged
bboterm merged 451 commits from develop into main 2025-11-19 14:28:14 +00:00
Showing only changes of commit 79dbbe14ff - Show all commits

View File

@ -975,7 +975,11 @@ paths:
tags:
- Order Creation v2.0
summary: Create a new order v2.0.
description: Create a new order v2.0.
description: |
Create a new order v2.0. This order can only contain the order itself,
one ore more order lines and optionally a customer token per order line.
All orders created via this endpoint are created with the status "concept".
Order lines are created with status "pending".
requestBody:
content:
application/json:
@ -999,7 +1003,24 @@ paths:
"quantity": 1,
"validFrom": "2024-03-22T09:00:00",
"validUntil": null,
"orderLineStatusId": 1,
"customerTokens":
[
{
"tokenTypeId": 1,
"ovPayTokenId": 1,
"serviceReferenceId": "NLOV1234567ABCDEFG",
"amount": 34,
"ovpasNumber": "OV34567",
"verificationCode": "A7H6",
"personalAccountData":
{
"name": "John Doe",
"dateOfBirth": "1980-01-01",
"gender": "male",
"countryOfResidence": "NL",
},
},
],
},
],
}
@ -1310,6 +1331,27 @@ paths:
"validUntil": null,
"orderLineStatus":
{ "orderLineStatusId": 1, "name": "pending" },
"customerTokens":
[
{
"customerTokenId": "878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e",
"tokenType":
{ "tokenTypeId": 1, "name": "EMV" },
"ovPayTokenId": 1,
"serviceReferenceId": "NLOV1234567ABCDEFG",
"amount": 34,
"ovpasNumber": "OV34567",
"verificationCode": "A7H6",
"personalAccountData":
{
"personalAccountDataId": "47db8a40-3238-4bf5-9284-759e3888bd47",
"name": "John Doe",
"dateOfBirth": "1980-01-01",
"gender": "male",
"countryOfResidence": "NL",
},
},
],
},
],
},