UNPKG

ohehr_payment

Version:

Payment integration package for multiple payment providers

18 lines 847 B
import { CreateInvoiceInput, CreateInvoiceResponse, InquiryResponse, Lang, PaymentMethod } from "./types"; interface GolomtConfig { endpoint: string; secret: string; bearerToken: string; callbackUrl: string; } export declare function getGolomtConfig({ endpoint, secret, bearerToken, callbackUrl, }: { endpoint: string; secret: string; bearerToken: string; callbackUrl: string; }): GolomtConfig; export declare function golomtCreateInvoice(config: GolomtConfig, input: CreateInvoiceInput): Promise<CreateInvoiceResponse>; export declare function golomtInquiry(config: GolomtConfig, transactionId: string): Promise<InquiryResponse>; export declare function golomtGetUrlByInvoiceId(config: GolomtConfig, invoice: string, lang: Lang, paymentMethod: PaymentMethod): string; export {}; //# sourceMappingURL=utils.d.ts.map