OVPAY-1564 - Added token information to POST orders.
This commit is contained in:
parent
383ea04bcc
commit
79dbbe14ff
@ -975,7 +975,11 @@ paths:
|
|||||||
tags:
|
tags:
|
||||||
- Order Creation v2.0
|
- Order Creation v2.0
|
||||||
summary: Create a new order 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:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
@ -999,7 +1003,24 @@ paths:
|
|||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"validFrom": "2024-03-22T09:00:00",
|
"validFrom": "2024-03-22T09:00:00",
|
||||||
"validUntil": null,
|
"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,
|
"validUntil": null,
|
||||||
"orderLineStatus":
|
"orderLineStatus":
|
||||||
{ "orderLineStatusId": 1, "name": "pending" },
|
{ "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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user