v1
latestOpenAPI 3.0.02026-08-04134348905.1 KBTax
Update Transaction Cost Basis
Permissions required: Subaccount
Update the cost basis for a deposit or withdraw transaction.
patch/tax/transaction/{transactionId}
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"
}
}