Function OnboardingApiFp

  • OnboardingApi - functional programming interface

    Export

    Parameters

    Returns {
        getMerchantApplication(account_id, options?) => Promise<((axios?, basePath?) => AxiosPromise<MerchantApplication>)>;
        submitMerchantApplication(account_id, options?) => Promise<((axios?, basePath?) => AxiosPromise<object>)>;
        updateMerchantApplication(account_id, MerchantApplicationCreateParams, options?) => Promise<((axios?, basePath?) => AxiosPromise<MerchantApplication>)>;
    }

    • getMerchantApplication:function
      • Retrieves the details of an existing merchant application. The application can only be accessed if its status is created or started. Once the application is submitted or active, it is no longer accessible.

        Summary

        Get a Merchant Application

        Throws

        Parameters

        • account_id: string

          The id of the associated connected (i.e. merchant) account.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<MerchantApplication>)>

    • submitMerchantApplication:function
      • Submits a merchant application for processing. If there are any validation errors, they must be corrected before re-submitting. Once successfully submitted, the application is no longer accessible.

        Summary

        Submit a Merchant Application

        Throws

        Parameters

        • account_id: string

          The id of the associated connected (i.e. merchant) account.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<object>)>

    • updateMerchantApplication:function
      • Updates a merchant application by overwriting all properties.

        Summary

        Update a Merchant Application

        Throws

        Parameters

        • account_id: string

          The id of the associated connected (i.e. merchant) account.

        • MerchantApplicationCreateParams: MerchantApplicationCreateParams
        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<MerchantApplication>)>

Generated using TypeDoc