From c35c44a1cfba77395ebbe1f94057155e24a0c57e Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Wed, 8 Apr 2026 09:59:09 +0200 Subject: [PATCH 1/3] OVPAY-2503 - Added ovPasNumber and volgnummer to claims request. --- src/openapi/claims/claims-forms.yaml | 32 +++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/src/openapi/claims/claims-forms.yaml b/src/openapi/claims/claims-forms.yaml index 2404337..dbe7d00 100644 --- a/src/openapi/claims/claims-forms.yaml +++ b/src/openapi/claims/claims-forms.yaml @@ -47,8 +47,6 @@ paths: toelichting: string lijn: '1' vervoertype: '1' - serviceRefId: '1' - Totaalbedrag: 0 EMV: value: aankomsthalte: '1' @@ -67,8 +65,28 @@ paths: toelichting: string lijn: '1' vervoertype: '1' - serviceRefId: '1' - Totaalbedrag: 0 + serviceRefId: 'NLOV1234567ABCDEFG' + totaalbedrag: 400 + OV-pas: + value: + aankomsthalte: '1' + instapdatum: '2024-03-06T15:20:44.549Z' + instaptijd: '2024-03-06T15:20:44.549Z' + ingecheckt: true + uitgecheckt: true + afgeschrevenbedrag: 0 + vertrekhalte: string + korting: true + iban: '1234123412341234' + naam: string + emailadres: user@example.com + uitstaptijd: '2024-03-06T15:20:44.549Z' + verwachtbedrag: 0 + toelichting: string + lijn: '1' + vervoertype: '1' + ovPasNumber: '63AW974' + volgnummer: '2FQ8' responses: '200': description: ok @@ -201,9 +219,13 @@ components: type: string serviceRefId: type: string - Totaalbedrag: + totaalbedrag: type: number format: float + ovPasNumber: + type: string + volgnummer: + type: string refundsEntity: required: - emailAddress From b59b8ca32b6e648c05b0024d2eb737b2c954c27b Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Wed, 8 Apr 2026 16:23:48 +0200 Subject: [PATCH 2/3] OVPAY-2503 - Added volgnummer to refund request. --- src/openapi/claims/claims-forms.yaml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/openapi/claims/claims-forms.yaml b/src/openapi/claims/claims-forms.yaml index dbe7d00..c9f4a01 100644 --- a/src/openapi/claims/claims-forms.yaml +++ b/src/openapi/claims/claims-forms.yaml @@ -66,7 +66,7 @@ paths: lijn: '1' vervoertype: '1' serviceRefId: 'NLOV1234567ABCDEFG' - totaalbedrag: 400 + totaalbedrag: 3.14 OV-pas: value: aankomsthalte: '1' @@ -86,7 +86,7 @@ paths: lijn: '1' vervoertype: '1' ovPasNumber: '63AW974' - volgnummer: '2FQ8' + verificationCode: '2FQ8' responses: '200': description: ok @@ -121,18 +121,19 @@ paths: examples: EMV: value: - emailAddress: 'j.beek@htm.nl' + emailAddress: 'stasjo@htm.nl' orderNumber: 'ORD1000046' serviceReferenceId: 'NLOVA5BCD124H3Z21X' amount: 2305 iban: 'NL98INGB0003856625' orderDate: '2025-01-13' productName: 'HTM 20% korting' - OVpas: + OV-pas: value: - emailAddress: 'j.beek@htm.nl' + emailAddress: 'stasjo@htm.nl' orderNumber: 'ORD1000046' ovpasNumber: '63AW974' + verificationCode: '2FQ8' iban: 'NL98INGB0003856625' orderDate: '2025-01-13' productName: 'HTM 20% korting' @@ -199,7 +200,7 @@ components: iban: type: string description: String of length between 15 en 32 characters - example: '1234123412341234' + example: NL98INGB0003856625 naam: type: string emailadres: @@ -219,13 +220,16 @@ components: type: string serviceRefId: type: string + example: NLOV1234567ABCDEFG totaalbedrag: type: number format: float ovPasNumber: type: string - volgnummer: + example: 63AW974 + verificationCode: type: string + example: 2FQ8 refundsEntity: required: - emailAddress @@ -235,7 +239,7 @@ components: emailAddress: type: string format: email - example: j.beek@htm.nl + example: stasjo@htm.nl orderNumber: type: string example: ORD1000046 @@ -248,6 +252,9 @@ components: ovpasNumber: type: string example: 63AW974 + verificationCode: + type: string + example: 2FQ8 iban: type: string example: NL00RABO000001337 From 8dd6f7211ba4bc40628897e2c6be11a97d69d817 Mon Sep 17 00:00:00 2001 From: Max Martens Date: Wed, 8 Apr 2026 16:08:21 +0000 Subject: [PATCH 3/3] Small update to description --- src/openapi/claims/claims-forms.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/openapi/claims/claims-forms.yaml b/src/openapi/claims/claims-forms.yaml index c9f4a01..0b37a0d 100644 --- a/src/openapi/claims/claims-forms.yaml +++ b/src/openapi/claims/claims-forms.yaml @@ -17,10 +17,10 @@ paths: description: > Create a claim by sending a JSON as specified in the schema. By specifying the chipcardnumber under 'chipkaart', - - a claim for OV chipcard will be send to the OVC API. If no - chipcardnumber is specified under 'chipkaart', a claim for EMV is send - to mendix. + a claim for OV chipcard will be sent to the OVC API. If no + chipcardnumber is specified under 'chipkaart', a claim for EMV/OV-pas is sent + to Mendix, where it can be handled according to the fields present + (serviceRefId + totaalbedrag or ovPasNumber + verificationCode) parameters: [] requestBody: content: