Skip to content

Commit

Permalink
NTR: add missing mandate routes to swagger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
boxblinkracer committed Oct 16, 2023
1 parent 9b0130e commit 159513e
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions tests/Swagger/mollie-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,26 @@ paths:
"200":
description: "successful operation"

/store-api/mollie/creditcard/store-mandate-id/{customerId}/{mandateId}:
post:
tags:
- "Credit Card"
summary: "Save the mandate id that should be used for the upcoming credit card payment."
security:
- AccessKey: [ ]
- AccessToken: [ ]
parameters:
- name: "customerId"
in: "path"
description: "Shopware Customer ID"
required: true
- name: "mandateId"
in: "path"
description: "Mandate ID from the Mollie that should be used for the payment."
required: true
responses:
"200":
description: "successful operation"

/store-api/mollie/ideal/issuers:
get:
Expand Down Expand Up @@ -599,6 +619,44 @@ paths:
"200":
description: "successful operation"

/store-api/mollie/mandates/{customerId}:
get:
tags:
- "Mandates"
summary: "Gets all available mandates of the provided customer"
security:
- AccessKey: [ ]
- AccessToken: [ ]
parameters:
- name: "customerId"
in: "path"
description: "Shopware Customer ID"
required: true
responses:
"200":
description: "successful operation"

/store-api/mollie/mandate/revoke/{customerId}/{mandateId}:
post:
tags:
- "Mandates"
summary: "Revokes and deletes the saved card with the provided mandate ID inside Mollie"
security:
- AccessKey: [ ]
- AccessToken: [ ]
parameters:
- name: "customerId"
in: "path"
description: "Shopware Customer ID"
required: true
- name: "mandateId"
in: "path"
description: "Mandate ID from the Mollie that should be removed."
required: true
responses:
"200":
description: "successful operation"

/api/mollie/webhook/{transactionId}:
post:
tags:
Expand Down

0 comments on commit 159513e

Please sign in to comment.