Skip to main content
This walkthrough takes about five minutes. You need an API key; see Authentication for how keys are issued.
1

Confirm the API is reachable

The health endpoint needs no key.
The response names the API version, the engine version, the dataset version, and how many enacted states the engine has loaded.
2

Ask which rule governs a location today

Jurisdiction lookups need no key either. This asks what governs a retail cash sale in Raleigh, North Carolina, today.
The important fields are rounding_mode, obligation, activation.state, and statutory_basis.
Change transaction_type=retail to transaction_type=tax_payment and the same ZIP resolves to a different rule: N.C.G.S. 105-357(a1), which obligates taxing units to round in-person cash tax payments down.
3

Process a cash transaction

Send the pre-tax subtotal and the tax in cents, the tender, and the location. Amounts are always integers in cents.
The ledger total is $10.73. North Carolina permits symmetrical rounding to the nearest five cents, so the cash total is $10.75 and the delta is two cents.
4

Read the evidence

Every transaction can be retrieved by id, and a receipt can be rendered in three formats.
The audit format includes the hash chain position, the statutory basis, and the fraud score. The merchant format is customer-facing with a rounding disclosure. The pos format is raw cents only.

What to do next

Register merchants and terminals

Registered locations are resolved to boundaries once, so transactions can be keyed by location_id instead of ZIP.

Understand activation

Why Oklahoma returns the federal default today and its own statute on November 1.

Refunds, voids and overrides

Reversals carry the same statute as the sale.

Test with Postman

A collection layout that covers every endpoint.
Send x-api-key as a request header. Placing it in the query string sends the key in the URL, which is logged by proxies, and the request is rejected as unauthenticated.