diff --git a/src/openapi/contracts/contracts-se.yaml b/src/openapi/contracts/contracts-se.yaml index 79454b4..8761d12 100644 --- a/src/openapi/contracts/contracts-se.yaml +++ b/src/openapi/contracts/contracts-se.yaml @@ -44,6 +44,7 @@ paths: "billingDay": 15, "highestInvoiceTerm": 1, "created": "2024-08-01 15:01:00.000", + "ovPayTokenId": 1337, }, { "contractId": "f07253e6-c364-474c-a342-a10a4a7cf305", @@ -59,6 +60,7 @@ paths: "billingDay": 15, "highestInvoiceTerm": 1, "created": "2024-08-01 15:01:00.000", + "ovPayTokenId": 1338, }, ] /customers/contracts/{contractId}: @@ -126,6 +128,7 @@ paths: "termDuration": "P0Y1M0D", "billingDay": 15, "highestInvoiceTerm": 1, + "ovPayTokenId": 1337, "contractVersions": [ { @@ -266,11 +269,11 @@ paths: $ref: "#/components/schemas/unavailable" example: { - "cancellationMoment": "termBound", + "cancellationMoment": "termBound", "termDuration": "P1M", "billingDay": 18, "cancellationFrom": "2024-08-10T00:00:00", - "cancellationUntil": "2026-08-10T00:00:00" + "cancellationUntil": "2026-08-10T00:00:00", } /contracts/{contractId}/cancellationvalidation: parameters: @@ -300,10 +303,7 @@ paths: application/json: schema: $ref: "#/components/schemas/unavailable" - example: - { - "end": "2024-08-10T00:00:00" - } + example: { "end": "2024-08-10T00:00:00" } responses: "200": description: OK @@ -317,7 +317,7 @@ paths: "validationMessage": "", "end": "2024-08-10T03:59:59", "refundAmount": "2489", - "refundMethods": [ "creditInvoice", "iDeal" ] + "refundMethods": ["creditInvoice", "iDeal"], } /contracts/{contractId}/cancellation: parameters: @@ -343,15 +343,12 @@ paths: - SE Contract Cancellation v2 requestBody: required: true - content: + content: application/json: schema: $ref: "#/components/schemas/unavailable" example: - { - "end": "2024-08-10T00:00:00", - "refundMethod": "creditInvoice" - } + { "end": "2024-08-10T00:00:00", "refundMethod": "creditInvoice" } responses: "200": description: OK @@ -363,7 +360,7 @@ paths: { "end": "2024-08-10T03:59:59", "refundAmount": "2489", - "refundMethod": "creditInvoice" + "refundMethod": "creditInvoice", } components: securitySchemes: