updated the patches #26

Merged
MirjamHTM merged 3 commits from feature/OVPAY2095-customersv2patch into develop 2025-09-01 12:29:25 +00:00
Showing only changes of commit 8730cfbe99 - Show all commits

View File

@ -864,7 +864,7 @@ paths:
patch: patch:
tags: tags:
- Customer - Customer
summary: Modify a customer element summary: Modify a customer debtorStatus
description: >- description: >-
parameters: parameters:
@ -880,9 +880,30 @@ paths:
schema: schema:
$ref: "#/components/schemas/customersEntity" $ref: "#/components/schemas/customersEntity"
examples: examples:
customer: customer debtorStatus:
value: value:
debtorStatusId: 2 debtorStatusId: 2
update full person:
value:
person: {
birthname: "Jan",
surname: "Jansen",
prefix: "de",
suffix: "jr",
dateOfBirth: "1970-01-01",
emailAddress: "TEST@TEST1.NL"
}
update completeEntity:
value:
debtorStatusId: 2
person: {
birthname: "Jan",
surname: "Jansen",
prefix: "de",
suffix: "jr",
dateOfBirth: "1970-01-01",
emailAddress: "TEST@TEST1.NL"
}
required: true required: true
responses: responses:
201: 201:
@ -1065,10 +1086,15 @@ paths:
schema: schema:
$ref: "#/components/schemas/patchCustomerAddress" $ref: "#/components/schemas/patchCustomerAddress"
examples: examples:
updateAddressTypeId: fullAddress:
value: value:
address: address:
addressTypeId: 2 street: Sesamstraat
houseNumber: 1
houseNumberSuffix: A
postalCode: 1234 AB
city: Den Haag
country: NL
required: true required: true
responses: responses:
200: 200:
@ -1162,6 +1188,13 @@ paths:
schema: schema:
$ref: "#/components/schemas/phoneEntity" $ref: "#/components/schemas/phoneEntity"
examples: examples:
updateFullPhoneEntity:
value:
phone:
phoneTypeId: 2
number: 0701112233
countryCode: 0031
isPreferred: false
updatePhoneTypeId: updatePhoneTypeId:
value: value:
phone: phone:
@ -1424,6 +1457,13 @@ paths:
schema: schema:
$ref: "#/components/schemas/ovPayTokenEntity" $ref: "#/components/schemas/ovPayTokenEntity"
examples: examples:
updateFullToken:
value:
ovpaytoken:
alias: "ING pas mobiel"
tokenStatusId: 1
replacedByTokenId: 8
lastdigits: 4563
updateTokenAlias: updateTokenAlias:
value: value:
ovpaytoken: ovpaytoken:
@ -1726,54 +1766,6 @@ paths:
- default: [] - default: []
x-auth-type: Application & Application User x-auth-type: Application & Application User
x-throttling-tier: Unlimited x-throttling-tier: Unlimited
/billingInformations/{billingInformationId}:
patch:
tags:
- Billing Information
summary: Update a billing information
description: >-
parameters:
- name: billingInformationId
in: path
required: true
schema:
type: integer
example: 1
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/billingInformationEntity"
examples:
updateBillingInformationAlias:
value:
billingInformation:
alias: "Mijn rekening details"
updateBillingInformation:
value:
billingInformation:
alias: "Mijn rekening details"
iban: "NL06RABO8902022560"
required: true
responses:
200:
description: Successfully updated a customer billing information
content:
application/json:
example:
{
"billingInformationId": 1,
"customerProfileId": 1,
"iban": "NL06RABO8902022560",
"ascription": "J. Doe",
"alias": "Mijn rekening details",
"created": "2024-03-22T08:55:00",
}
security:
- default: []
x-auth-type: Application & Application User
x-throttling-tier: Unlimited
/directdebitmandates: /directdebitmandates:
get: get:
tags: tags: