UNPKG

thawani-nodejs

Version:

Node.js library for Thawani Payment Gateway

17 lines (16 loc) 487 B
import { BaseResource } from './base'; export interface CustomerParams { client_customer_id: string; } export interface Customer { id: string; customer_client_id: string; } export declare class Customers extends BaseResource { create(params: CustomerParams): Promise<Customer>; retrieve(customerId: string): Promise<Customer>; list(limit?: number, skip?: number): Promise<Customer[]>; delete(customerId: string): Promise<{ success: boolean; }>; }