started on mandates

This commit is contained in:
Mirjam Herald 2025-02-17 17:44:50 +01:00
parent 8f8a044fde
commit 683b12f6eb

View File

@ -922,7 +922,7 @@ paths:
/customers/{customerProfileId}/addresses: /customers/{customerProfileId}/addresses:
post: post:
tags: tags:
- Customer - Customer address
summary: Add a customer address summary: Add a customer address
description: >- description: >-
@ -965,7 +965,7 @@ paths:
/addresses/{addressId}: /addresses/{addressId}:
patch: patch:
tags: tags:
- Customer - Customer address
summary: Edit a customer address summary: Edit a customer address
description: >- description: >-
@ -1000,7 +1000,7 @@ paths:
x-throttling-tier: Unlimited x-throttling-tier: Unlimited
delete: delete:
tags: tags:
- Customer - Customer address
summary: Delete a customer address summary: Delete a customer address
description: >- description: >-
@ -1024,7 +1024,7 @@ paths:
/customers/{customerProfileId}/phones: /customers/{customerProfileId}/phones:
post: post:
tags: tags:
- Customer - Customer phoneNumber
summary: Add a customer phonenumber summary: Add a customer phonenumber
description: >- description: >-
@ -1063,7 +1063,7 @@ paths:
/phones/{phoneId}: /phones/{phoneId}:
patch: patch:
tags: tags:
- Customer - Customer phoneNumber
summary: Edit a customer phonenumber summary: Edit a customer phonenumber
description: >- description: >-
@ -1098,7 +1098,7 @@ paths:
x-throttling-tier: Unlimited x-throttling-tier: Unlimited
delete: delete:
tags: tags:
- Customer - Customer phoneNumber
summary: Delete a customer phone summary: Delete a customer phone
description: >- description: >-
@ -1578,6 +1578,45 @@ paths:
"updateTimestamp": "2024-03-22T08:55:00", "updateTimestamp": "2024-03-22T08:55:00",
}, },
] ]
/billingInformation/{billingInformationId}/directdebitmandates:
post:
tags:
- Mandates
summary: Add a customer direct debitmandate
description: >-
parameters:
- name: billingInformationId
in: path
required: true
schema:
type: integer
example: 1
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/mandateEntity"
examples:
customerDirectDebitMandatePrepared:
value:
directDebitMandate:
directDebitMandateTypeId: 1
mandateAddressId: 1
mandateReference: HTM-mandate-001
mandateState: PREPARED
required: true
responses:
201:
description: Successfully created a customer mandate
content:
application/json:
schema:
$ref: "#/components/schemas/postDirectDebitMandateResponse"
security:
- default: []
x-auth-type: Application & Application User
x-throttling-tier: Unlimited
components: components:
securitySchemes: securitySchemes:
default: default:
@ -1821,6 +1860,8 @@ components:
ovPayTokenEntity: ovPayTokenEntity:
type: object type: object
properties: properties:
ovPayTokenId:
type: integer
tokenType: tokenType:
type: object type: object
properties: properties:
@ -2036,12 +2077,9 @@ components:
billingInformationId: billingInformationId:
type: integer type: integer
example: 1 example: 1
postCustomerProfileDirectDebitMandateResponse: postDirectDebitMandateResponse:
type: object type: object
properties: properties:
customerNumber:
type: integer
example: 10000001
directDebitMandateId: directDebitMandateId:
type: integer type: integer
example: 1 example: 1
@ -2078,43 +2116,26 @@ components:
customerLanguageId: customerLanguageId:
type: integer type: integer
example: 1 example: 1
ovPayTokenGetEntity:
type: object
properties:
ovPayTokenId:
type: integer
example: 1
tokenTypeId:
type: integer
example: 1
xTat:
type: string
example: 0044831b-8e80c-4f82-r989a-8d85ee1996
xBot:
type: string
example: 0044831b-8e80c-4f82-r989a-8d85ee1996
lastDigits:
type: string
example: "0001"
ovpasNumber:
type: integer
example: 1
alias:
type: string
example: alias
tokenStatusId:
type: integer
expirationDate:
type: string
replacedByTokenId:
type: integer
getCustomerProfileOvPayTokenResponse: getCustomerProfileOvPayTokenResponse:
type: object type: object
properties: properties:
ovPayToken: ovPayToken:
type: array type: array
items: items:
$ref: "#/components/schemas/ovPayTokenGetEntity" $ref: "#/components/schemas/ovPayTokenEntity"
mandateEntity:
type: object
properties:
directDebitMandateId:
type: integer
directDebitMandateTypeId:
type: integer
mandateAddressId:
type: integer
mandateReference:
type: string
mandateState:
type: string
postOvPayTokenResponse: postOvPayTokenResponse:
type: object type: object
properties: properties: