{"_id":"5bd9d691bde21b0012584301","project":"59f79e3c584eb200345ceafc","version":{"_id":"5ba178b00a916500030c6a21","project":"59f79e3c584eb200345ceafc","__v":24,"forked_from":"59f79e3c584eb200345ceaff","createdAt":"2015-09-17T03:47:20.956Z","releaseDate":"2015-09-17T03:47:20.956Z","categories":["5ba178b00a916500030c69a2","5ba178b00a916500030c69a3","5ba178b00a916500030c69a4","5ba178b00a916500030c69a5","5ba178b00a916500030c69a6","5ba178b00a916500030c69a7","5ba178b00a916500030c69a8","5ba178b00a916500030c69a9","5ba178b00a916500030c69aa","5ba178b00a916500030c69ab","5ba178b00a916500030c69ac","5afb6888212c690003ae3d3b","5ba178b00a916500030c69ad","5ba178b00a916500030c69ae","5ba2dcbc99f53f0003b97e2c","5babd73fa0ab3e0003ead030","5bb4038be7222e000334dd97","5bb55954478c1300031a44c2","5bb665a1607307000327c81e","5bb6f90229a7fb0003a0650d","5bb7f9bc29a7fb0003a07ac1","5bba58bd7ba7710003bd901d","5bba6dac7ba7710003bd908d","5bba6e257ba7710003bd9090","5bbac87810189c0003e619ea","5bbb9d02b5862c00036266b2","5bbbadb6219c3e000376c2de","5bc417751d1b0000182bf7f6","5bc59e3b2a5b4f0044db5b97","5bc7bbce2262cc0041f6eff2","5bce6a3580a7250031199f34","5bcfac2c4082510019f2d91b","5bcfac3757bed90030e45d68","5bcfac45d305bc0049941539","5bd2a43548bb6f00289c8fad","5bd3a42a026ebe001f66259e","5bd9d5afffe003005b02f97b","5becb7ee85c6b300557662b6"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":false,"codename":"","version_clean":"3.2.0","version":"3.2"},"category":{"_id":"5bd9d5afffe003005b02f97b","project":"59f79e3c584eb200345ceafc","version":"5ba178b00a916500030c6a21","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2018-10-31T16:17:51.788Z","from_sync":false,"order":9,"slug":"fbo-accounts","title":"FBO Accounts"},"user":"5557e76e512c300d007730d1","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2018-10-31T16:21:37.811Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[]},"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":2,"body":"Previous Step: [Create User](https://docs.synapsefi.com/v3.2/docs/create-a-user-1), [OAuth User](https://docs.synapsefi.com/v3.2/docs/oauth-the-user). and open a sub-account.\n\nTo fund and withdraw from a sub-account, you will need to create a transaction with one of our payment products.\n\nFor example, to fund an account via ACH account, please create an `ACH-US` node with the user’s relevant bank account information, then create a transaction with our ACH Product.\n\nSee below for the full list of transaction methods available:\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Transaction Method\",\n    \"h-1\": \"Fund\",\n    \"h-2\": \"Withdraw\",\n    \"0-2\": \"YES\",\n    \"1-2\": \"YES\",\n    \"2-2\": \"YES\",\n    \"3-2\": \"YES\",\n    \"4-2\": \"YES\",\n    \"5-2\": \"YES\",\n    \"6-2\": \"YES\",\n    \"7-2\": \"YES\",\n    \"0-1\": \"YES\",\n    \"1-1\": \"YES\",\n    \"2-1\": \"--\",\n    \"3-1\": \"--\",\n    \"4-1\": \"YES\",\n    \"5-1\": \"YES\",\n    \"6-1\": \"YES\",\n    \"7-1\": \"YES\",\n    \"0-0\": \"Subnets (Account/Routing Number Issuance)\",\n    \"1-0\": \"ACH\",\n    \"2-0\": \"WIRE\",\n    \"3-0\": \"Checks\",\n    \"4-0\": \"Card Processing (Interchange)\",\n    \"5-0\": \"Card Issuance\",\n    \"6-0\": \"Transfer to other Synapse Accounts\"\n  },\n  \"cols\": 3,\n  \"rows\": 7\n}\n[/block]\n##API Endpoint\nhttps://uat-api.synapsefi.com/v3.1/users/:user_id/nodes/:node_id/trans\n\n##PATH PARAMETER##\n[block:html]\n{\n  \"html\": \"<div class=\\\"api-manager\\\"><div class=\\\"param-table\\\"><div class=\\\"table\\\"><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong>user_id <span class=\\\"colon\\\">:</span> </strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>ID of sender (user)</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong>node_id <span class=\\\"colon\\\">:</span> </strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>ID of sending node</p></div></div></div></div></div></div>\"\n}\n[/block]\n##BODY PARAMETER##\n[block:html]\n{\n  \"html\": \"<div class=\\\"api-manager\\\"><div class=\\\"param-table\\\"><div class=\\\"table\\\"><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">to.</span>type <span class=\\\"colon\\\">:</span> </strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Receiving node type</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">to.</span>id <span class=\\\"colon\\\">:</span> </strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Receiving node ID</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">amount.</span>amount <span class=\\\"colon\\\">:</span> </strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">double</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Amount user wishes to send</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">amount.</span>currency <span class=\\\"colon\\\">:</span> </strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Currency of the transaction amount</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">extra.</span>ip <span class=\\\"colon\\\">:</span> </strong><div class=\\\"required\\\">required</div></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>IP address of the user device while creating transaction</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">extra.</span>asset <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Assign this value only in case of making a transaction to or from <code>CRYPTO-US</code>. Acceptable values are <code>BTC</code> and <code>ETH</code></p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">extra.</span>same_day <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">boolean</strong> <span class=\\\"param-default text-muted\\\">false</span><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Set this to <code>true</code> if you wish to settle the ACH on same day. Please note this would only work, if same day ACH has been enabled for your platform</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">extra.</span>supp_id <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>ID supplied to the transaction</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">extra.</span>group_id <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Group ID supplied to the transaction</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">extra.</span>note <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Memo tagged with the transaction</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">extra.</span>process_on <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">integer</strong> <span class=\\\"param-default text-muted\\\">0</span><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>When the transaction should be processed. The value is the delta value. Which means when 1 is supplied it means that the transaction will be processed tomorrow.</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">extra.other.</span>attachments <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">array of strings</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Array of padded base64 of attachments</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">fees[</span>fee <span class=\\\"text-muted\\\">]</span> <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">double</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Fee associated with the transaction</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">fees[</span>note <span class=\\\"text-muted\\\">]</span> <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Reason for the fee</p></div></div></div><div class=\\\"tr\\\"><div class=\\\"td param\\\"> <strong> <span class=\\\"text-muted\\\">fees[to].</span>id <span class=\\\"colon\\\">:</span> </strong></div><div class=\\\"td\\\"> <strong class=\\\"param-type\\\">string</strong><div marked=\\\"\\\" class=\\\"ng-isolate-scope\\\"><p>Node ID where the fee would be credited when the transaction settled. Fee node has to be DEPOSIT-US type always</p></div></div></div></div></div></div>\"\n}\n[/block]\n##Transactions with CRYPTO-US Accounts \nSynapseFI's Crypto wallet acts as a portfolio of cryptocurrencies. To fund this portfolio you can buy or sell crypto assets by supplying `extra.asset` value in the transaction JSON when you create the transaction.\n\n* If you are creating a transaction from `SUBACCOUNT-US` to `CRYPTO-US`, you will need to supply `extra.asset` as `BTC` or `ETH`, so the transaction amount will go towards making a cryptocurrency purchase for the user portfolio.\n\n* If you are creating a transaction from `CRYPTO-US` to `SUBACCOUNT-US` and you supply extra.asset as `BTC` of `ETH`, then the transaction amount will go towards selling the cryptocurrency out of the user portfolio.\n\n* If no extra.asset is supplied, the transaction would fail and the transaction status will be `RETURNED`.\n\nAll buy and sell happens in `USD`. So before creating a transaction, its advisable to display the exchange rate and price to users before executing the transaction. This can be done by calling the [crypto quotes API.](https://docs.synapsefi.com/v3.2/docs/get-the-crypto-quote)\n\nPlease refer to the Crypto Wallet product page for more details.\n\n##Transactions with SAME DAY ACH\nTo be able to settle an ACH payment on the same day, you need to be able to supply `extra.same_day` as true.\n\nPlease note this feature only works if Same Day ACH has been enabled for your platform. All Same Day ACH transactions need to be submitted before 9 am PST to meet the cut-off time for same day transactions. Any transactions sent afterward will have an effective date of the next day.\n\nBelow is an example transaction for your convenience. Please refer to the appropriate payment product page for relevant details, including return/chargeback timelines.with them:\n\n\n## Example Request\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"POST /v3.1/users/594e6da41acea2002e666987/nodes/594e6e6c12e17a002f2e39e4/trans 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  \\\"to\\\": {\\n    \\\"type\\\": \\\"ACH-US\\\",\\n    \\\"id\\\": \\\"594e6e6c12e17a002f2e39e4\\\"\\n  },\\n  \\\"amount\\\": {\\n    \\\"amount\\\": 20.1,\\n    \\\"currency\\\": \\\"USD\\\"\\n  },\\n  \\\"extra\\\": {\\n    \\\"ip\\\": \\\"192.168.0.1\\\"\\n  }\\n}\",\n      \"language\": \"http\"\n    }\n  ]\n}\n[/block]\n## Example Successful 200 Response\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"_id\\\": \\\"5b57d2b4b75379005e3d60cf\\\",\\n  \\\"_links\\\": {\\n    \\\"self\\\": {\\n      \\\"href\\\": \\\"https://uat-api.synapsefi.com/v3.1/users/5b57d065c9f52d0059a50e63/nodes/5b57d07ef605a000497f0409/trans/5b57d2b4b75379005e3d60cf\\\"\\n    }\\n  },\\n  \\\"_v\\\": 2,\\n  \\\"amount\\\": {\\n    \\\"amount\\\": 20.1,\\n    \\\"currency\\\": \\\"USD\\\"\\n  },\\n  \\\"client\\\": {\\n    \\\"id\\\": \\\"589a9ffc86c2736412ce7ea4\\\",\\n    \\\"name\\\": \\\"TEST TEST MEESH\\\"\\n  },\\n  \\\"extra\\\": {\\n    \\\"created_on\\\": 1532482228415,\\n    \\\"ip\\\": \\\"192.168.0.1\\\",\\n    \\\"latlon\\\": \\\"0,0\\\",\\n    \\\"note\\\": \\\"Test transaction\\\",\\n    \\\"process_on\\\": 1532482228415,\\n    \\\"same_day\\\": false,\\n    \\\"supp_id\\\": \\\"1122444\\\"\\n  },\\n  \\\"fees\\\": [\\n    {\\n      \\\"fee\\\": 0.0,\\n      \\\"note\\\": \\\"Facilitator Fee\\\",\\n      \\\"to\\\": {\\n        \\\"id\\\": \\\"None\\\"\\n      }\\n    }\\n  ],\\n  \\\"from\\\": {\\n    \\\"id\\\": \\\"5b57d07ef605a000497f0409\\\",\\n    \\\"meta\\\": {},\\n    \\\"nickname\\\": \\\"SynapsePay Test Checking Account - 8901\\\",\\n    \\\"type\\\": \\\"ACH-US\\\",\\n    \\\"user\\\": {\\n      \\\"_id\\\": \\\"5b57d065c9f52d0059a50e63\\\",\\n      \\\"legal_names\\\": []\\n    }\\n  },\\n  \\\"recent_status\\\": {\\n    \\\"date\\\": 1532482228415,\\n    \\\"note\\\": \\\"Transaction Created.\\\",\\n    \\\"status\\\": \\\"CREATED\\\",\\n    \\\"status_id\\\": \\\"1\\\"\\n  },\\n  \\\"timeline\\\": [\\n    {\\n      \\\"date\\\": 1532482228415,\\n      \\\"note\\\": \\\"Transaction Created.\\\",\\n      \\\"status\\\": \\\"CREATED\\\",\\n      \\\"status_id\\\": \\\"1\\\"\\n    }\\n  ],\\n  \\\"to\\\": {\\n    \\\"id\\\": \\\"5b57d07ef605a000497f0409\\\",\\n    \\\"meta\\\": {},\\n    \\\"nickname\\\": \\\"\\\",\\n    \\\"type\\\": \\\"ACH-US\\\",\\n    \\\"user\\\": {\\n      \\\"_id\\\": \\\"\\\",\\n      \\\"legal_names\\\": []\\n    }\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"Create transactions for the FBO account","slug":"fund-withdraw-from-sub-account","type":"basic","title":"Fund & Withdraw from Sub-Account"}

Fund & Withdraw from Sub-Account

Create transactions for the FBO account

Previous Step: [Create User](https://docs.synapsefi.com/v3.2/docs/create-a-user-1), [OAuth User](https://docs.synapsefi.com/v3.2/docs/oauth-the-user). and open a sub-account. To fund and withdraw from a sub-account, you will need to create a transaction with one of our payment products. For example, to fund an account via ACH account, please create an `ACH-US` node with the user’s relevant bank account information, then create a transaction with our ACH Product. See below for the full list of transaction methods available: [block:parameters] { "data": { "h-0": "Transaction Method", "h-1": "Fund", "h-2": "Withdraw", "0-2": "YES", "1-2": "YES", "2-2": "YES", "3-2": "YES", "4-2": "YES", "5-2": "YES", "6-2": "YES", "7-2": "YES", "0-1": "YES", "1-1": "YES", "2-1": "--", "3-1": "--", "4-1": "YES", "5-1": "YES", "6-1": "YES", "7-1": "YES", "0-0": "Subnets (Account/Routing Number Issuance)", "1-0": "ACH", "2-0": "WIRE", "3-0": "Checks", "4-0": "Card Processing (Interchange)", "5-0": "Card Issuance", "6-0": "Transfer to other Synapse Accounts" }, "cols": 3, "rows": 7 } [/block] ##API Endpoint https://uat-api.synapsefi.com/v3.1/users/:user_id/nodes/:node_id/trans ##PATH PARAMETER## [block:html] { "html": "<div class=\"api-manager\"><div class=\"param-table\"><div class=\"table\"><div class=\"tr\"><div class=\"td param\"> <strong>user_id <span class=\"colon\">:</span> </strong><div class=\"required\">required</div></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>ID of sender (user)</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong>node_id <span class=\"colon\">:</span> </strong><div class=\"required\">required</div></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>ID of sending node</p></div></div></div></div></div></div>" } [/block] ##BODY PARAMETER## [block:html] { "html": "<div class=\"api-manager\"><div class=\"param-table\"><div class=\"table\"><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">to.</span>type <span class=\"colon\">:</span> </strong><div class=\"required\">required</div></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Receiving node type</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">to.</span>id <span class=\"colon\">:</span> </strong><div class=\"required\">required</div></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Receiving node ID</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">amount.</span>amount <span class=\"colon\">:</span> </strong><div class=\"required\">required</div></div><div class=\"td\"> <strong class=\"param-type\">double</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Amount user wishes to send</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">amount.</span>currency <span class=\"colon\">:</span> </strong><div class=\"required\">required</div></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Currency of the transaction amount</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">extra.</span>ip <span class=\"colon\">:</span> </strong><div class=\"required\">required</div></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>IP address of the user device while creating transaction</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">extra.</span>asset <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Assign this value only in case of making a transaction to or from <code>CRYPTO-US</code>. Acceptable values are <code>BTC</code> and <code>ETH</code></p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">extra.</span>same_day <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">boolean</strong> <span class=\"param-default text-muted\">false</span><div marked=\"\" class=\"ng-isolate-scope\"><p>Set this to <code>true</code> if you wish to settle the ACH on same day. Please note this would only work, if same day ACH has been enabled for your platform</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">extra.</span>supp_id <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>ID supplied to the transaction</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">extra.</span>group_id <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Group ID supplied to the transaction</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">extra.</span>note <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Memo tagged with the transaction</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">extra.</span>process_on <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">integer</strong> <span class=\"param-default text-muted\">0</span><div marked=\"\" class=\"ng-isolate-scope\"><p>When the transaction should be processed. The value is the delta value. Which means when 1 is supplied it means that the transaction will be processed tomorrow.</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">extra.other.</span>attachments <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">array of strings</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Array of padded base64 of attachments</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">fees[</span>fee <span class=\"text-muted\">]</span> <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">double</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Fee associated with the transaction</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">fees[</span>note <span class=\"text-muted\">]</span> <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Reason for the fee</p></div></div></div><div class=\"tr\"><div class=\"td param\"> <strong> <span class=\"text-muted\">fees[to].</span>id <span class=\"colon\">:</span> </strong></div><div class=\"td\"> <strong class=\"param-type\">string</strong><div marked=\"\" class=\"ng-isolate-scope\"><p>Node ID where the fee would be credited when the transaction settled. Fee node has to be DEPOSIT-US type always</p></div></div></div></div></div></div>" } [/block] ##Transactions with CRYPTO-US Accounts SynapseFI's Crypto wallet acts as a portfolio of cryptocurrencies. To fund this portfolio you can buy or sell crypto assets by supplying `extra.asset` value in the transaction JSON when you create the transaction. * If you are creating a transaction from `SUBACCOUNT-US` to `CRYPTO-US`, you will need to supply `extra.asset` as `BTC` or `ETH`, so the transaction amount will go towards making a cryptocurrency purchase for the user portfolio. * If you are creating a transaction from `CRYPTO-US` to `SUBACCOUNT-US` and you supply extra.asset as `BTC` of `ETH`, then the transaction amount will go towards selling the cryptocurrency out of the user portfolio. * If no extra.asset is supplied, the transaction would fail and the transaction status will be `RETURNED`. All buy and sell happens in `USD`. So before creating a transaction, its advisable to display the exchange rate and price to users before executing the transaction. This can be done by calling the [crypto quotes API.](https://docs.synapsefi.com/v3.2/docs/get-the-crypto-quote) Please refer to the Crypto Wallet product page for more details. ##Transactions with SAME DAY ACH To be able to settle an ACH payment on the same day, you need to be able to supply `extra.same_day` as true. Please note this feature only works if Same Day ACH has been enabled for your platform. All Same Day ACH transactions need to be submitted before 9 am PST to meet the cut-off time for same day transactions. Any transactions sent afterward will have an effective date of the next day. Below is an example transaction for your convenience. Please refer to the appropriate payment product page for relevant details, including return/chargeback timelines.with them: ## Example Request [block:code] { "codes": [ { "code": "POST /v3.1/users/594e6da41acea2002e666987/nodes/594e6e6c12e17a002f2e39e4/trans 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 \"to\": {\n \"type\": \"ACH-US\",\n \"id\": \"594e6e6c12e17a002f2e39e4\"\n },\n \"amount\": {\n \"amount\": 20.1,\n \"currency\": \"USD\"\n },\n \"extra\": {\n \"ip\": \"192.168.0.1\"\n }\n}", "language": "http" } ] } [/block] ## Example Successful 200 Response [block:code] { "codes": [ { "code": "{\n \"_id\": \"5b57d2b4b75379005e3d60cf\",\n \"_links\": {\n \"self\": {\n \"href\": \"https://uat-api.synapsefi.com/v3.1/users/5b57d065c9f52d0059a50e63/nodes/5b57d07ef605a000497f0409/trans/5b57d2b4b75379005e3d60cf\"\n }\n },\n \"_v\": 2,\n \"amount\": {\n \"amount\": 20.1,\n \"currency\": \"USD\"\n },\n \"client\": {\n \"id\": \"589a9ffc86c2736412ce7ea4\",\n \"name\": \"TEST TEST MEESH\"\n },\n \"extra\": {\n \"created_on\": 1532482228415,\n \"ip\": \"192.168.0.1\",\n \"latlon\": \"0,0\",\n \"note\": \"Test transaction\",\n \"process_on\": 1532482228415,\n \"same_day\": false,\n \"supp_id\": \"1122444\"\n },\n \"fees\": [\n {\n \"fee\": 0.0,\n \"note\": \"Facilitator Fee\",\n \"to\": {\n \"id\": \"None\"\n }\n }\n ],\n \"from\": {\n \"id\": \"5b57d07ef605a000497f0409\",\n \"meta\": {},\n \"nickname\": \"SynapsePay Test Checking Account - 8901\",\n \"type\": \"ACH-US\",\n \"user\": {\n \"_id\": \"5b57d065c9f52d0059a50e63\",\n \"legal_names\": []\n }\n },\n \"recent_status\": {\n \"date\": 1532482228415,\n \"note\": \"Transaction Created.\",\n \"status\": \"CREATED\",\n \"status_id\": \"1\"\n },\n \"timeline\": [\n {\n \"date\": 1532482228415,\n \"note\": \"Transaction Created.\",\n \"status\": \"CREATED\",\n \"status_id\": \"1\"\n }\n ],\n \"to\": {\n \"id\": \"5b57d07ef605a000497f0409\",\n \"meta\": {},\n \"nickname\": \"\",\n \"type\": \"ACH-US\",\n \"user\": {\n \"_id\": \"\",\n \"legal_names\": []\n }\n }\n}", "language": "json" } ] } [/block]