connect-sdk-nodejs
Version:
SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API
9 lines (8 loc) • 622 B
TypeScript
import { PaymentContext, SdkResponse } from "../../../model/types";
import { ErrorResponse, GetInstallmentRequest, InstallmentOptionsResponse } from "../domain";
export interface InstallmentsClient {
/**
* Resource /{merchantId}/installments/getInstallmentsInfo - <a href="https://apireference.connect.worldline-solutions.com/s2sapi/v1/en_US/nodejs/installments/getInstallmentsInfo.html">Get installment information</a>
*/
getInstallmentsInfo(merchantId: string, postData: GetInstallmentRequest, paymentContext?: PaymentContext | null): Promise<SdkResponse<InstallmentOptionsResponse, ErrorResponse>>;
}