curl --request GET \
--url https://api.cadanapay.com/v1/tax/locations \
--header 'Authorization: Bearer <token>'{
"countries": [
{
"name": "Australia",
"code": "AU",
"regions": [
{
"name": "New South Wales",
"code": "NSW"
},
{
"name": "Victoria",
"code": "VIC"
},
{
"name": "Queensland",
"code": "QLD"
}
]
}
]
}Returns a list of supported countries and their valid states/regions
curl --request GET \
--url https://api.cadanapay.com/v1/tax/locations \
--header 'Authorization: Bearer <token>'{
"countries": [
{
"name": "Australia",
"code": "AU",
"regions": [
{
"name": "New South Wales",
"code": "NSW"
},
{
"name": "Victoria",
"code": "VIC"
},
{
"name": "Queensland",
"code": "QLD"
}
]
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Optional country code to filter for a specific country and its regions
Supported countries and regions
Show child attributes