From 8f8a044fdea27ef774a32d8daae1a181a220a52e Mon Sep 17 00:00:00 2001 From: Mirjam Herald Date: Mon, 17 Feb 2025 14:26:37 +0100 Subject: [PATCH] tokens --- src/openapi/customers/customers-crud-v2.yaml | 139 ++----------------- 1 file changed, 9 insertions(+), 130 deletions(-) diff --git a/src/openapi/customers/customers-crud-v2.yaml b/src/openapi/customers/customers-crud-v2.yaml index 69bb821..969281a 100644 --- a/src/openapi/customers/customers-crud-v2.yaml +++ b/src/openapi/customers/customers-crud-v2.yaml @@ -1123,7 +1123,7 @@ paths: post: tags: - Ovpay Token - summary: Create a new OVpay token + summary: Create a new ovpay token description: >- parameters: @@ -1174,7 +1174,7 @@ paths: patch: tags: - Ovpay Token - summary: Create a new OVpay token + summary: Update an ovpay token description: >- parameters: @@ -1218,7 +1218,7 @@ paths: delete: tags: - Ovpay Token - summary: Delete an Ovpay token + summary: Delete an ovpay token description: >- parameters: @@ -1242,8 +1242,8 @@ paths: get: tags: - Ovpay Token - summary: Find OVpay tokens. - description: Find OVpay tokens. + summary: Find ovpay tokens. + description: Find ovpay tokens. parameters: - in: query name: ovPayTokenId @@ -1365,7 +1365,7 @@ paths: post: tags: - Ovchipcard - summary: Create a new OVchipcard + summary: Create a new ovchipcard description: >- parameters: @@ -1438,11 +1438,11 @@ paths: delete: tags: - Ovchipcard - summary: Delete an Ovpay token + summary: Delete an ovchipcard description: >- parameters: - - name: ovpaytokenId + - name: ovchipcardId in: path required: true schema: @@ -1450,7 +1450,7 @@ paths: example: 2 responses: 200: - description: Successfully deleted a customer ovpaytoken + description: Successfully deleted a customer ovchipcard content: application/json: {} @@ -1458,127 +1458,6 @@ paths: - default: [] x-auth-type: Application & Application User x-throttling-tier: Unlimited - tags: - - Ovpay Token - summary: Find OVpay tokens. - description: Find OVpay tokens. - parameters: - - in: query - name: ovPayTokenId - schema: - type: integer - example: 71 - required: false - description: The id of the token. - - in: query - name: customerProfileId - schema: - type: integer - example: 12 - required: false - description: The id of the customer profile. - - in: query - name: tokenTypeId - schema: - type: array - items: - type: integer - example: [1, 2] - explode: false - required: false - description: Filter on possible token types. 1 = EMV, 2 = OV-pas physical, 3 = OV-pas digital. - - in: query - name: xTat - schema: - type: string - format: uuid - example: 700b0516-bf8b-4e6e-bf16-13bfeb078e23 - explode: false - required: false - description: The XTAT of the token. - - in: query - name: xBot - schema: - type: string - format: uuid - example: de1a9a7a-a777-4473-889c-44a3bb07daae - explode: false - required: false - description: The XBOT of the token. - - in: query - name: alias - schema: - type: string - example: Mijn OV-pas - required: false - description: The alias of the token. - - in: query - name: lastDigits - schema: - type: integer - example: 3301 - required: false - description: The last digits of the token. - - in: query - name: ovpasNumber - schema: - type: string - example: 63AW974 - required: false - description: Number of the OVpas. - - in: query - name: tokenStatusId - schema: - type: array - items: - type: integer - example: [1, 2] - explode: false - required: false - description: Filter on possible token statuses. 1 = expired, 2 = active, 3 = replaced, 4 = inactive, 5 = suspended, 6 = removed by customer. - - in: query - name: expirationDate - schema: - type: string - format: date-time - example: 2029-03-22T09:00:00 - required: false - description: The expiration date of the token. - - in: query - name: replacedByTokenId - schema: - type: integer - example: 12 - required: false - description: The id of the token that replaced this token. - responses: - 200: - description: OK - content: - application/json: - schema: - $ref: "#/components/schemas/unavailable" - example: - { - "ovPayTokens": - [ - { - "ovPayTokenId": 71, - "customerProfileId": 12, - "tokenType": - { "tokenTypeId": 2, "name": "OV-pas physical" }, - "xTat": "700b0516-bf8b-4e6e-bf16-13bfeb078e23", - "xBot": "de1a9a7a-a777-4473-889c-44a3bb07daae", - "alias": "Mijn OV-pas", - "lastDigits": 3301, - "ovpasNumber": "63AW974", - "tokenStatus": { "tokenStatusId": 2, "name": "Active" }, - "expirationDate": "2029-03-22T09:00:00", - "replacedByTokenId": 12, - }, - ], - "href": null, - } /directdebitmandates: get: tags: