Skip to main content

Node.js Examples

Illustrative Node.js examples for integrating with the LuxCore API using axios.

Installation

LuxCore Client Class

Save this API v1 example in luxcore.js for the imports below.
The webhook helpers below use the default HMAC-SHA256 algorithm. Use the configured algorithm and verify a test delivery before enabling business actions. These examples are clients for API v1, not official SDK packages.

Usage Examples

Create a Deposit Payment

Create a Withdrawal (Payout)

List Payments

Webhook Handler (Express)

TypeScript Version

Error Handling