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