Add ovPasNumber and verificationCode, make birthDate optional, change type of amount to integer
This commit is contained in:
parent
5ec911727b
commit
b7d8eff312
@ -24,7 +24,7 @@ paths:
|
|||||||
example: 2025-03-20
|
example: 2025-03-20
|
||||||
- name: birthDate
|
- name: birthDate
|
||||||
in: query
|
in: query
|
||||||
required: true
|
required: false
|
||||||
description: Birthdate of the OVpay-token holder
|
description: Birthdate of the OVpay-token holder
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
@ -57,8 +57,22 @@ paths:
|
|||||||
required: false
|
required: false
|
||||||
description: amount belonging to the serviceReferenceId
|
description: amount belonging to the serviceReferenceId
|
||||||
schema:
|
schema:
|
||||||
type: number
|
type: integer
|
||||||
example: 100
|
example: 100
|
||||||
|
- name: ovPasNumber
|
||||||
|
in: query
|
||||||
|
required: false
|
||||||
|
description: OVpas number of the customer's selected token
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: "63AW974"
|
||||||
|
- name: verificationCode
|
||||||
|
in: query
|
||||||
|
required: false
|
||||||
|
description: verification code belonging to the OVpas number
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
example: 1A3C7D
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -80,7 +94,7 @@ paths:
|
|||||||
{
|
{
|
||||||
"type": "https://www.htm.nl/api/v1/400Error",
|
"type": "https://www.htm.nl/api/v1/400Error",
|
||||||
"title": "Missing parameter(s)",
|
"title": "Missing parameter(s)",
|
||||||
"detail": "At least one of the following parameters must be present: ovPayTokenId, customerTokenId, (serviceReferenceId and amount)",
|
"detail": "At least one of the following parameters must be present: birthDate, ovPayTokenId, customerTokenId, (serviceReferenceId and amount), (ovPasNumber and verificationCode)",
|
||||||
"instance": "urn:uuid:13c8416f-7632-4c8b-8a16-2132197be60c",
|
"instance": "urn:uuid:13c8416f-7632-4c8b-8a16-2132197be60c",
|
||||||
"apiErrorCode": "htm.api.err.400.2",
|
"apiErrorCode": "htm.api.err.400.2",
|
||||||
}
|
}
|
||||||
@ -119,7 +133,7 @@ components:
|
|||||||
- gboAgeProfileId
|
- gboAgeProfileId
|
||||||
- name
|
- name
|
||||||
- ageFromInclusive
|
- ageFromInclusive
|
||||||
- ageUntilInclusive
|
- ageToInclusive
|
||||||
properties:
|
properties:
|
||||||
gboAgeProfileId:
|
gboAgeProfileId:
|
||||||
type: integer
|
type: integer
|
||||||
@ -130,7 +144,7 @@ components:
|
|||||||
ageFromInclusive:
|
ageFromInclusive:
|
||||||
type: integer
|
type: integer
|
||||||
example: 4
|
example: 4
|
||||||
ageUntilInclusive:
|
ageToInclusive:
|
||||||
type: integer
|
type: integer
|
||||||
example: 11
|
example: 11
|
||||||
rfc9457Response:
|
rfc9457Response:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user