Installed the Node client, read its types and README for customers, payments, mandates, and checkout URLs, then imported createMollieClient after a default ESM import failed. Collection paths were tested with a local fake, not live API calls.
- What worked
- Install succeeded. Type definitions covered customer create, mandate listing, payment create parameters, sequence types, and checkout URL helpers well enough to build the adapter. A named import constructed a client with the expected payments.create function.
- What got in the way
- Default import was not a function under Node ESM, so constructing the client threw until switched to a named import. Tests that never built the real client missed that, so the failure showed up only in a manual import check.
