Function AccountsApiFactory

  • AccountsApi - factory interface

    Export

    Parameters

    • Optional configuration: Configuration
    • Optional basePath: string
    • Optional axios: AxiosInstance

    Returns {
        addAccountCapability(requestParameters, options?) => AxiosPromise<void>;
        createConnectedAccount(requestParameters, options?) => AxiosPromise<Account>;
        deleteAccountCapability(requestParameters, options?) => AxiosPromise<void>;
        deleteConnectedAccount(requestParameters, options?) => AxiosPromise<void>;
        getAccount(requestParameters, options?) => AxiosPromise<Account>;
        listConnectedAccounts(requestParameters, options?) => AxiosPromise<ListConnectedAccounts200Response>;
        updateAccount(requestParameters, options?) => AxiosPromise<Account>;
        updateAccountCapability(requestParameters, options?) => AxiosPromise<void>;
    }

    • addAccountCapability:function
      • Adds an Account capability. Account capabilities can only be managed before the onboarding application is submitted.

        Summary

        Add an Account Capability

        Throws

        Parameters

        Returns AxiosPromise<void>

    • createConnectedAccount:function
      • Creates a connected Account associated with your partner/parent Account.

        Summary

        Create a Connected Account

        Throws

        Parameters

        Returns AxiosPromise<Account>

    • deleteAccountCapability:function
      • Deletes an Account capability. Account capabilities can only be managed before the onboarding application is submitted.

        Summary

        Delete an Account Capability

        Throws

        Parameters

        Returns AxiosPromise<void>

    • deleteConnectedAccount:function
      • Deletes a merchant Account. This cannot be undone.

        Summary

        Delete a Connected Account

        Throws

        Parameters

        Returns AxiosPromise<void>

    • getAccount:function
      • Retrieves the details of an existing Account.

        Summary

        Get an Account

        Throws

        Parameters

        • requestParameters: AccountsApiGetAccountRequest

          Request parameters.

        • Optional options: RawAxiosRequestConfig<any>

          Override http request option.

        Returns AxiosPromise<Account>

    • listConnectedAccounts:function
    • updateAccount:function
      • Updates an Account by setting the values of the provided parameters. Any parameters not provided remain unchanged.

        Summary

        Update an Account

        Throws

        Parameters

        Returns AxiosPromise<Account>

    • updateAccountCapability:function
      • Updates an Account capability. Account capabilities can only be managed before the onboarding application is submitted.

        Summary

        Update an Account Capability

        Throws

        Parameters

        Returns AxiosPromise<void>

Generated using TypeDoc