UNPKG

connect-sdk-nodejs

Version:

SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API

4 lines (3 loc) 353 B
import { PaymentContext, SdkContext, SdkResponse } from "../../model"; import { ErrorResponse, SessionRequest, SessionResponse } from "../model/domain"; export declare function create(sdkContext: SdkContext): (merchantId: string, postData: SessionRequest, paymentContext?: PaymentContext | null) => Promise<SdkResponse<SessionResponse, ErrorResponse>>;