OVPAY-2103 - Removed v1 examples from OAS.
This commit is contained in:
parent
57281afdc8
commit
b1bbe6b0cb
@ -9,7 +9,7 @@ paths:
|
||||
/orders/validation:
|
||||
post:
|
||||
tags:
|
||||
- Order Validation v1 & v2
|
||||
- Order Validation v2
|
||||
summary: Validate order.
|
||||
description: Validate order.
|
||||
parameters:
|
||||
@ -101,30 +101,6 @@ paths:
|
||||
],
|
||||
},
|
||||
}
|
||||
v1:
|
||||
summary: Order validation v1
|
||||
description: Order validation v1
|
||||
value:
|
||||
[
|
||||
{
|
||||
"ovPayTokenId": 2,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"productId": 2,
|
||||
"startDate": "2024-03-22T09:00:00z",
|
||||
"quantity": 1,
|
||||
},
|
||||
{
|
||||
"ovPayTokenId": 3,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 89,
|
||||
"ovpasNumber": "OV34567",
|
||||
"productId": 4,
|
||||
"startDate": "2024-03-22T09:00:00z",
|
||||
"quantity": 4,
|
||||
},
|
||||
]
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -166,128 +142,10 @@ paths:
|
||||
},
|
||||
],
|
||||
}
|
||||
v1:
|
||||
summary: Order validation v1
|
||||
description: Order validation v1
|
||||
value:
|
||||
{
|
||||
"validContents": true,
|
||||
"purchaseDate": "2024-03-22",
|
||||
"customerProfileId": 1337,
|
||||
"languageId": 1,
|
||||
"billingAddressId": 1,
|
||||
"shippingAddressId": 1,
|
||||
"totalAmount": 121,
|
||||
"contents":
|
||||
[
|
||||
{
|
||||
"productId": 1,
|
||||
"quantity": 5,
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
"taxAmount": 21,
|
||||
"taxCode": "V21",
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"isRenewable": true,
|
||||
"nextDebitDate": "2024-04-22",
|
||||
"termAmountExclTax": 100,
|
||||
"termAmountInclTax": 121,
|
||||
"tokens":
|
||||
[
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
},
|
||||
],
|
||||
"additionalRemarks": [],
|
||||
"validationErrors":
|
||||
[
|
||||
{
|
||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||
"pointer": "#/contents[0]/validFrom",
|
||||
},
|
||||
{
|
||||
"detail": "Combination of product and token type is not valid.",
|
||||
"pointer": "#/contents[0]/tokens[0]/ovPayTokenId",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"productId": 2,
|
||||
"quantity": 3,
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
"taxAmount": 21,
|
||||
"taxCode": "V21",
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"isRenewable": true,
|
||||
"nextDebitDate": "2024-04-22",
|
||||
"termAmountExclTax": 100,
|
||||
"termAmountInclTax": 121,
|
||||
},
|
||||
],
|
||||
"customer":
|
||||
{
|
||||
"birthname": "Jan",
|
||||
"surname": "Vries",
|
||||
"prefix": "de",
|
||||
"emailAddress": "jandevries@outlook.com",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"addresses":
|
||||
[
|
||||
{
|
||||
"addressTypeId": 1,
|
||||
"street": "Kon. Julianaplein",
|
||||
"houseNumber": 10,
|
||||
"houseNumberSuffix": "a",
|
||||
"postalCode": "2595 AA",
|
||||
"city": "Den Haag",
|
||||
"country": "NL",
|
||||
},
|
||||
],
|
||||
"additionalRemarks":
|
||||
[
|
||||
{
|
||||
"code": "PERSONAL_DATA_NEEDED",
|
||||
"parameter": "dateOfBirth",
|
||||
},
|
||||
{
|
||||
"code": "PERSONAL_DATA_NEEDED",
|
||||
"parameter": "photo",
|
||||
},
|
||||
{
|
||||
"code": "MANDATE_REQUIRED",
|
||||
"parameter": "directDebitMandateId",
|
||||
},
|
||||
],
|
||||
"validationErrors":
|
||||
[
|
||||
{
|
||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||
"pointer": "#/contents[1]/validFrom",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
/orders/{orderId}/fulfillment:
|
||||
post:
|
||||
tags:
|
||||
- Order Fulfillment v1 & v2
|
||||
- Order Fulfillment v2
|
||||
summary: Fulfill an order.
|
||||
description: Fulfill an order.
|
||||
parameters:
|
||||
@ -415,153 +273,6 @@ paths:
|
||||
],
|
||||
},
|
||||
}
|
||||
v2:
|
||||
summary: Order fulfillment v2
|
||||
description: Order fulfillment v2
|
||||
value:
|
||||
{
|
||||
"orderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
||||
"customerProfileId": 1337,
|
||||
"totalAmount": 121,
|
||||
"languageId": 1,
|
||||
"billingAddressId": 1,
|
||||
"shippingAddressId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"orderStatusId": 4,
|
||||
"orderLines":
|
||||
[
|
||||
{
|
||||
"orderLineId": "2ba39cae-c401-446b-ae5c-2d6d85b3df1f",
|
||||
"productId": 1,
|
||||
"productName": "HTM Maandkorting 20%",
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxCode": "V21",
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
"terms":
|
||||
[
|
||||
"generalTermsAndConditions.pdf",
|
||||
"productTermsAndConditions.pdf",
|
||||
],
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
"orderLineStatusId": 4,
|
||||
"tokens":
|
||||
[
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"payments":
|
||||
[
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"amountDebit": 121,
|
||||
"paymentMethodId": 1,
|
||||
"touchPointId": 1,
|
||||
"isRefund": false,
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
"pspPaymentReference": "Buckaroo-1234",
|
||||
"paymentStatuses":
|
||||
[
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"statusCode": "190",
|
||||
"statusDescription": "Success",
|
||||
"statusSubCode": "S001",
|
||||
"statusSubDescription": "PaymentSuccessful",
|
||||
},
|
||||
],
|
||||
"payPush":
|
||||
{
|
||||
"consumerIssuer": "ABN AMRO",
|
||||
"transactionId": "0000000000000001",
|
||||
"consumerName": "J. de Vries",
|
||||
"consumerIBAN": "NL44RABO0123456789",
|
||||
"consumerBIC": "RABONL2U",
|
||||
},
|
||||
},
|
||||
],
|
||||
"customer":
|
||||
{
|
||||
"birthname": "Jan",
|
||||
"surname": "Vries",
|
||||
"prefix": "de",
|
||||
"emailAddress": "jandevries@outlook.com",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"addresses":
|
||||
[
|
||||
{
|
||||
"addressTypeId": 1,
|
||||
"street": "Kon. Julianaplein",
|
||||
"houseNumber": 10,
|
||||
"houseNumberSuffix": "a",
|
||||
"postalCode": "2595 AA",
|
||||
"city": "Den Haag",
|
||||
"country": "NL",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
v1:
|
||||
summary: Order fulfillment v1
|
||||
description: Order fulfillment v1
|
||||
value:
|
||||
{
|
||||
"customerProfileID": 123415,
|
||||
"customerProfileData": { "dateOfBirth": "1989-03-09" },
|
||||
"personalAccountData": { "birthdate": "1989-03-09" },
|
||||
"directDebitMandate":
|
||||
{
|
||||
"consumerName": "J. de Tèster",
|
||||
"consumerBic": "RABONL2U",
|
||||
"consumerIban": "NL44RABO0123456789",
|
||||
},
|
||||
"orderContents":
|
||||
[
|
||||
{
|
||||
"ovPayTokenId": 123,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 450,
|
||||
"ovpasNumber": "63AW974",
|
||||
"productId": 2,
|
||||
"startDate": "2024-03-22T09:00:00Z",
|
||||
"quantity": 1,
|
||||
"orderlineId": "2d7fadc9-b64b-4516-9a7d-cf550f201372",
|
||||
},
|
||||
{
|
||||
"ovPayTokenId": 123,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 450,
|
||||
"ovpasNumber": "63AW974",
|
||||
"productId": 3,
|
||||
"startDate": "2024-03-16T09:00:00Z",
|
||||
"quantity": 1,
|
||||
"orderlineId": "9d7fadc9-b64b-4516-9a7d-cf550f201378",
|
||||
},
|
||||
],
|
||||
"orderStatus": "succeededPayment",
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -570,10 +281,6 @@ paths:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
examples:
|
||||
v1:
|
||||
summary: Order fulfillment v1
|
||||
description: Order fulfillment v1
|
||||
value: {}
|
||||
v2.2:
|
||||
summary: Order fulfillment v2
|
||||
description: Order fulfillment v2
|
||||
@ -807,8 +514,8 @@ paths:
|
||||
example: 7208e73e-87a6-46d9-bb6d-867ffc460c9b
|
||||
description: xTat used in order fulfillment. Note that this is a joined parameter via PurchasedProduct.
|
||||
tags:
|
||||
- Order Retrieval v1 & v2
|
||||
summary: Find orders. P1
|
||||
- Order Retrieval v2
|
||||
summary: Find orders
|
||||
description: Find orders.
|
||||
responses:
|
||||
"200":
|
||||
@ -1094,237 +801,6 @@ paths:
|
||||
},
|
||||
],
|
||||
}
|
||||
v1.2:
|
||||
summary: Order creation v1.2
|
||||
description: Order creation v1.2
|
||||
value:
|
||||
{
|
||||
"externalOrderId": null,
|
||||
"languageId": 1,
|
||||
"billingAddressId": 1,
|
||||
"shippingAddressId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"order_OrderStatus":
|
||||
[
|
||||
{
|
||||
"orderStatusId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"description": "Concept order",
|
||||
},
|
||||
],
|
||||
"orderLines":
|
||||
[
|
||||
{
|
||||
"externalOrderLineId": null,
|
||||
"productId": 1,
|
||||
"quantity": 1,
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": "2025-03-22T09:00:00",
|
||||
"orderLineStatusId": 4,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"customerTokens":
|
||||
[
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses":
|
||||
[
|
||||
{
|
||||
"accountingStatusId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"description": "Financiele transactie voor de FIKO.",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"payments":
|
||||
[
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"amountDebit": 121,
|
||||
"paymentMethodId": 1,
|
||||
"isRefund": false,
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
"pspPaymentReference": "Buckaroo-1234",
|
||||
"paymentStatuses":
|
||||
[
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"statusCode": "190",
|
||||
"statusDescription": "Success",
|
||||
"statusSubCode": "S001",
|
||||
"statusSubDescription": "PaymentSuccessful",
|
||||
},
|
||||
],
|
||||
"mandateInput":
|
||||
{
|
||||
"directDebitMandateTypeId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"bic": "RABONL2U",
|
||||
"iban": "NL44RABO0123456789",
|
||||
"ascription": "J. de Vries",
|
||||
"place": "Den Haag",
|
||||
},
|
||||
},
|
||||
],
|
||||
"orderCustomer":
|
||||
{
|
||||
"birthname": "Jan",
|
||||
"surname": "Vries",
|
||||
"prefix": "de",
|
||||
"emailAddress": "jandevries@outlook.com",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"orderCustomerAddresses":
|
||||
[
|
||||
{
|
||||
"addressTypeId": 1,
|
||||
"street": "Kon. Julianaplein",
|
||||
"houseNumber": 10,
|
||||
"houseNumberSuffix": "a",
|
||||
"postalCode": "2595 AA",
|
||||
"city": "Den Haag",
|
||||
"country": "NL",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
v1:
|
||||
summary: Order creation v1.1
|
||||
description: Order creation v1.1
|
||||
value:
|
||||
{
|
||||
"externalOrderId": null,
|
||||
"customerProfileId": 1337,
|
||||
"totalAmount": 121,
|
||||
"touchPointId": 3,
|
||||
"languageId": 1,
|
||||
"billingAddressId": 1,
|
||||
"shippingAddressId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"order_OrderStatus":
|
||||
[
|
||||
{
|
||||
"orderStatusId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"description": "Concept order",
|
||||
},
|
||||
],
|
||||
"orderLines":
|
||||
[
|
||||
{
|
||||
"externalOrderLineId": null,
|
||||
"productId": 1,
|
||||
"productName": "HTM Maandkorting 20%",
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxMetadataId": "7275b910-37d9-40c1-aaac-80d8ceb62ff9",
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
"orderLineTerms":
|
||||
[{ "termsUrl": "generalTermsAndConditions.pdf" }],
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": "2025-03-22T09:00:00",
|
||||
"orderLineStatusId": 4,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"customerTokens":
|
||||
[
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses":
|
||||
[
|
||||
{
|
||||
"accountingStatusId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"description": "Financiele transactie voor de FIKO.",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"payments":
|
||||
[
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"amountDebit": 121,
|
||||
"paymentMethodId": 1,
|
||||
"touchPointId": 1,
|
||||
"isRefund": false,
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
"pspPaymentReference": "Buckaroo-1234",
|
||||
"paymentStatuses":
|
||||
[
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"statusCode": "190",
|
||||
"statusDescription": "Success",
|
||||
"statusSubCode": "S001",
|
||||
"statusSubDescription": "PaymentSuccessful",
|
||||
},
|
||||
],
|
||||
"mandateInput":
|
||||
{
|
||||
"directDebitMandateTypeId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"bic": "RABONL2U",
|
||||
"iban": "NL44RABO0123456789",
|
||||
"ascription": "J. de Vries",
|
||||
"place": "Den Haag",
|
||||
},
|
||||
},
|
||||
],
|
||||
"orderCustomer":
|
||||
{
|
||||
"birthname": "Jan",
|
||||
"surname": "Vries",
|
||||
"prefix": "de",
|
||||
"emailAddress": "jandevries@outlook.com",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"orderCustomerAddresses":
|
||||
[
|
||||
{
|
||||
"addressTypeId": 1,
|
||||
"street": "Kon. Julianaplein",
|
||||
"houseNumber": 10,
|
||||
"houseNumberSuffix": "a",
|
||||
"postalCode": "2595 AA",
|
||||
"city": "Den Haag",
|
||||
"country": "NL",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -1446,12 +922,6 @@ paths:
|
||||
"payments": [],
|
||||
"orderCustomer": null,
|
||||
}
|
||||
v1.2:
|
||||
value:
|
||||
{
|
||||
"orderId": "1e441d7d-50d6-4006-aca7-5e87e2f218df",
|
||||
"orderNumber": "ORD-123456",
|
||||
}
|
||||
"400":
|
||||
description: Bad request
|
||||
content:
|
||||
@ -1499,8 +969,8 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
get:
|
||||
tags:
|
||||
- Order Retrieval v1 & v2
|
||||
summary: Get a single order. P1
|
||||
- Order Retrieval v2
|
||||
summary: Get a single order
|
||||
description: Get a single order.
|
||||
responses:
|
||||
"200":
|
||||
@ -1724,18 +1194,6 @@ paths:
|
||||
{
|
||||
"languageId": 1,
|
||||
}
|
||||
v1.2:
|
||||
summary: Order update v1.2
|
||||
description: Order update v1.2
|
||||
value:
|
||||
{
|
||||
"customerProfileId": 1337,
|
||||
"totalAmount": 121,
|
||||
"languageId": 1,
|
||||
"billingAddressId": 1,
|
||||
"shippingAddressId": 1,
|
||||
"lastUpdatedOn": "2024-03-22T09:00:00",
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -1851,12 +1309,6 @@ paths:
|
||||
"payments": [],
|
||||
"orderCustomer": null,
|
||||
}
|
||||
v1.2:
|
||||
value:
|
||||
{
|
||||
"orderId": "1e441d7d-50d6-4006-aca7-5e87e2f218df",
|
||||
"orderNumber": "ORD-123456",
|
||||
}
|
||||
"400":
|
||||
description: Bad request
|
||||
content:
|
||||
@ -1966,56 +1418,6 @@ paths:
|
||||
},
|
||||
],
|
||||
}
|
||||
v1.2:
|
||||
summary: Create orderLine v1.2
|
||||
description: Create orderLine v1.2
|
||||
value:
|
||||
{
|
||||
"externalOrderLineId": null,
|
||||
"productId": 1,
|
||||
"productName": "HTM Maandkorting 20%",
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxMetadataId": "1d6f1725-1072-4f08-982c-3df51dd854a1",
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
"orderLineTerms":
|
||||
[{ "termsUrl": "generalTermsAndConditions.pdf" }],
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": "2025-03-22T09:00:00",
|
||||
"orderLineStatusId": 4,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"tokens":
|
||||
[
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses":
|
||||
[
|
||||
{
|
||||
"accountingStatusId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"description": "Financiele transactie voor de FIKO.",
|
||||
},
|
||||
],
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -2177,9 +1579,6 @@ paths:
|
||||
"payments": [],
|
||||
"orderCustomer": null,
|
||||
}
|
||||
v1.2:
|
||||
value:
|
||||
{ "orderLineId": "e78b78d9-4fb0-4a9c-8dc0-6d100c9f1b3f" }
|
||||
"400":
|
||||
description: Bad request
|
||||
content:
|
||||
@ -2245,20 +1644,6 @@ paths:
|
||||
"validFrom": "2024-03-25T09:00:00",
|
||||
"validUntil": null,
|
||||
}
|
||||
v1.2:
|
||||
summary: Orderline update v1.2
|
||||
description: Orderline update v1.2
|
||||
value:
|
||||
{
|
||||
"taxAmount": 21,
|
||||
"taxMetadataId": "0574440e-7fa0-401f-b907-539c91633a5d",
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": "2025-03-22T09:00:00",
|
||||
"orderLineStatusId": 4,
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -2464,9 +1849,6 @@ paths:
|
||||
"payments": [],
|
||||
"orderCustomer": null,
|
||||
}
|
||||
v1.2:
|
||||
value:
|
||||
{ "orderLineId": "e78b78d9-4fb0-4a9c-8dc0-6d100c9f1b3f" }
|
||||
"400":
|
||||
description: Bad request
|
||||
content:
|
||||
@ -2583,7 +1965,7 @@ paths:
|
||||
post:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
summary: Add a customer token to an orderLine. P1
|
||||
summary: Add a customer token to an orderLine
|
||||
description: Add a customer token to an orderLine
|
||||
requestBody:
|
||||
content:
|
||||
@ -2736,7 +2118,7 @@ paths:
|
||||
patch:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
summary: Update a customer token. P1
|
||||
summary: Update a customer token
|
||||
description: Update a customer token
|
||||
requestBody:
|
||||
content:
|
||||
@ -2848,7 +2230,7 @@ paths:
|
||||
delete:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
summary: Delete a customer token from an orderline. P1
|
||||
summary: Delete a customer token from an orderline
|
||||
description: Delete a customer token from an orderline
|
||||
responses:
|
||||
"200":
|
||||
@ -2959,7 +2341,7 @@ paths:
|
||||
post:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
summary: Add personal account data to a customer token. P1
|
||||
summary: Add personal account data to a customer token
|
||||
description: Add personal account data to a customer token
|
||||
requestBody:
|
||||
content:
|
||||
@ -3369,38 +2751,6 @@ paths:
|
||||
"isRefund": false,
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
}
|
||||
v1.2:
|
||||
summary: Order creation v1.2
|
||||
description: Order creation v1.2
|
||||
value:
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"amountDebit": 121,
|
||||
"paymentMethodId": 1,
|
||||
"touchpointId": 1,
|
||||
"isRefund": false,
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
"pspPaymentReference": "Buckaroo-1234",
|
||||
"paymentStatuses":
|
||||
[
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"statusCode": "190",
|
||||
"statusDescription": "Success",
|
||||
"statusSubCode": "S001",
|
||||
"statusSubDescription": "PaymentSuccessful",
|
||||
},
|
||||
],
|
||||
"mandateInput":
|
||||
{
|
||||
"directDebitMandateTypeId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"bic": "RABONL2U",
|
||||
"iban": "NL44RABO0123456789",
|
||||
"ascription": "J. de Vries",
|
||||
"place": "Den Haag",
|
||||
},
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -3612,8 +2962,6 @@ paths:
|
||||
],
|
||||
},
|
||||
}
|
||||
v1.2:
|
||||
value: { "paymentId": "94270188-4cf6-447e-bd49-e8186bcec073" }
|
||||
/payments/{paymentId}:
|
||||
parameters:
|
||||
- in: path
|
||||
@ -3669,14 +3017,6 @@ paths:
|
||||
"place": "Den Haag",
|
||||
},
|
||||
}
|
||||
v1.2:
|
||||
summary: Order payment update v1.2
|
||||
description: Order payment update v1.2
|
||||
value:
|
||||
{
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
"pspPaymentReference": "Buckaroo-1234",
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -3872,8 +3212,6 @@ paths:
|
||||
],
|
||||
},
|
||||
}
|
||||
v1.2:
|
||||
value: { "paymentId": "94270188-4cf6-447e-bd49-e8186bcec073" }
|
||||
v9.9 (Nick Pows):
|
||||
value:
|
||||
{
|
||||
@ -4133,29 +3471,6 @@ paths:
|
||||
},
|
||||
],
|
||||
}
|
||||
v1.2:
|
||||
summary: Add order customer v1.2
|
||||
description: Add order customer v1.2
|
||||
value:
|
||||
{
|
||||
"birthname": "Jan",
|
||||
"surname": "Vries",
|
||||
"prefix": "de",
|
||||
"emailAddress": "jandevries@outlook.com",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"orderCustomerAddresses":
|
||||
[
|
||||
{
|
||||
"addressTypeId": 1,
|
||||
"street": "Kon. Julianaplein",
|
||||
"houseNumber": 10,
|
||||
"houseNumberSuffix": "a",
|
||||
"postalCode": "2595 AA",
|
||||
"city": "Den Haag",
|
||||
"country": "NL",
|
||||
},
|
||||
],
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -4287,11 +3602,6 @@ paths:
|
||||
],
|
||||
},
|
||||
}
|
||||
v1.2:
|
||||
value:
|
||||
{
|
||||
"orderCustomerId": "94270188-4cf6-447e-bd49-e8186bcec073",
|
||||
}
|
||||
/ordercustomers/{orderCustomerId}:
|
||||
patch:
|
||||
parameters:
|
||||
@ -4331,17 +3641,6 @@ paths:
|
||||
"emailAddress": "jandevries@outlook.com",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
}
|
||||
v1.2:
|
||||
summary: Update order customer v1.2
|
||||
description: Update order customer v1.2
|
||||
value:
|
||||
{
|
||||
"birthname": "Jan",
|
||||
"surname": "Vries",
|
||||
"prefix": "de",
|
||||
"emailAddress": "jandevries@outlook.com",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -4473,11 +3772,6 @@ paths:
|
||||
],
|
||||
},
|
||||
}
|
||||
v1.2:
|
||||
value:
|
||||
{
|
||||
"orderCustomerId": "94270188-4cf6-447e-bd49-e8186bcec073",
|
||||
}
|
||||
/ordercustomers/{orderCustomerId}/orderCustomerAddress:
|
||||
post:
|
||||
parameters:
|
||||
@ -4519,19 +3813,6 @@ paths:
|
||||
"city": "Den Haag",
|
||||
"country": "NL",
|
||||
}
|
||||
v1.2:
|
||||
summary: Order customer address create v1.2
|
||||
description: Order customer address create v1.2
|
||||
value:
|
||||
{
|
||||
"addressTypeId": 1,
|
||||
"street": "Kon. Julianaplein",
|
||||
"houseNumber": 10,
|
||||
"houseNumberSuffix": "a",
|
||||
"postalCode": "2595 AA",
|
||||
"city": "Den Haag",
|
||||
"country": "NL",
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
description: OK
|
||||
|
||||
Loading…
Reference in New Issue
Block a user