diff --git a/src/openapi/orders/SE-orders-gboAgeProfile.yaml b/src/openapi/orders/SE-orders-gboAgeProfile.yaml index 31e9d54..a3a23a4 100644 --- a/src/openapi/orders/SE-orders-gboAgeProfile.yaml +++ b/src/openapi/orders/SE-orders-gboAgeProfile.yaml @@ -24,7 +24,7 @@ paths: example: 2025-03-20 - name: birthDate in: query - required: true + required: false description: Birthdate of the OVpay-token holder schema: type: string @@ -57,8 +57,22 @@ paths: required: false description: amount belonging to the serviceReferenceId schema: - type: number + type: integer 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: "200": description: OK @@ -80,7 +94,7 @@ paths: { "type": "https://www.htm.nl/api/v1/400Error", "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", "apiErrorCode": "htm.api.err.400.2", } @@ -119,7 +133,7 @@ components: - gboAgeProfileId - name - ageFromInclusive - - ageUntilInclusive + - ageToInclusive properties: gboAgeProfileId: type: integer @@ -130,7 +144,7 @@ components: ageFromInclusive: type: integer example: 4 - ageUntilInclusive: + ageToInclusive: type: integer example: 11 rfc9457Response: