UNPKG

node-beamcheckout

Version:
10 lines (9 loc) 461 B
import { CreatePaymentArgs, CreatePaymentResponse, DisablePaymentResponse, GetPaymentResponse } from "./types"; export declare class BeamCheckout { constructor(merchantId: string, apiKey: string); private merchantId; private apiKey; createPayment(args: CreatePaymentArgs): Promise<CreatePaymentResponse>; getPayment(purchaseId: string): Promise<GetPaymentResponse>; disablePayment(purchaseId: string): Promise<DisablePaymentResponse>; }