{"__v":2,"_id":"55ff890a8c0c9d0d00dcac51","category":{"__v":6,"_id":"55ff80fd9e7ccf0d000a1d93","pages":["55ff8db80e2b090d0086335f","56107fd153dea90d001ecb62","56108055bb9d920d00303e71","5610818bbb9d920d00303e73","563e1ed31347cf0d004182c3","563e1f78d6db8d17008389af"],"project":"54e405191e51932d006abc39","version":"55fa37c88065a10d004e5bb6","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2015-09-21T04:01:01.927Z","from_sync":false,"order":4,"slug":"transactions","title":"Transactions"},"editedParams":true,"editedParams2":true,"parentDoc":null,"project":"54e405191e51932d006abc39","user":"54e4044e8ef7552300409dcb","version":{"__v":7,"_id":"55fa37c88065a10d004e5bb6","project":"54e405191e51932d006abc39","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"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"REST V3","version_clean":"3.1.0","version":"3.1"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-09-21T04:35:22.495Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"language":"curl","code":"curl -X GET -H \"X-SP-USER-IP: 127.0.0.1\" -H \"X-SP-USER: oauth_40e63a68ef9a11e6834f0a81c1ab804f|e716990e50b67a1177736960b6357524b22090ccab093d068b3d7a18dbde3f4c\" -H \"Content-Type: application/json\" \"https://sandbox.synapsepay.com/api/3/users/589dc8817562960020cb00c9/nodes/589dcbd27e0887001f940611/trans\"","name":""}]},"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\n    \"error_code\": \"0\",\n    \"http_code\": \"200\",\n    \"limit\": 20,\n    \"page\": 1,\n    \"page_count\": 1,\n    \"success\": true,\n    \"trans\": [\n        {\n            \"_id\": \"589dcebd704068002180fe9b\",\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://uat-api.synapsefi.com/v3.1/users/589dc8817562960020cb00c9/nodes/589dcbd27e0887001f940611/trans/589dcebd704068002180fe9b\"\n                }\n            },\n            \"_v\": 2,\n            \"amount\": {\n                \"amount\": \"1000.10\",\n                \"currency\": \"USD\"\n            },\n            \"client\": {\n                \"id\": \"589acd9ecb3cd400fa75ac06\",\n                \"name\": \"SynapseFI\"\n            },\n            \"extra\": {\n                \"created_on\": 1486737085709,\n                \"ip\": \"192.168.0.1\",\n                \"latlon\": \"0,0\",\n                \"note\": \"Test transaction\",\n                \"process_on\": 1486737085709,\n                \"supp_id\": \"1122444\",\n                \"webhook\": \"http://requestb.in/v95k4jv9\"\n            },\n            \"fees\": [\n                {\n                    \"fee\": \"0.20\",\n                    \"note\": \"Synapse Facilitator Fee\",\n                    \"to\": {\n                        \"id\": \"55b3f8c686c2732b4c4e9df6\"\n                    }\n                }\n            ],\n            \"from\": {\n                \"id\": \"589dcbd27e0887001f940611\",\n                \"nickname\": \"Fake Account\",\n                \"type\": \"ACH-US\",\n                \"user\": {\n                    \"_id\": \"589dc8817562960020cb00c9\",\n                    \"legal_names\": [\n                        \"Test User\"\n                    ]\n                }\n            },\n            \"recent_status\": {\n                \"date\": 1486737085709,\n                \"note\": \"Transaction Created.\",\n                \"status\": \"CREATED\",\n                \"status_id\": \"1\"\n            },\n            \"timeline\": [\n                {\n                    \"date\": 1486737085709,\n                    \"note\": \"Transaction Created.\",\n                    \"status\": \"CREATED\",\n                    \"status_id\": \"1\"\n                }\n            ],\n            \"to\": {\n                \"id\": \"589dc0bdab6ce7001f7f89e8\",\n                \"nickname\": \"Fake Account\",\n                \"type\": \"ACH-US\",\n                \"user\": {\n                    \"_id\": \"589d56e17562960020caf936\",\n                    \"legal_names\": [\n                        \"Test User\"\n                    ]\n                }\n            }\n        },\n        {\n            ...\n        },\n        {\n            ...\n        }\n    ],\n    \"trans_count\": 3\n}","name":""}]},"settings":"","auth":"required","params":[{"_id":"55728c20e42c040d00d68a9f","ref":"","in":"query","required":false,"desc":"Page number","default":"","type":"int","name":"page"},{"_id":"560c79eee0ec340d00899586","ref":"","in":"query","required":false,"desc":"Number of Transactions per page","default":"20","type":"int","name":"per_page"}],"url":"/users/:user_id/nodes/:node_id/trans"},"isReference":true,"order":2,"body":"[block:embed]\n{}\n[/block]\n## Pagination\n\nResponses are paginated, so to move through pages, add page as a GET parameter. Here is an example\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -X GET -H \\\"X-SP-USER-IP: 127.0.0.1\\\" -H \\\"X-SP-USER: oauth_40e63a68ef9a11e6834f0a81c1ab804f|e716990e50b67a1177736960b6357524b22090ccab093d068b3d7a18dbde3f4c\\\" -H \\\"Content-Type: application/json\\\" \\\"https://sandbox.synapsepay.com/api/3/users/589dc8817562960020cb00c9/nodes/589dcbd27e0887001f940611/trans?page=2\\\"\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"transactions","type":"endpoint","title":"Transactions"}

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

page:
integer
Page number
per_page:
integer20
Number of Transactions per page

Examples


Result Format


Documentation

[block:embed] {} [/block] ## Pagination Responses are paginated, so to move through pages, add page as a GET parameter. Here is an example [block:code] { "codes": [ { "code": "curl -X GET -H \"X-SP-USER-IP: 127.0.0.1\" -H \"X-SP-USER: oauth_40e63a68ef9a11e6834f0a81c1ab804f|e716990e50b67a1177736960b6357524b22090ccab093d068b3d7a18dbde3f4c\" -H \"Content-Type: application/json\" \"https://sandbox.synapsepay.com/api/3/users/589dc8817562960020cb00c9/nodes/589dcbd27e0887001f940611/trans?page=2\"", "language": "curl" } ] } [/block]