A merchant is a seller on your platform. Create one per seller, then pass it on a platform calculation to give the calculation the seller’s context. Its
default_address is the origin address for tax sourcing. Merchants are new in API version 2026-01-01, and every merchant endpoint requires X-API-Version: 2026-01-01.Where merchants fit
The Merchant object
Attributes
Your ID for this merchant. Unique among your merchants in the same mode (test or live). Can’t be changed after creation. See Your own merchant IDs.
The merchant’s business address. Used as the origin address in platform calculations to apply tax sourcing rules. Some jurisdictions, like origin-based US states, use the seller’s location to set the rate.
The merchant’s tax IDs, for B2B sales. A platform calculation can override them with
merchant.tax_ids.Tax ID type, e.g.
us_ein, eu_vat, fr_vat, de_vat, or gb_vat. See tax IDs for every type.true if made with a test API key. Test and live merchants are separate: each is only visible with keys from its own mode.Unix seconds when the merchant was created.
updated_at follows the same pattern for the last update.The Merchant object
Your own merchant IDs
Send areference_merchant_id when you create a merchant, and you can use it anywhere the merchant’s id works:- Retrieve, update, and delete it:
/tax/merchants/my-seller-123. - Calculate with it:
"merchant": { "merchant_id": "my-seller-123" }.
MERCHANT_NOT_FOUND.Using your own ID
Create a merchant
Creates a merchant. Every field is optional. Try it in the API reference.Parameters
Your ID for this merchant. Must be unique among your merchants in the same mode (test or live). You can use it to look up the merchant later.
The merchant’s tax IDs.
Tax ID type, e.g.
us_ein or fr_vat. See tax IDs.Returns
A Merchant object.Response
Update a merchant
Updates a merchant. Send only the fields you want to change. Try it in the API reference.You can’t changereference_merchant_id.Parameters
The merchant’s business address. If you send it, send every required address field. Same fields as on create.
Replaces all of the merchant’s existing tax IDs. Same fields as on create.
Returns
The updated Merchant object.POST /tax/merchants/:id
Response
Retrieve a merchant
Returns a merchant by itsid or your reference_merchant_id. Try it in the API reference.The merchant’s
id (e.g. merch_1765503753979c37c5f24) or your reference_merchant_id (e.g. my-seller-123).Returns
A Merchant object.GET /tax/merchants/:id
List all merchants
Returns your merchants, one page at a time. Deleted merchants aren’t included. Try it in the API reference.Returns
An object with amerchants array of Merchant objects, has_more (whether there are more to fetch), and last_merchant_id (the cursor for the next page).GET /tax/merchants
Response
Delete a merchant
Deletes a merchant. It’s a soft delete. Try it in the API reference.- The merchant no longer appears in retrieve or list calls.
- It can’t be used in new platform calculations. Its ID returns
MERCHANT_NOT_FOUND. - Historical data is kept for reporting.
Returns
The merchant’sid, object, deleted (always true), and deleted_at (Unix seconds).DELETE /tax/merchants/:id
Response
404