Sha256: eab18004f5447e516a4ba02e8ce6448cbfb9cba58f693b91569b8b65b23aaa19

Contents?: true

Size: 1.48 KB

Versions: 8

Compression:

Stored size: 1.48 KB

Contents

module AvaTax
  class Client
    module Onboarding 


      # Request a new Avalara account
      #
      # This API is for use by partner onboarding services customers only.
      #
      # Avalara invites select partners to refer new customers to the AvaTax service using the onboarding features
      # of AvaTax. These partners can create accounts for new customers using this API.
      #
      # Calling this API creates an account with the specified product subscriptions, but does not configure billing.
      # The customer will receive information from Avalara about how to configure billing for their account.
      # You should call this API when a customer has requested to begin using Avalara services.
      #
      # If the newly created account owner wishes, they can confirm that they have read and agree to the Avalara
      # terms and conditions. If they do so, they can receive a license key as part of this API and their
      # API will be created in `Active` status. If the customer has not yet read and accepted these terms and
      # conditions, the account will be created in `New` status and they can receive a license key by logging
      # onto the AvaTax website and reviewing terms and conditions online.
      # @param model [Object] Information about the account you wish to create and the selected product offerings.
      # @return [Object]
      def request_new_account(model)
        path = "/api/v2/accounts/request"
        post(path, model)
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
avatax-18.5.1 lib/avatax/client/onboarding.rb
avatax-18.4.1 lib/avatax/client/onboarding.rb
avatax-18.4.0 lib/avatax/client/onboarding.rb
avatax-18.3.0 lib/avatax/client/onboarding.rb
avatax-18.2.0 lib/avatax/client/onboarding.rb
avatax-18.1.2 lib/avatax/client/onboarding.rb
avatax-17.12.0 lib/avatax/client/onboarding.rb
avatax-17.9.1 lib/avatax/client/onboarding.rb