Get the tax jurisdiction.
GET
/api/users/me/tax-jurisdiction
const url = 'https://api.tradr.cloud/api/users/me/tax-jurisdiction';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.tradr.cloud/api/users/me/tax-jurisdictionAuthed. Selects which loss rules the tax summary applies. null means the user has not chosen one.
Responses
Section titled “Responses”The stored jurisdiction.
Media typeapplication/json
object
taxJurisdiction
string
Example
{ "taxJurisdiction": "US"}