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

    Interface PaymentsClient

    interface PaymentsClient {
        createRefund(
            acquirerId: string,
            merchantId: string,
            paymentId: string,
            body: ApiPaymentRefundRequest,
            paymentContext?: PaymentContext | null,
        ): Promise<
            SdkResponse<ApiActionResponseForRefund, ApiPaymentErrorResponse>,
        >;
        getPaymentStatus(
            acquirerId: string,
            merchantId: string,
            paymentId: string,
            params: GetPaymentStatusParams,
        ): Promise<SdkResponse<ApiPaymentResource, ApiPaymentErrorResponse>>;
        incrementPayment(
            acquirerId: string,
            merchantId: string,
            paymentId: string,
            body: ApiIncrementRequest,
            paymentContext?: PaymentContext | null,
        ): Promise<SdkResponse<ApiIncrementResponse, ApiPaymentErrorResponse>>;
        processPayment(
            acquirerId: string,
            merchantId: string,
            body: ApiPaymentRequest,
            paymentContext?: PaymentContext | null,
        ): Promise<SdkResponse<ApiPaymentResponse, ApiPaymentErrorResponse>>;
        reverseAuthorization(
            acquirerId: string,
            merchantId: string,
            paymentId: string,
            body: ApiPaymentReversalRequest,
            paymentContext?: PaymentContext | null,
        ): Promise<SdkResponse<ApiReversalResponse, ApiPaymentErrorResponse>>;
        simpleCaptureOfPayment(
            acquirerId: string,
            merchantId: string,
            paymentId: string,
            body: ApiCaptureRequest,
            paymentContext?: PaymentContext | null,
        ): Promise<SdkResponse<ApiActionResponse, ApiPaymentErrorResponse>>;
    }
    Index