Tax
Update Transaction Cost Basis
Permissions required: Subaccount
Update the cost basis for a deposit or withdraw transaction.
patch/tax/transaction/{transactionId}
Request
- Base URLhttps://api.anchorage-staging.com/v2
- AuthAPI key in header Api-Access-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
transactionIdstring required
The ID of the transaction to update (Same as the one returned for Transactions in the Subaccounts API )
Request body
Example request
{
"assetType": "BTC",
"data": {
"assetType": "BTC",
"costBasis": "2500",
"quantity": "1.0"
},
"type": "DEPOSIT"
}Response
Successfully updated the transaction
Example response
{
"data": {
"transactionId": "9cd9f4d4-078b-4e44-a308-7662fec0f546"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.