OVPAY-2103 - Added ovPayToken info to get orders.

This commit is contained in:
Bas Boterman 2025-11-21 14:36:29 +01:00
parent 3230465cbb
commit a4f33c5439

View File

@ -119,7 +119,9 @@ paths:
} }
List with multiple orders: List with multiple orders:
summary: List with two orders summary: List with two orders
description: List with two orders description: |
List with two orders. Note how the second order is a concept order and therefore has
more token information than the first order which is already paid.
value: value:
{ {
"orders": "orders":
@ -309,6 +311,22 @@ paths:
}, },
"oneTimePassword": "H5Iiz3JTaQeIV8p", "oneTimePassword": "H5Iiz3JTaQeIV8p",
}, },
"ovPayToken": {
"customerProfileId": 1,
"ovPayTokenId": 1,
"xTat": "32089cc8-d187-47ff-a3a9-5c2558def811",
"tokenType": {
"tokenTypeId": 2,
"name": "OV-pas physical"
},
"alias": "MyToken",
"tokenStatus": {
"tokenStatusId": 2,
"name": "Active"
},
"expirationDate": "2028-02-01",
"replacedByTokenId": null
},
"autoReloadRegistration": "autoReloadRegistration":
{ {
"autoReloadAmount": 500, "autoReloadAmount": 500,
@ -633,9 +651,14 @@ paths:
schema: schema:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
examples: examples:
v2.2: Order with status concept:
summary: Order details v2.2 summary: Order with status concept
description: Order details v2.2 description: Order with status concept
value:
{ }
Order with status paid:
summary: Order with status paid
description: Order with status paid
value: value:
{ {
"validContents": null, "validContents": null,