Swimlanes.io is a free webapp for making sequence diagrams. You simply edit the text on the left and the diagram is updated in real time. You can download your sequence diagrams as images or distribute with a link.
Title: High Level Mollie Setup Consumer -> Shop: Start checkout Shop -> Mollie: GET methods Mollie -> Shop: methods note: methods can be filtered client or server-side (or both) Consumer -> Shop: Select method Shop -> Mollie: POST payments Mollie -> Shop: Webhook note: webhooks are currently only provided for Payment (or Order) object state changes Mollie -> Shop: Confirm ...: {fa-spinner} Export Order to ERP Shop -> ERP: Export Order note: "ERP" here is a wildcard for the whole Mirakl/SAP stack if: Routing of the payment required ERP -> Mollie: PATCH payments/:id note: route contains org ID and amounts as well as a descriptor. The Mollie Mirakl Connector covers this already. Mollie -> ERP: Confirm end note: Package to be shipped, asuming ERP can contact Mollie directly if: capture required note: captures are required for BNPL-like methods and optionally possible for cards ERP -> Mollie: POST payments/:id/captures Mollie -> ERP: Confirm end ERP -> Shop: Status update ERP -> Consumer: Package ...: {fa-spinner} Consumer returns package Consumer -> ERP: Package ERP -> Mollie: POST payments/:id/refunds Mollie -> ERP: Confirm ERP -> Shop: Status update ...: {fa-spinner} Accounting starts ERP -> Accounting: Sales receipts if: Settlement based accounting Accounting -> Mollie: GET settlements note: Executed on new settlement, bank transfer identifier can be used to retrieve settlement on this API else: Balance based accounting Accounting -> Mollie: GET balance transactions note: Executed periodically (eg. daily or even hourly) else: CSV based accounting Accounting -> Mollie: CSV import (manual!) note: Can be either balance-based or settlement-based end order: Consumer, Shop, ERP, Mollie, Accounting