@moflay/sdk when you want the fastest path to a working Moflay integration in Node.js or TypeScript.
Prerequisites
- A Moflay account
- A valid API key
Install the SDK
Authenticate the client
Send an express payment
Add customer details when needed
Read customers and transactions
When to use the SDK vs raw HTTP
- Use the SDK if you are building with Node.js or TypeScript and want a faster integration path.
- Use the REST API if your stack is not JavaScript or you prefer direct HTTP control.