UNPKG

@aajsa/moyasar-client

Version:

A lightweight and type-safe TypeScript client for interacting with Moyasar Payment Gateway APIs.

14 lines (12 loc) 417 B
import { ClientConfig, MoyasarClient } from "./types.cjs"; //#region src/index.d.ts /** * Create a client to interact with the Moyasar API. * @param config - Configuration options * @example * const mysr = createMoyasar({ apiKey: "sk_test_"}); * const listInvoices = await moyasar.listInvoices(); */ declare const createMoyasar: (config?: ClientConfig) => MoyasarClient; //#endregion export { createMoyasar };