feature/OVPAY-1499 #41

Open
bboterm wants to merge 2 commits from feature/OVPAY-1499 into develop

View File

@ -426,18 +426,21 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "invalid", "validationResult": "invalid",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "A valid mandate is required before purchasing this product.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
],
"validationErrors":
[
{ {
"code": "STARTDATE_TOO_FAR_IN_FUTURE",
"detail": "Startdate of this product should be at most 60 days in the future.", "detail": "Startdate of this product should be at most 60 days in the future.",
"pointer": "#/0/startDate", "path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].validFrom",
"parameter": null,
"type": "ERROR",
}, },
], ],
}, },
@ -688,18 +691,21 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "invalid", "validationResult": "invalid",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "A valid mandate is required before purchasing this product.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
],
"validationErrors":
[
{ {
"code": "STARTDATE_TOO_FAR_IN_FUTURE",
"detail": "Startdate of this product should be at most 60 days in the future.", "detail": "Startdate of this product should be at most 60 days in the future.",
"pointer": "#/0/startDate", "path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].validFrom",
"parameter": null,
"type": "ERROR",
}, },
], ],
}, },
@ -715,23 +721,17 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"type": "https://htm.nl/api/v1/probs/validationerror", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Your request is not valid.", "title": "Your request is not valid.",
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.", "detail": "One or more required attributes are missing or invalid.",
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"errors": "errors":
[ [
{ {
"detail": "Startdate of this product should be at most 60 days in the future.", "code": "REQUIRED_ATTRIBUTE_MISSING",
"pointer": "#/0/startDate", "detail": "One ore more required attributes are missing.",
"ovPayTokenId": 123, "pointer": "$.orderLines[0].productId",
"productId": 2, "parameter": null,
},
{
"detail": "Combination of product and token type is not valid.",
"pointer": "#/1/ovPayTokenId",
"ovPayTokenId": 123,
"productId": 3,
}, },
], ],
} }
@ -926,18 +926,21 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "invalid", "validationResult": "invalid",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "A valid mandate is required before purchasing this product.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
],
"validationErrors":
[
{ {
"code": "STARTDATE_TOO_FAR_IN_FUTURE",
"detail": "Startdate of this product should be at most 60 days in the future.", "detail": "Startdate of this product should be at most 60 days in the future.",
"pointer": "#/0/startDate", "path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].validFrom",
"parameter": null,
"type": "ERROR",
}, },
], ],
}, },
@ -1118,18 +1121,21 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "invalid", "validationResult": "invalid",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "A valid mandate is required before purchasing this product.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
],
"validationErrors":
[
{ {
"code": "STARTDATE_TOO_FAR_IN_FUTURE",
"detail": "Startdate of this product should be at most 60 days in the future.", "detail": "Startdate of this product should be at most 60 days in the future.",
"pointer": "#/0/startDate", "path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].validFrom",
"parameter": null,
"type": "ERROR",
}, },
], ],
}, },
@ -1248,8 +1254,7 @@ paths:
}, },
], ],
"validationResult": null, "validationResult": null,
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
], ],
"payments": "payments":
@ -1528,18 +1533,21 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "invalid", "validationResult": "invalid",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "A valid mandate is required before purchasing this product.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
],
"validationErrors":
[
{ {
"code": "STARTDATE_TOO_FAR_IN_FUTURE",
"detail": "Startdate of this product should be at most 60 days in the future.", "detail": "Startdate of this product should be at most 60 days in the future.",
"pointer": "#/0/startDate", "path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].validFrom",
"parameter": null,
"type": "ERROR",
}, },
], ],
}, },
@ -1555,23 +1563,17 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"type": "https://htm.nl/api/v1/probs/validationerror", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Your request is not valid.", "title": "Your request is not valid.",
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.", "detail": "One or more required attributes are missing or invalid.",
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"errors": "errors":
[ [
{ {
"detail": "Startdate of this product should be at most 60 days in the future.", "code": "REQUIRED_ATTRIBUTE_MISSING",
"pointer": "#/0/startDate", "detail": "One ore more required attributes are missing.",
"ovPayTokenId": 123, "pointer": "$.orderLines[0].productId",
"productId": 2, "parameter": null,
},
{
"detail": "Combination of product and token type is not valid.",
"pointer": "#/1/ovPayTokenId",
"ovPayTokenId": 123,
"productId": 3,
}, },
], ],
} }
@ -1591,7 +1593,7 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"type": "https://htm.nl/api/v1/probs/validationerror", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Your request is not valid.", "title": "Your request is not valid.",
"detail": "The order can not be deleted.", "detail": "The order can not be deleted.",
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
@ -1834,14 +1836,16 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": "validations":
[ [
{ {
"code": "PRODUCT_CHOICE_REQUIRED", "code": "PRODUCT_CHOICE_REQUIRED",
"parameter": "orderline.productId", "detail": "The chosen product is not a leaf node product. Please choose one of its child products.",
"path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].productId",
"parameter": null,
"type": "REMARK",
}, },
], ],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -2008,22 +2012,30 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": "validations":
[ [
{ {
"code": "PERSONALACCOUNTDATA_BIRTHDATE_REQUIRED", "code": "PERSONALACCOUNTDATA_BIRTHDATE_REQUIRED",
"parameter": "personalaccountdata.birthdate", "detail": "Personal account data birthdate is required for this product.",
"path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].customerTokens[0].personalAccountData.birthdate",
"parameter": null,
"type": "REMARK",
}, },
{ {
"code": "TOKEN_REQUIRED", "code": "TOKEN_REQUIRED",
"detail": "A valid customer token is required before purchasing this product.",
"path": null,
"parameter": "customerToken", "parameter": "customerToken",
"type": "REMARK",
}, },
{ {
"code": "VALIDFROM_REQUIRED", "code": "VALIDFROM_REQUIRED",
"parameter": "orderline.validFrom", "detail": "A valid 'valid from' date is required for this product.",
"path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].validFrom",
"parameter": null,
"type": "REMARK",
}, },
], ],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -2037,23 +2049,17 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"type": "https://htm.nl/api/v1/probs/validationerror", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Your request is not valid.", "title": "Your request is not valid.",
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.", "detail": "One or more required attributes are missing or invalid.",
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"errors": "errors":
[ [
{ {
"detail": "Startdate of this product should be at most 60 days in the future.", "code": "REQUIRED_ATTRIBUTE_MISSING",
"pointer": "#/0/startDate", "detail": "One ore more required attributes are missing.",
"ovPayTokenId": 123, "pointer": "$.orderLines[0].productId",
"productId": 2, "parameter": null,
},
{
"detail": "Combination of product and token type is not valid.",
"pointer": "#/1/ovPayTokenId",
"ovPayTokenId": 123,
"productId": 3,
}, },
], ],
} }
@ -2176,18 +2182,23 @@ paths:
"customerTokens": [], "customerTokens": [],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "A valid mandate is required before purchasing this product.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
{ {
"code": "CUSTOMERTOKEN_REQUIRED", "code": "CUSTOMERTOKEN_REQUIRED",
"detail": "A valid customer token is required before purchasing this product.",
"path": null,
"parameter": "customerTokenId", "parameter": "customerTokenId",
"type": "REMARK",
}, },
], ],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -2201,17 +2212,17 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"type": "https://htm.nl/api/v1/probs/validationerror", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Your request is not valid.", "title": "Your request is not valid.",
"detail": "The start date of the product is not allowed. See errors for more details.", "detail": "One or more required attributes are missing or invalid.",
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"errors": "errors":
[ [
{ {
"detail": "Startdate of this product should be at most 60 days in the future.", "code": "REQUIRED_ATTRIBUTE_MISSING",
"pointer": "#/0/startDate", "detail": "One ore more required attributes are missing.",
"ovPayTokenId": 123, "pointer": "$.orderLines[0].productId",
"productId": 2, "parameter": null,
}, },
], ],
} }
@ -2275,17 +2286,17 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"type": "https://htm.nl/api/v1/probs/validationerror", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Your request is not valid.", "title": "Your request is not valid.",
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.", "detail": "One or more required attributes are missing or invalid.",
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"errors": "errors":
[ [
{ {
"detail": "Product requires product with productId=2", "code": "REQUIRED_ATTRIBUTE_MISSING",
"pointer": "#/1/orderLine", "detail": "One ore more required attributes are missing.",
"orderLineId": "0574440e-7fa0-401f-b907-539c91633a5d", "pointer": "$.orderLines[0].productId",
"productId": 3, "parameter": null,
}, },
], ],
} }
@ -2506,14 +2517,16 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": "validations":
[ [
{ {
"code": "PERSONALACCOUNTDATA_BIRTHDATE_REQUIRED", "code": "PERSONALACCOUNTDATA_BIRTHDATE_REQUIRED",
"parameter": "personalaccountdata.birthdate", "detail": "Personal account data birthdate is required for this product.",
"path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].customerTokens[0].personalAccountData.birthdate",
"parameter": null,
"type": "REMARK",
}, },
], ],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -2721,8 +2734,7 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -2810,14 +2822,16 @@ paths:
"customerTokens": [], "customerTokens": [],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": "validations":
[ [
{ {
"code": "CUSTOMERTOKEN_REQUIRED", "code": "CUSTOMERTOKEN_REQUIRED",
"detail": "A valid customer token is required before purchasing this product.",
"path": null,
"parameter": "customerTokenId", "parameter": "customerTokenId",
"type": "REMARK",
}, },
], ],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -3037,8 +3051,7 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -3251,12 +3264,14 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "invalid", "validationResult": "invalid",
"additionalRemarks": [], "validations":
"validationErrors":
[ [
{ {
"code": "PERSONAL_ACCOUNT_DATA_AGE_PROFILE_MISMATCH",
"detail": "Product is for gboAgeProfile 19-65, given gboAgeProfile is 12-19", "detail": "Product is for gboAgeProfile 19-65, given gboAgeProfile is 12-19",
"pointer": "#/customerTokens/878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e/personalAccountData/birthdate", "path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].customerTokens[?(@.customerTokenId=='878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e')].ovPayToken.personalAccountData.birthdate",
"parameter": null,
"type": "ERROR",
}, },
], ],
}, },
@ -3436,8 +3451,7 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -3596,8 +3610,7 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
{ {
"orderLineId": "2cb04b38-e9a8-465a-a273-261c55a21b71", "orderLineId": "2cb04b38-e9a8-465a-a273-261c55a21b71",
@ -3645,8 +3658,7 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
], ],
"payments": "payments":
@ -3883,8 +3895,7 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
], ],
"payments": "payments":
@ -4080,18 +4091,21 @@ paths:
}, },
], ],
"validationResult": "invalid", "validationResult": "invalid",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "A valid mandate is required before purchasing this product.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
],
"validationErrors":
[
{ {
"code": "STARTDATE_TOO_FAR_IN_FUTURE",
"detail": "Startdate of this product should be at most 60 days in the future.", "detail": "Startdate of this product should be at most 60 days in the future.",
"pointer": "#/0/startDate", "path": "$.orders[?(@.orderId=='1e441d7d-50d6-4006-aca7-5e87e2f218df')].orderLines[?(@.orderLineId=='cccada2c-d5ea-48ab-b4be-f590e16b5468')].validFrom",
"parameter": null,
"type": "ERROR",
}, },
], ],
}, },
@ -4415,8 +4429,7 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -4662,8 +4675,7 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "valid", "validationResult": "valid",
"additionalRemarks": [], "validations": [],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -4911,14 +4923,16 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "Direct debit mandate is required for this order.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
], ],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -5166,14 +5180,16 @@ paths:
], ],
"orderAccountingStatuses": [], "orderAccountingStatuses": [],
"validationResult": "preliminary", "validationResult": "preliminary",
"additionalRemarks": "validations":
[ [
{ {
"code": "MANDATE_REQUIRED", "code": "MANDATE_REQUIRED",
"detail": "A valid mandate is required before purchasing this product.",
"path": null,
"parameter": "directDebitMandateId", "parameter": "directDebitMandateId",
"type": "REMARK",
}, },
], ],
"validationErrors": [],
}, },
], ],
"payments": [], "payments": [],
@ -5286,17 +5302,17 @@ paths:
$ref: "#/components/schemas/unavailable" $ref: "#/components/schemas/unavailable"
example: example:
{ {
"type": "https://htm.nl/api/v1/probs/validationerror", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Your request is not valid.", "title": "Your request is not valid.",
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.", "detail": "One or more required attributes are missing or invalid.",
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"errors": "errors":
[ [
{ {
"detail": "Product requires product with productId=2", "code": "REQUIRED_ATTRIBUTE_MISSING",
"pointer": "#/1/orderLine", "detail": "One ore more required attributes are missing.",
"orderLineId": "0574440e-7fa0-401f-b907-539c91633a5d", "pointer": "$.orderLines[0].productId",
"productId": 3, "parameter": null,
}, },
], ],
} }
@ -5410,21 +5426,37 @@ paths:
summary: Missing parameter(s) summary: Missing parameter(s)
value: value:
{ {
"type": "https://www.htm.nl/api/v1/400Error", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Missing parameter(s)", "title": "Your request is not valid.",
"detail": "At least one of the following parameters must be present: birthDate, ovPayTokenId, customerTokenId, (serviceReferenceId and amount), (ovpasNumber and verificationCode)", "detail": "One or more required parameters are missing or invalid.",
"instance": "urn:uuid:13c8416f-7632-4c8b-8a16-2132197be60c", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"apiErrorCode": "htm.api.err.400.2", "errors":
[
{
"code": "REQUIRED_PARAMETER_MISSING",
"detail": "One ore more required parameters are missing.",
"pointer": null,
"parameter": "birthdate, ovPayTokenId, customerTokenId",
},
],
} }
Invalid date format: Invalid date format:
summary: Invalid date format summary: Invalid date format
value: value:
{ {
"type": "https://www.htm.nl/api/v1/400Error", "type": "https://htm.nl/api/v1/probs/400/badrequest",
"title": "Invalid input", "title": "Your request is not valid.",
"detail": "The given birthDate is not a valid Date format", "detail": "One or more parameters have an invalid format.",
"instance": "urn:uuid:13c8416f-7632-4c8b-8a16-2132197be60c", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"apiErrorCode": "htm.api.err.400.3", "errors":
[
{
"code": "INVALID_PARAMETER_FORMAT",
"detail": "The given birthdate is not a valid Date format.",
"pointer": null,
"parameter": "birthdate",
},
],
} }
"404": "404":
description: Not found description: Not found
@ -5437,11 +5469,19 @@ paths:
summary: No birthdate present in PAD of OVpay token summary: No birthdate present in PAD of OVpay token
value: value:
{ {
"type": "https://www.htm.nl/api/v1/404Error", "type": "https://htm.nl/api/v1/probs/404/notfound",
"title": "Missing birthdate in PAD", "title": "Missing birthdate in PAD.",
"detail": "There is no birthdate present in the PAD of the OVpay token, or there is no PAD present at all", "detail": "There is no birthdate present in the PAD of the OVpay token, or there is no PAD present at all.",
"instance": "urn:uuid:13c8416f-7632-4c8b-8a16-2132197be60c", "instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
"apiErrorCode": "htm.api.err.404.1", "errors":
[
{
"code": "MISSING_BIRTHDATE_IN_PAD",
"detail": "Missing birthdate in PAD.",
"pointer": null,
"parameter": "birthdate",
},
],
} }
components: components:
securitySchemes: securitySchemes: