connect-sdk-nodejs
Version:
SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API
4 lines (3 loc) • 380 B
TypeScript
import { PaymentContext, SdkContext, SdkResponse } from "../../model";
import { RefundErrorResponse, RefundRequest, RefundResponse } from "../model/domain";
export declare function refund(sdkContext: SdkContext): (merchantId: string, captureId: string, postData: RefundRequest, paymentContext?: PaymentContext | null) => Promise<SdkResponse<RefundResponse, RefundErrorResponse>>;