Skip to main content
POST
/
address
/
check-taxability
curl --request POST \
  --url https://rest.taxes.provider.com/api/v1/address/check-taxability \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "address": {
    "line1": "",
    "line2": "",
    "line3": "",
    "city": "IRVINE",
    "state": "CA",
    "country": "US",
    "postalCode": "92614"
  }
}
'
{
  "isTaxable": true
}

Documentation Index

Fetch the complete documentation index at: https://spidocs.chargebee.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The json of all the parameters specified in authentication configuration of tax app will be sent by Chargebee.

Headers

merchant_id
string

Merchant's domain name will be sent by Chargebee

trace_id
string

Unique id of the request will be sent by Chargebee

Body

application/json

The taxability request containing the address. Postal code & Country is mandatory.

address
object

Represents the address used for validation.

Example:
{
"country": "country",
"city": "city",
"postalCode": "postalCode",
"state": "state",
"line3": "line3",
"line2": "line2",
"line1": "line1"
}

Response

Tax can be calculated for the address provided.

isTaxable
boolean
required

The taxability of the address.