UNPKG

node-beamcheckout

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