Skip to navigation

List tax codes

Draft scaffold — not implemented or available in the API.

Lists the tax codes the account can use, from its connected tax provider. A product’s, price’s or commit’s taxCode must be an active code from this list. Filter by active or provider, or search with query.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Headers

Paid-BetaenumRequired

This endpoint is in the tax=v1 beta. Send this header to use it.

Allowed values:

Query parameters

activeenumOptional
Filter by availability.
Allowed values:
cursorstringOptional

The nextCursor of the previous page. Omit it for the first page.

limitintegerOptional1-100Defaults to 10
How many objects to return, 1 to 100. Defaults to 10.
providerenumOptional
Only codes from this provider.
Allowed values:
querystringOptional1-255 characters

Only codes whose code, name or description contains this text.

Response

200
objectenum

The type of object. Always list.

Allowed values:
datalist of objects
The resources on this page.
hasMoreboolean
Whether another page follows this one.
nextCursorstring or null

Send it as cursor to get the next page. Null on the last page.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
501
Not Implemented Error