{"_id":"59f79e3c584eb200345cebc1","user":"54e4044e8ef7552300409dcb","parentDoc":null,"version":{"_id":"59f79e3c584eb200345ceaff","project":"59f79e3c584eb200345ceafc","__v":8,"createdAt":"2015-09-17T03:47:20.956Z","releaseDate":"2015-09-17T03:47:20.956Z","categories":["59f79e3c584eb200345ceb3a","59f79e3c584eb200345ceb3b","59f79e3c584eb200345ceb3c","59f79e3c584eb200345ceb3d","59f79e3c584eb200345ceb3e","59f79e3c584eb200345ceb3f","59f79e3c584eb200345ceb45","59f79e3c584eb200345ceb46","59f79e3c584eb200345ceb48","59f79e3c584eb200345ceb49","5aa21b60c0bda0002d1568b6","5afb6888212c690003ae3d3b","5b4bdcd3737d1800031d2293","5b9ed89212362100036b5a1c","5bb29bec77c22500034757ea","5bb29bfe77c22500034757ec","5bc8fa8063924c00186c5ded","5bc8fe9fa472190014a6b103"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.1.0","version":"3.1"},"__v":0,"project":"59f79e3c584eb200345ceafc","category":{"_id":"59f79e3c584eb200345ceb3d","project":"59f79e3c584eb200345ceafc","__v":0,"version":"59f79e3c584eb200345ceaff","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-09-21T04:01:01.927Z","from_sync":false,"order":8,"slug":"transactions","title":"Transactions"},"githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-21T05:00:13.682Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"name":"","code":"DELETE /v3.1/users/594e6da41acea2002e666987/nodes/594e6e6c12e17a002f2e39e4/trans/594e73854599e8002fe62e53 HTTP/1.1\nHost: uat-api.synapsefi.com\nX-SP-USER-IP: 127.0.0.1\nX-SP-USER: oauth_fyBaT5kswdlme0xQI6gSCPYKDG1Zrv8Ftj9NboJc|e83cf6ddcf778e37bfe3d48fc78a6502062fc","language":"http"}]},"method":"delete","results":{"codes":[{"status":200,"language":"json","code":"{\n    \"_id\": \"594e73854599e8002fe62e53\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://uat-api.synapsefi.com/v3.1/users/594e6da41acea2002e666987/nodes/594e6e6c12e17a002f2e39e4/trans/594e73854599e8002fe62e53\"\n        }\n    },\n    \"_v\": 2,\n    \"amount\": {\n        \"amount\": 20.1,\n        \"currency\": \"USD\"\n    },\n    \"client\": {\n        \"id\": \"589acd9ecb3cd400fa75ac06\",\n        \"name\": \"SynapseFI\"\n    },\n    \"extra\": {\n        \"created_on\": 1498313605558,\n        \"ip\": \"192.168.0.1\",\n        \"latlon\": \"0,0\",\n        \"note\": \"\",\n        \"process_on\": 1498313605558,\n        \"supp_id\": \"\"\n    },\n    \"fees\": [\n        {\n            \"fee\": 0.2,\n            \"note\": \"Synapse Facilitator Fee\",\n            \"to\": {\n                \"id\": \"55b3f8c686c2732b4c4e9df6\"\n            }\n        }\n    ],\n    \"from\": {\n        \"id\": \"594e6e6c12e17a002f2e39e4\",\n        \"nickname\": \"Fake Account\",\n        \"type\": \"ACH-US\",\n        \"user\": {\n            \"_id\": \"594e6da41acea2002e666987\",\n            \"legal_names\": [\n                \"Test User\"\n            ]\n        }\n    },\n    \"recent_status\": {\n        \"date\": 1498313614928,\n        \"note\": \"Transaction Cancled.\",\n        \"status\": \"CANCELED\",\n        \"status_id\": \"5\"\n    },\n    \"timeline\": [\n        {\n            \"date\": 1498313605558,\n            \"note\": \"Transaction Created.\",\n            \"status\": \"CREATED\",\n            \"status_id\": \"1\"\n        },\n        {\n            \"date\": 1498313614928,\n            \"note\": \"Transaction Cancled.\",\n            \"status\": \"CANCELED\",\n            \"status_id\": \"5\"\n        }\n    ],\n    \"to\": {\n        \"id\": \"594e6e6c12e17a002f2e39e4\",\n        \"nickname\": \"Fake Account\",\n        \"type\": \"ACH-US\",\n        \"user\": {\n            \"_id\": \"594e6da41acea2002e666987\",\n            \"legal_names\": [\n                \"Test User\"\n            ]\n        }\n    }\n}","name":""}]},"settings":"","auth":"required","params":[],"url":"/v3.1/users/:user_id/nodes/:node_id/trans/:trans_id"},"isReference":true,"order":8,"body":"[block:api-header]\n{}\n[/block]\nThis API call changes the transaction status to `CANCELED` but the transaction record will still show up in results. Only transactions with `CREATED` or `QUEUED` status can be canceled, except in case of `CHECK-US`.\n\nIn case of `CHECK-US` to stop checks from cashing, you can \"Delete\" transactions even when they are on `PROCESSING-DEBIT` or `PROCESSING-CREDIT`.","excerpt":"","slug":"delete-transaction","type":"endpoint","title":"Delete Transaction"}

deleteDelete Transaction


Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

[block:api-header] {} [/block] This API call changes the transaction status to `CANCELED` but the transaction record will still show up in results. Only transactions with `CREATED` or `QUEUED` status can be canceled, except in case of `CHECK-US`. In case of `CHECK-US` to stop checks from cashing, you can "Delete" transactions even when they are on `PROCESSING-DEBIT` or `PROCESSING-CREDIT`.