Update transaction
Set idApp to match a transaction to an app (this marks it mapped); pass idApp: null to unmatch.<br/><br/>Set mappingStatus: "archived" to archive a transaction. Archived transactions are not returned by GET /transactions.<br/><br/>To unmatch and reset the status, send both idApp: null and mappingStatus: "unknown".<br/><br/>amount.value is in minor currency units (e.g., cents) and overrides the original amount; the currency is unchanged.<br/><br/>transactionDate overrides the transaction date (ISO 8601, e.g. 2022-02-03).<br/><br/>Returns only the fields affected by the update (id, idApp, mappingStatus, transactionDate).<br/><br/>
<p><ul><li>Rate limit: 100 requests per minute</li></ul></p>Request
- Base URLhttps://api.toriihq.com/v1.0
- AuthAPI key in header Authorization
Path parameters
Unique transaction identifier
Request body
Example request
{
"idApp": 1000,
"mappingStatus": "archived",
"transactionDate": "2022-02-03",
"amount": {
"value": 130000
}
}Response
Updated transaction
Example response
{
"transaction": {
"id": 1000,
"idApp": 1000,
"mappingStatus": "mapped",
"transactionDate": "2022-02-03"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.