less than a minute read • Updated 10 minutes ago
Custom tax endpoint overview
When to calculate taxes with your own endpoint instead of Foxy’s built-in or third-party options.
If Foxy’s built-in tax settings and third-party tax services cannot handle your requirements — rates from an ERP, highly specific thresholds, or a system Foxy does not support natively — point Foxy at your own tax endpoint and calculate the tax yourself.
How it works
For each relevant event, Foxy sends a payload mirroring the API format to your endpoint, and your endpoint responds with the tax to apply. The mechanism is the same idea as the custom shipping endpoint, applied to tax.
What to read next
Set up a custom tax endpoint — connect your endpoint and deploy the starter code.
Custom tax endpoint reference — the events Foxy sends and the response format it expects.