OVPAY-1637 - Add "ovPayTokenId" to GET response bodies.

This commit is contained in:
Bas Boterman 2025-03-12 11:41:29 +01:00
parent ae5ab74672
commit df4500b643

View File

@ -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":
[
{
@ -270,7 +273,7 @@ paths:
"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:
@ -348,10 +348,7 @@ paths:
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: