updated the patches #26

Merged
MirjamHTM merged 3 commits from feature/OVPAY2095-customersv2patch into develop 2025-09-01 12:29:25 +00:00

View File

@ -864,7 +864,7 @@ paths:
patch:
tags:
- Customer
summary: Modify a customer element
summary: Modify a customer debtorStatus
description: >-
parameters:
@ -880,9 +880,30 @@ paths:
schema:
$ref: "#/components/schemas/customersEntity"
examples:
customer:
updateDebtorStatus:
value:
debtorStatusId: 2
updateFullPerson:
value:
person: {
birthname: "Jan",
surname: "Jansen",
prefix: "de",
suffix: "jr",
dateOfBirth: "1970-01-01",
emailAddress: "TEST@TEST1.NL"
}
updateCompleteEntity:
value:
debtorStatusId: 2
person: {
birthname: "Jan",
surname: "Jansen",
prefix: "de",
suffix: "jr",
dateOfBirth: "1970-01-01",
emailAddress: "TEST@TEST1.NL"
}
required: true
responses:
201:
@ -1065,10 +1086,15 @@ paths:
schema:
$ref: "#/components/schemas/patchCustomerAddress"
examples:
updateAddressTypeId:
fullAddress:
value:
address:
addressTypeId: 2
street: Sesamstraat
houseNumber: 1
houseNumberSuffix: A
postalCode: 1234 AB
city: Den Haag
country: NL
required: true
responses:
200:
@ -1126,8 +1152,8 @@ paths:
customerPhone:
value:
phone:
number: 0701112233
countryCode: 0031
number: "0701112233"
countryCode: "0031"
phoneTypeId: 1
isPreferred: true
required: true
@ -1161,7 +1187,14 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/phoneEntity"
examples:
examples:
updateFullPhoneEntity:
value:
phone:
phoneTypeId: 2
number: "0701112233"
countryCode: "0031"
isPreferred: false
updatePhoneTypeId:
value:
phone:
@ -1424,6 +1457,13 @@ paths:
schema:
$ref: "#/components/schemas/ovPayTokenEntity"
examples:
updateFullToken:
value:
ovpaytoken:
alias: "ING pas mobiel"
tokenStatusId: 1
replacedByTokenId: 8
lastdigits: 4563
updateTokenAlias:
value:
ovpaytoken:
@ -1726,54 +1766,6 @@ paths:
- default: []
x-auth-type: Application & Application User
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:
get:
tags: