{"_id":"55ff8edd0e2b090d00863365","user":"54e4044e8ef7552300409dcb","parentDoc":null,"version":{"_id":"55fa37c88065a10d004e5bb6","project":"54e405191e51932d006abc39","__v":11,"createdAt":"2015-09-17T03:47:20.956Z","releaseDate":"2015-09-17T03:47:20.956Z","categories":["55fa37ca8065a10d004e5bb7","55fa37ca8065a10d004e5bb8","55fa37ca8065a10d004e5bb9","55fa37ca8065a10d004e5bba","55fca6bf34ae7c0d00ab8ea0","55ff80fd9e7ccf0d000a1d93","560220af7435de0d00fabd0d","56107f21bb9d920d00303e70","563e184077681a0d00d96a02","56fafc6596ec7e0e002ac85f","5915e54f7c2c552d008b8549","59499fcd64b5f5002690bbc1","59c451b7772699001c0f1df1","59c9b42dec84880010c1f348"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"REST V3","version_clean":"3.1.0","version":"3.1"},"__v":8,"project":"54e405191e51932d006abc39","category":{"_id":"55ff80fd9e7ccf0d000a1d93","project":"54e405191e51932d006abc39","__v":6,"pages":["55ff8db80e2b090d0086335f","56107fd153dea90d001ecb62","56108055bb9d920d00303e71","5610818bbb9d920d00303e73","563e1ed31347cf0d004182c3","563e1f78d6db8d17008389af"],"version":"55fa37c88065a10d004e5bb6","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-09-21T04:01:01.927Z","from_sync":false,"order":7,"slug":"transactions","title":"Transactions"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-21T05:00:13.682Z","link_external":false,"link_url":"","githubsync":"","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":7,"body":"[block:api-header]\n{}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"This changes the transaction status to \\\"CANCELED\\\" but the transaction record will still show up in results.\\n\\nOnly transactions with CREATED or QUEUED status can be canceled.\",\n  \"title\": \"Cancelation\"\n}\n[/block]","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] [block:callout] { "type": "info", "body": "This changes the transaction status to \"CANCELED\" but the transaction record will still show up in results.\n\nOnly transactions with CREATED or QUEUED status can be canceled.", "title": "Cancelation" } [/block]