{"_id":"59f79e3c584eb200345cec85","parentDoc":null,"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":7,"slug":"transactions","title":"Transactions"},"__v":0,"project":"59f79e3c584eb200345ceafc","user":"54e4044e8ef7552300409dcb","version":{"_id":"59f79e3c584eb200345ceaff","project":"59f79e3c584eb200345ceafc","__v":2,"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"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.1.0","version":"3.1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-21T04:57:52.124Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"name":"","code":"PATCH /v3.1/users/594e6da41acea2002e666987/nodes/594e6e6c12e17a002f2e39e4/trans/594e72124599e8002fe62e4f HTTP/1.1\nHost: uat-api.synapsefi.com\nX-SP-USER-IP: 127.0.0.1\nX-SP-USER: oauth_fyBaT5kswdlme0xQI6gSCPYKDG1Zrv8Ftj9NboJc|e83cf6ddcf778e37bfe3d48fc78a6502062fc\nContent-Type: application/json\n\n{\n  \"comment\": \"add comment!\"\n}","language":"http"}]},"method":"patch","results":{"codes":[{"language":"json","code":"{\n    \"_id\": \"594e72124599e8002fe62e4f\",\n    \"_links\": {\n        \"self\": {\n            \"href\": \"https://uat-api.synapsefi.com/v3.1/users/594e6da41acea2002e666987/nodes/594e6e6c12e17a002f2e39e4/trans/594e72124599e8002fe62e4f\"\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\": 1498313234838,\n        \"ip\": \"192.168.0.1\",\n        \"latlon\": \"0,0\",\n        \"note\": \"\",\n        \"process_on\": 1498313234838,\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\": 1498313234838,\n        \"note\": \"Transaction Created..add comment!\",\n        \"status\": \"CREATED\",\n        \"status_id\": \"1\"\n    },\n    \"timeline\": [\n        {\n            \"date\": 1498313234838,\n            \"note\": \"Transaction Created..add comment!\",\n            \"status\": \"CREATED\",\n            \"status_id\": \"1\"\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":"","status":200}]},"settings":"","auth":"required","params":[{"_id":"5573b11e91ce6e190023b76a","ref":"","in":"body","required":true,"desc":"Comment you wish to add for the transaction status","default":"","type":"string","name":"comment"},{"_id":"594e72de9b45800055aa5195","ref":"","in":"path","required":true,"desc":"ID of user","default":"","type":"string","name":"user_id"},{"_id":"594e72de9b45800055aa5194","ref":"","in":"path","required":true,"desc":"ID of node","default":"","type":"string","name":"node_id"},{"_id":"594e72de9b45800055aa5193","ref":"","in":"path","required":true,"desc":"ID of transaction","default":"","type":"string","name":"trans_id"}],"url":"/v3.1/users/:user_id/nodes/:node_id/trans/:trans_id"},"isReference":true,"order":7,"body":"","excerpt":"","slug":"update-transaction","type":"endpoint","title":"Comment on Status"}

patchComment on Status


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

user_id:
required
string
ID of user
node_id:
required
string
ID of node
trans_id:
required
string
ID of transaction

Body Params

comment:
required
string
Comment you wish to add for the transaction status

Examples


Result Format