Worldline Connect Node.js SDK
    Preparing search index...

    Interface RefundsClient

    interface RefundsClient {
        approve(
            merchantId: string,
            refundId: string,
            postData: ApproveRefundRequest,
            paymentContext?: PaymentContext | null,
        ): Promise<SdkResponse<void, ErrorResponse>>;
        cancel(
            merchantId: string,
            refundId: string,
            paymentContext?: PaymentContext | null,
        ): Promise<SdkResponse<void, ErrorResponse>>;
        cancelapproval(
            merchantId: string,
            refundId: string,
            paymentContext?: PaymentContext | null,
        ): Promise<SdkResponse<void, ErrorResponse>>;
        find(
            merchantId: string,
            paymentContext: FindRefundsParams,
        ): Promise<SdkResponse<FindRefundsResponse, ErrorResponse>>;
        get(
            merchantId: string,
            refundId: string,
            paymentContext?: PaymentContext | null,
        ): Promise<SdkResponse<RefundResponse, ErrorResponse>>;
    }
    Index

    Methods