A TypeScript SDK for interacting with the Cpay REST API (version 2.1.1), providing convenient methods for authentication, wallet management (including multi-currency and deposit wallets), and withdrawals (including NFTs and internal transfers). It supports both v1 and v2 wallet versions. Ideal for Node.js applications needing seamless integration with Cpay payment infrastructure.
npm install cpay-node-api-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates initialization, authentication, wallet creation, and fee estimation – core Cpay operations.
Check walletVersion and handle response fields accordingly.
Ensure walletId and passphrase are provided in the options object when constructing CpaySDK.
Store private keys securely and avoid printing them.
Set walletVersion to 'v2' in wallet creation options.
Use: const cpay = new CpaySDK(options);
Pass walletId in the options object: new CpaySDK({ ..., walletId: 'your-wallet-id' })No dependency data recorded yet.