UNPKG

thawani-nodejs

Version:

Node.js library for Thawani Payment Gateway

21 lines (20 loc) 847 B
import { Config, ThawaniConfig } from './config'; import { Checkout } from './resources/checkout'; import { Customers } from './resources/customers'; import { PaymentIntents } from './resources/payment-intents'; import { PaymentMethods } from './resources/payment-methods'; import { Payments } from './resources/payments'; import { Refunds } from './resources/refunds'; import { WebhookHandler } from './resources/webhooks'; export declare class ThawaniClient { readonly config: Config; readonly checkout: Checkout; readonly customers: Customers; readonly paymentIntents: PaymentIntents; readonly paymentMethods: PaymentMethods; readonly payments: Payments; readonly refunds: Refunds; readonly webhooks: WebhookHandler; constructor(config: ThawaniConfig); getPublicCheckoutUrl(sessionId: string): string; }