UNPKG

nodejs-cryptomus

Version:

A comprehensive Node.js client for the Cryptomus API

34 lines (33 loc) 1.07 kB
import { PaymentService } from './services/payment'; import { PayoutService } from './services/payout'; import { WebhookService } from './services/webhook'; import { BalanceService } from './services/balance'; import { CurrencyService } from './services/currency'; import { CryptomusOptions } from './types'; /** * Cryptomus API client */ export declare class Cryptomus { /** Payment service */ readonly payment: PaymentService; /** Payout service */ readonly payout: PayoutService; /** Payment webhook service */ readonly paymentWebhook: WebhookService; /** Payout webhook service */ readonly payoutWebhook: WebhookService; /** Balance service */ readonly balance: BalanceService; /** Currency service */ readonly currency: CurrencyService; private readonly client; /** * Create a new Cryptomus API client * * @param options - Configuration options */ constructor(options: CryptomusOptions); } export * from './types'; export * from './utils/signature'; export * from './utils/helpers';