UseDocumentation Index
Fetch the complete documentation index at: https://docs.moflay.com/llms.txt
Use this file to discover all available pages before exploring further.
@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
Read customers and transactions
Amounts
Send payment amounts as integer minor currency units. For example,amount: 1000 means KES 10.00.
SDK vs raw HTTP
| Use the SDK when | Use raw HTTP when |
|---|---|
| Your backend uses Node.js or TypeScript | Your backend uses another language |
| You want typed request and response helpers | You want direct control over HTTP behavior |
| You prefer SDK pagination helpers | You already have an HTTP client abstraction |