Gateway

Instance Methods

Method Name Description
getCaptureToken(): Promise<{ type: string, url: string, data: any }> Retrieve capture token.
chargeCaptureToken(cart: LCheckout, token?: string): Promise<{ success: true }> Attempt to charge capture token returned from getCaptureToken().
getSourceToken(): Promise<{ type: string, url: string, data: any }> Retrieve source token.
connectSourceToken(paymentMethod: LPaymentMethod, token?: string): Promise<> Connect source token returned from getSourceToken() with a payment method.