- Checkout and shipment: quote tax at checkout, record the sale when it ships.
- Cancellations: an order cancelled before it ships, and a sale recorded by mistake.
- Refunds: full and partial refunds of a recorded sale.
- Pre-orders: orders paid now and shipped later.
The order, end to end
Blue boxes are Taxwire calls. Dotted lines are quotes, which save nothing. Thick lines record a transaction.Quoting and recording
Every flow uses two calls:
Quote whenever the order changes. Record once, when the sale is complete. A quote that is never recorded has no effect on your returns.
Order steps at a glance
The API is synchronous and sends no webhooks. The response to
POST /transactions is the saved transaction. See Retries and network failures for what to do when a request fails or times out.Request basics
Every request uses the base URLhttps://api.taxwire.com and these headers:
"1000" is $10.00 in USD, and "45000" is ₩45,000 in KRW, which has no smaller unit.