Compare commits

...

21 Commits

Author SHA1 Message Date
fc8596f0f3 delete token and 1 PAD object per token 2025-05-26 12:15:44 +02:00
a09058d151 merged develop 2025-05-21 13:04:51 +02:00
17d10c158c OVPAY-1784 - Fixed timestamps. 2025-05-21 10:28:05 +02:00
3d68dfb7eb Merge pull request 'updated customer v1' (#42) from feature/1700-part-2-update-V1 into develop
Reviewed-on: #42
Reviewed-by: Bas Boterman <b.boterman@htm.nl>
2025-05-19 11:30:24 +00:00
a6491041cb dinges 2025-05-19 13:25:06 +02:00
9c9c96453f shenanigens updated and created financials 2025-05-19 13:21:29 +02:00
920246f499 removed is preferred example 2025-05-19 12:42:35 +02:00
ec6edd3636 updated customer v1 2025-05-19 12:28:15 +02:00
18c507195d Merge pull request 'updated customer CRUD' (#41) from feature/OVPAY-1700-customer-address into develop
Reviewed-on: #41
2025-05-19 07:18:29 +00:00
d8d2e31e52 fix 2025-05-19 09:17:25 +02:00
faa4ea6877 always validation keys in response 2025-05-06 16:12:32 +02:00
797a7d488f ensured consistent versioning in spec 2025-05-06 16:05:19 +02:00
323f1c195c review commentaar 2025-04-28 10:38:30 +02:00
52d4d21871 correct verif code token 2025-04-25 09:15:46 +02:00
17feb74889 prioritering in API's 2025-04-24 17:46:48 +02:00
d0b999236f token options 2025-04-24 17:06:18 +02:00
4b70e09458 description 2025-04-24 13:37:41 +02:00
dd5874c893 orderline patch for a later release 2025-04-24 13:33:37 +02:00
f2688e1f73 added personalaccountdata endpoints to SE orders 2025-04-22 11:58:27 +02:00
bacdab0575 fix 2025-04-18 13:46:24 +02:00
a2d42774cb GET order with validation, extend orderLine patch, post and delete customerToken 2025-04-18 13:42:22 +02:00
5 changed files with 1183 additions and 399 deletions

View File

@ -3041,7 +3041,7 @@ components:
example: 1
name:
type: string
example: Billing
example: Shipping
street:
type: string
example: Appelstraat

View File

@ -45,7 +45,6 @@ paths:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
mandateReference: Dit is een test Reference
mandateState: SIGNED
updateDirectDebitMandateType:
@ -56,10 +55,6 @@ paths:
value:
directDebitMandate:
billingInformationId: 2
updateMandateAddressId:
value:
directDebitMandate:
mandateAddressId: 3
updateMandateReference:
value:
directDebitMandate:
@ -129,17 +124,10 @@ paths:
updateFullBillingInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
updateIssuerCountry:
value:
billingInformation:
issuerCountry: DE
updateIban:
value:
billingInformation:
@ -148,10 +136,6 @@ paths:
value:
billingInformation:
bic: DEUT
updateSwift:
value:
billingInformation:
swift: UpdatedSwift
updateAscription:
value:
billingInformation:
@ -160,10 +144,6 @@ paths:
value:
billingInformation:
alias: Updated Alias
updateBillingAddressId:
value:
billingInformation:
billingAddressId: 3
required: true
responses:
'201':
@ -218,21 +198,16 @@ paths:
fullFinancialInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
minimumBillingInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
required: true
responses:
'201':
@ -289,16 +264,12 @@ paths:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
minimumdirectDebitMandate:
value:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
required: true
responses:
@ -358,38 +329,32 @@ paths:
customerNumber: 1000003
billingInformation:
- billingInformationId: 1
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
created: "2024-06-02T15:03:460"
- billingInformationId: 2
issuerCountry: BE
iban: '0987654321'
bic: null
swift: null
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 3
created: "2024-06-02T15:03:460"
directDebitMandate:
- directDebitMandateId: 1
directDebitMandateTypeName: PIN Transaction
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
mandateState: SIGNED
updateTimestamp: '2024-01-01T00:00:00.00'
updateTimestamp: '2024-01-01T00:00:00.000'
- directDebitMandateId: 2
directDebitMandateTypeName: Paper Contract
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
mandateState: CANCELLED
updateTimestamp: '2024-01-01T00:00:00.00'
updateTimestamp: '2024-01-01T00:00:00.000'
missingBillingInformation:
value:
customerNumber: 1000003
@ -398,35 +363,31 @@ paths:
- directDebitMandateId: 1
directDebitMandateTypeName: PIN transaction
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
updateTimestamp: '1900-01-01T00:00:00.000'
- directDebitMandateId: 2
directDebitMandateTypeName: Paper Contract
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
updateTimestamp: '1900-01-01T00:00:00.000'
missingDebitMandateInformation:
value:
customerNumber: 1000003
billingInformation:
- billingInformationId: 1
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
created: "2024-06-02T15:03:460"
- billingInformationId: 2
issuerCountry: BE
iban: '0987654321'
bic: null
swift: null
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 3
created: "2024-06-02T15:03:460"
directDebitMandate: []
minimumFinancialInformation:
value:
@ -500,7 +461,6 @@ paths:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
mandateReference: Dit is een test Reference
mandateState: SIGNED
updateDirectDebitMandateType:
@ -511,10 +471,6 @@ paths:
value:
directDebitMandate:
billingInformationId: 2
updateMandateAddressId:
value:
directDebitMandate:
mandateAddressId: 3
updateMandateReference:
value:
directDebitMandate:
@ -591,17 +547,10 @@ paths:
updateFullBillingInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
updateIssuerCountry:
value:
billingInformation:
issuerCountry: DE
updateIban:
value:
billingInformation:
@ -610,10 +559,6 @@ paths:
value:
billingInformation:
bic: DEUT
updateSwift:
value:
billingInformation:
swift: UpdatedSwift
updateAscription:
value:
billingInformation:
@ -687,17 +632,14 @@ paths:
fullFinancialInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
minimumBillingInformation:
value:
billingInformation:
issuerCountry: NL
iban: '1234567890'
ascription: Dit is een Test
alias: Alias Test
@ -765,16 +707,12 @@ paths:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
minimumdirectDebitMandate:
value:
directDebitMandate:
directDebitMandateTypeId: 1
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
required: true
responses:
@ -841,38 +779,34 @@ paths:
customerNumber: 1000003
billingInformation:
- billingInformationId: 1
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
updateTimestamp: '2024-01-01T00:00:00.00'
created: '2024-01-01T00:00:00.000'
- billingInformationId: 2
issuerCountry: BE
iban: '0987654321'
bic: null
swift: null
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 3
updateTimestamp: '2024-01-01T00:00:00.00'
created: '2024-01-01T00:00:00.000'
directDebitMandate:
- directDebitMandateId: 1
directDebitMandateTypeName: PIN transaction
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
mandateState: SIGNED
updateTimestamp: '2024-01-01T00:00:00.000'
- directDebitMandateId: 2
directDebitMandateTypeName: Paper Contract
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
mandateState: CANCELLED
updateTimestamp: '2024-01-01T00:00:00.000'
missingBillingInformation:
value:
customerNumber: 1000003
@ -881,35 +815,31 @@ paths:
- directDebitMandateId: 1
directDebitMandateTypeName: PIN transaction
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
updateTimestamp: '1900-01-01T00:00:00.000'
- directDebitMandateId: 2
directDebitMandateTypeName: Paper Contract
billingInformationId: 1
mandateAddressId: 2
created: '1900-01-01T00:00:00.000'
mandateReference: Dit is een test Reference
updateTimestamp: '1900-01-01T00:00:00.000'
missingDebitMandateInformation:
value:
customerNumber: 1000003
billingInformation:
- billingInformationId: 1
issuerCountry: NL
iban: '1234567890'
bic: ING
swift: Swift
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 2
created: "2024-06-02T15:03:460"
- billingInformationId: 2
issuerCountry: BE
iban: '0987654321'
bic: null
swift: null
ascription: Dit is een Test
alias: Alias Test
billingAddressId: 3
created: "2024-06-02T15:03:460"
directDebitMandate: []
minimumFinancialInformation:
value:
@ -1112,8 +1042,7 @@ paths:
postalCode: 0000AA
city: Den Haag
country: NL
isPreferred: true
addressType: Office
addressType: Billing
- addressId: 2
street: mystreet 33
houseNumber: 1
@ -1121,8 +1050,7 @@ paths:
postalCode: 4455CA
city: Den BOSCH
country: NL
isPreferred: true
addressType: Office
addressType: Shipping
phone:
- phoneId: 1
number: '3112345678'
@ -1199,8 +1127,7 @@ paths:
postalCode: 0000AA
city: Den Haag
country: NL
isPreferred: true
addressType: Office
addressType: Billing
- addressId: 2
street: mystreet 33
houseNumber: 1
@ -1208,8 +1135,7 @@ paths:
postalCode: 4455CA
city: Den BOSCH
country: NL
isPreferred: true
addressType: Office
addressType: Shipping
phone:
- phoneId: 1
number: '3112345678'
@ -1537,8 +1463,7 @@ paths:
postalCode: 0000AA
city: Den Haag
country: NL
isPreferred: true
addressType: Office
addressType: Billing
- addressId: 2
street: mystreet 33
houseNumber: 1
@ -1546,8 +1471,7 @@ paths:
postalCode: 4455CA
city: Den BOSCH
country: NL
isPreferred: true
addressType: Office
addressType: Shipping
phone:
- phoneId: 1
number: '3112345678'
@ -1753,7 +1677,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
- street: Beeklaan
houseNumber: 30
@ -1761,7 +1684,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: false
addressTypeId: 2
phones:
- number: '6123456789'
@ -2604,7 +2526,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
addMinimumAddress:
value:
@ -2614,7 +2535,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
responses:
'201':
@ -2826,7 +2746,6 @@ paths:
city: Den Haag
country: NL
addressTypeId: 2
isPreferred: true
updateStreet:
value:
address:
@ -2854,11 +2773,7 @@ paths:
updateAddressTypeId:
value:
address:
addressTypeId: 3
updateIsPreferred:
value:
address:
isPreferred: false
addressTypeId: 1
responses:
'202':
description: Successful updated the customer profile
@ -3111,8 +3026,7 @@ paths:
postalCode: 0000AA
city: Den Haag
country: NL
isPreferred: true
addressType: Office
addressType: Billing
- addressId: 2
street: mystreet 33
houseNumber: 1
@ -3120,8 +3034,7 @@ paths:
postalCode: 4455CA
city: Den BOSCH
country: NL
isPreferred: true
addressType: Office
addressType: Shipping
phone:
- phoneId: 1
number: '3112345678'
@ -3328,7 +3241,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
- street: Beeklaan
houseNumber: 30
@ -3336,7 +3248,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: false
addressTypeId: 2
phones:
- number: '6123456789'
@ -4114,7 +4025,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
addMinimumAddress:
value:
@ -4124,7 +4034,6 @@ paths:
postalCode: 2500AA
city: Den Haag
country: NL
isPreferred: true
addressTypeId: 1
responses:
'201':
@ -4350,7 +4259,6 @@ paths:
city: Den Haag
country: NL
addressTypeId: 2
isPreferred: true
updateStreet:
value:
address:
@ -4378,7 +4286,7 @@ paths:
updateAddressTypeId:
value:
address:
addressTypeId: 3
addressTypeId: 1
updateIsPreferred:
value:
address:
@ -4696,8 +4604,6 @@ components:
type: string
country:
type: string
isPreferred:
type: boolean
addressType:
type: string
getPhone:
@ -4761,7 +4667,6 @@ components:
- billingInformationId
- created
- directDebitMandateTypeName
- mandateAddressId
- mandateReference
type: object
properties:
@ -4769,10 +4674,6 @@ components:
type: string
billingInformationId:
type: integer
mandateAddressId:
type: integer
created:
type: string
mandateReference:
type: string
directDebitMandatePost:
@ -4787,8 +4688,6 @@ components:
type: string
billingInformationId:
type: integer
mandateAddressId:
type: integer
mandateReference:
type: string
mandateState:
@ -4811,8 +4710,6 @@ components:
type: integer
billingInformationId:
type: integer
mandateAddressId:
type: integer
created:
type: string
mandateReference:
@ -4826,52 +4723,41 @@ components:
- alias
- ascription
- bic
- billingAddressId
- billingInformationId
- iban
- issuerCountry
- swift
- created
type: object
properties:
billingInformationId:
type: integer
issuerCountry:
type: string
iban:
type: string
bic:
type: string
swift:
type: string
ascription:
type: string
alias:
type: string
billingAddressId:
type: integer
created:
type: string
billingInformationPostEntity:
required:
- alias
- ascription
- billingAddressId
- iban
- issuerCountry
type: object
properties:
issuerCountry:
type: string
iban:
type: string
bic:
type: string
swift:
type: string
ascription:
type: string
alias:
type: string
billingAddressId:
type: integer
created:
type: string
billingInformationPost:
type: object
properties:
@ -4880,20 +4766,14 @@ components:
billingInformationPatchEntity:
type: object
properties:
issuerCountry:
type: string
iban:
type: string
bic:
type: string
swift:
type: string
ascription:
type: string
alias:
type: string
billingAddressId:
type: integer
billingInformationPatch:
type: object
properties:
@ -5095,8 +4975,6 @@ components:
type: string
country:
type: string
isPreferred:
type: boolean
addressTypeId:
type: integer
addressPatchEntity:
@ -5116,8 +4994,6 @@ components:
type: string
addressTypeId:
type: integer
isPreferred:
type: boolean
phonePostEntity:
required:
- countryCode

View File

@ -1367,6 +1367,14 @@ paths:
$ref: "#/components/schemas/unavailable"
example:
{ "customerTokenId": "0aedb483-2477-4720-aee6-7abcd016843b" }
delete:
summary: P1. Delete a customer token.
description: Delete a customer token.
tags:
- Order Line
responses:
"200":
description: OK
/customertokens/{customerTokenId}/personalaccountdata:
parameters:
- in: path
@ -1420,6 +1428,17 @@ paths:
"challengeTypeId": 1,
"oneTimePassword": "H5Iiz3JTaQeIV8p",
}
exisiting PersonalAccountData:
summary: PersonalAccountData already exists for customerToken
description: PersonalAccountData already exists for customerToken
value:
{
"name": "Jan de Vries",
"birthdate": "01-01-1970",
"photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAWJLR0Q+SWQA4wAAAAd0SU1FB+YCBAwmK58TFQgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDItMDRUMTI6Mzg6NDMrMDA6MDBAjYOrAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTA0VDEyOjM4OjQzKzAwOjAwMdA7FwAAAFd6VFh0UmF3IHByb2ZpbGUgdHlwZSBpcHRjAAB4nOPyDAhxVigoyk/LzEnlUgADIwsuYwsTIxNLkxQDEyBEgDTDZAMjs1Qgy9jUyMTMxBzEB8uASKBKLgDqFxF08kI1lQAAAYdpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0n77u/JyBpZD0nVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkJz8+DQo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIj48cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPjxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSJ1dWlkOmZhZjViZGQ1LWJhM2QtMTFkYS1hZDMxLWQzM2Q3NTE4MmYxYiIgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPjx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+PC9yZGY6RGVzY3JpcHRpb24+PC9yZGY6UkRGPjwveDp4bXBtZXRhPg0KPD94cGFja2V0IGVuZD0ndyc/PiyUmAsAAAANSURBVBhXY3grk/YfAAXYAm/HQierAAAAAElFTkSuQmCC" ,
"challengeTypeId": 1,
"oneTimePassword": "H5Iiz3JTaQeIV8p",
}
responses:
"201":
description: OK
@ -1429,6 +1448,19 @@ paths:
$ref: "#/components/schemas/unavailable"
example:
{ "personalAccountDataId": "0aedb483-2477-4720-aee6-7abcd016843b" }
"405":
description: Method not allowed
content:
application/json:
schema:
$ref: "#/components/schemas/unavailable"
examples:
exisiting PersonalAccountData:
summary: PersonalAccountData already exists for customerToken
description: PersonalAccountData already exists for customerToken
value:
"Resource already exist"
/personalaccountdata:
get:
summary: P5. Find personal account data.

File diff suppressed because it is too large Load Diff

View File

@ -38,7 +38,7 @@ paths:
{
"readerId": "b14b0320-2b72-48bb-990b-b97a2d67f9df",
"xBot": "4bfaede2-a6c9-45dd-8a80-1f83a075a115",
"updated": "2025-07-02 15:01:00.000",
"updated": "2025-07-02T15:01:00.000+00:00",
},
],
}
@ -51,12 +51,12 @@ paths:
{
"readerId": "b14b0320-2b72-48bb-990b-b97a2d67f9df",
"xBot": "4bfaede2-a6c9-45dd-8a80-1f83a075a115",
"updated": "2025-07-02 15:01:00.000",
"updated": "22025-07-02T15:01:00.000+00:00",
},
{
"readerId": "b4d8e43c-be21-472c-955b-a0c7c11b4bfb",
"xBot": "625bc66b-a5de-42fc-ba9e-fb02ada4a4ee",
"updated": "2025-07-02 13:37:07.000",
"updated": "2025-07-02T13:37:07.000+00:00",
},
],
}
@ -92,7 +92,7 @@ paths:
{
"readerId": "b14b0320-2b72-48bb-990b-b97a2d67f9df",
"xBot": "4bfaede2-a6c9-45dd-8a80-1f83a075a115",
"updated": "2025-07-02 15:01:00.000",
"updated": "2025-07-02T15:01:00.000+00:00",
}
"201":
description: Created
@ -104,7 +104,7 @@ paths:
{
"readerId": "b14b0320-2b72-48bb-990b-b97a2d67f9df",
"xBot": "4bfaede2-a6c9-45dd-8a80-1f83a075a115",
"updated": "2025-07-02 15:01:00.000",
"updated": "2025-07-02T15:01:00.000+00:00",
}
components:
securitySchemes:
@ -150,7 +150,7 @@ components:
updated:
type: string
format: date-time
example: "2025-07-02T15:01:00Z"
example: "2025-07-02T15:01:00+00:00"
nullable: false
description: The date and time when the token register request was updated.
required: