{"_id":"59f79e3c584eb200345ceb7a","project":"59f79e3c584eb200345ceafc","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"},"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"},"user":"54e4044e8ef7552300409dcb","__v":0,"parentDoc":null,"githubsync":"","updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-06-24T14:22:47.277Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"method":"get","examples":{"codes":[{"name":"","code":"GET /v3.1/users/594e6da41acea2002e666987/trans HTTP/1.1\nHost: uat-api.synapsefi.com\nX-SP-USER-IP: 127.0.0.1\nX-SP-USER: oauth_fyBaT5kswdlme0xQI6gSCPYKDG1Zrv8Ftj9NboJc|e83cf6ddcf778e37bfe3d48fc78a6502062fc","language":"http"}]},"settings":"","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\": \"594e712a4599e8002fe62e45\",\n            \"_links\": {\n                \"self\": {\n                    \"href\": \"https://uat-api.synapsefi.com/v3.1/users/594e6da41acea2002e666987/nodes/594e6e6c12e17a002f2e39e4/trans/594e712a4599e8002fe62e45\"\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\": 1498313002763,\n                \"ip\": \"192.168.0.1\",\n                \"latlon\": \"0,0\",\n                \"note\": \"Test transaction\",\n                \"process_on\": 1498313002763,\n                \"supp_id\": \"1122444\"\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\": 1498313002763,\n                \"note\": \"Transaction Created.\",\n                \"status\": \"CREATED\",\n                \"status_id\": \"1\"\n            },\n            \"timeline\": [\n                {\n                    \"date\": 1498313002763,\n                    \"note\": \"Transaction Created.\",\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        },\n        {\n        \t...\n        },\n        ...\n    ],\n    \"trans_count\": 4\n}","name":""}]},"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"},{"_id":"594e70df283bee0035df6b9d","ref":"","in":"path","required":true,"desc":"ID of user","default":"","type":"string","name":"user_id"}],"url":"/v3.1/users/:user_id/trans"},"isReference":true,"order":3,"body":"[block:api-header]\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\": \"GET /v3.1/users/594e6da41acea2002e666987/trans?page=2 HTTP/1.1\\nHost: uat-api.synapsefi.com\\nX-SP-USER-IP: 127.0.0.1\\nX-SP-USER: oauth_fyBaT5kswdlme0xQI6gSCPYKDG1Zrv8Ftj9NboJc|e83cf6ddcf778e37bfe3d48fc78a6502062fc\",\n      \"language\": \"http\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"all-user-transactions","type":"endpoint","title":"All User Transactions"}

getAll User Transactions


Definition

{{ api_url }}{{ page_api_url }}

Parameters

Path Params

user_id:
required
string
ID of user

Query Params

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

Examples


Result Format


Documentation

[block:api-header] {} [/block] ## Pagination Responses are paginated, so to move through pages, add page as a GET parameter. Here is an example [block:code] { "codes": [ { "code": "GET /v3.1/users/594e6da41acea2002e666987/trans?page=2 HTTP/1.1\nHost: uat-api.synapsefi.com\nX-SP-USER-IP: 127.0.0.1\nX-SP-USER: oauth_fyBaT5kswdlme0xQI6gSCPYKDG1Zrv8Ftj9NboJc|e83cf6ddcf778e37bfe3d48fc78a6502062fc", "language": "http" } ] } [/block]