Resource operations available in
/api/v2/tax context provide means to calculate tax for a customer without actually storing a transaction.
Data model is shared with /api/v2/transactions endpoint.
Differences between tax calculation and transaction storage
/tax/calculateis designed to support interactive use as part of dynamic checkout forms. Since it may be called before all the evidence is available it resolves a tax country in cases where the
/transactionsendpoint does not.
For example, given just an IP address,
/tax/calculatewill use it as the tax country.
However, depending on account configuration,
/transactionsmay return a