Get the tax lot method.
GET
/api/users/me/tax-lot-method
const url = 'https://api.tradr.cloud/api/users/me/tax-lot-method';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-lot-methodAuthed. Under CA, the effective method is always acb, whatever the stored value; elsewhere it is the stored value if one is set, otherwise the jurisdiction default (FIFO).
Responses
Section titled “ Responses ”The stored and effective lot method.
Media typeapplication/json
object
effectiveMethod
string
isDefault
boolean
taxLotMethod
string
Example
{ "effectiveMethod": "fifo", "taxLotMethod": "fifo"}