Skip to main content
These pages map each step of an online order to the Taxwire call it needs. Start here, then follow the flow for your case:
  • 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 URL https://api.taxwire.com and these headers:
Amounts are strings in the currency’s smallest unit. "1000" is $10.00 in USD, and "45000" is ₩45,000 in KRW, which has no smaller unit.