{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","settings":"","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Creating Savings Accounts","type":"basic","slug":"creating-crypto-savings-accounts","excerpt":"This is your guide to how to create crypto savings accounts.","body":"[block:callout]\n{\n  \"type\": \"success\",\n  \"body\": \"We're slow-releasing saving accounts to a few partners in Q2 2020 with a full public release in Q3 2020. If you're interested, please email, sales:::at:::sendwyre.com.\"\n}\n[/block]\nBelow is a quick high-level overview of how platforms are able to interact with savings accounts. \n\nThis product is still in beta and we're taking feedback:\n\n## 1. Create Wyre Account\n\nCreate an account on Wyre and message [email protected] that you'd like the savings feature activated for your account. You will need to sign a short agreement prior to starting.\n\n## 2.) Creating Crypto Savings Account\n\nCreate a sub-wallet within your account and give it the \"savings\" label. This will be your dedicated savings account. Within this wallet, you'll have dedicated USDC, BTC, DAI, and ETH addresses.\n\nThe sub-wallet documentation is located within our legacy documentation: https://www.sendwyre.com/legacy-docs/#create-wallet\n\nWhen building your savings wallet Creation request you'll need:\n- `name` - Your unique identifier for this user.\n- `callbackUrl` - Optional callback when the user receives funds.\n- `notes` - Optional notes about the user\n- `type` - The type of user you are creating, DEFAULT, ENTERPRISE, or SAVINGS\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -XPOST 'https://api.sendwyre.com/v2/wallets' \\\\\\n\\t-H \\\"Content-Type: application/json\\\" \\\\\\n  -H \\\"X-Api-Key: {api-key}\\\" \\\\\\n  -H \\\"X-Api-Signature: {signature}\\\" \\\\\\n\\t-d '{\\\"type\\\":\\\"SAVINGS\\\",\\\"name\\\":\\\"{your-unique-identifier}\\\",\\\"callbackUrl\\\":\\\"https://your.website.io/callback\\\",\\\"notes\\\":\\\"Notes about the sub account\\\"}'\\n\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]\nWhen a new savings crypto account is created you will receive the following:\n- `name` - Your identifier\n- `id` - Wyre's identifier\n- `depositAddresses` - Digital currency deposit addresses for your savings account\n- `totalBalances` - Total balance for the accounts (pending interest + available balance)\n- `availableBalances` - Funds available to the user\n- `pendingInterestBalances` - the total pending interest balance on the account. this is reset at the beginning of every month.\n- `savingRates` - the APR rates that are offered to your savings account.\n- `notes` - Your notes for the user\n- `srn` - Wyre Reference Name identifier\n- `balances` - Balances for the user\n- `callbackUrl` - Your callback url\n- `notes` - Your notes for the user\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"name\\\" : \\\"{your-unique-identifier}\\\",\\n  \\\"id\\\" : \\\"WA_2AAH3XGN6H7\\\",\\n  \\\"depositAddresses\\\" : {\\n    \\\"BTC\\\" : \\\"1MbaNoHjvB4vBC2NMTSYWVM8eGHr1uYuRH\\\"\\n    \\\"ETH\\\" : \\\"0x9f26fb895cbd7d69fc7129dc29edfc034159cb2c\\\"\\n  },\\n  \\\"totalBalances\\\" : {\\n    \\\"BTC\\\" : 0\\n\\t\\t\\\"ETH\\\" : 0\\n\\t\\t\\\"DAI\\\" : 0    \\n\\t\\t\\\"USDC\\\" : 0        \\n  },\\n  \\\"availableBalances\\\" : {\\n    \\\"BTC\\\" : 0\\n\\t\\t\\\"ETH\\\" : 0\\n\\t\\t\\\"DAI\\\" : 0    \\n\\t\\t\\\"USDC\\\" : 0        \\n  },\\n  \\\"pendingInterestBalances\\\" : {\\n    \\\"BTC\\\" : 0\\n\\t\\t\\\"ETH\\\" : 0\\n\\t\\t\\\"DAI\\\" : 0    \\n\\t\\t\\\"USDC\\\" : 0        \\n  },  \\n \\\"savingRates\\\" : {\\n    \\\"BTC\\\" : 0.01 // 1%\\n\\t\\t\\\"ETH\\\" : 0.001 // 0.1%\\n\\t\\t\\\"DAI\\\" : 0    \\n\\t\\t\\\"USDC\\\" : 0        \\n  },  \\n  \\\"srn\\\" : \\\"wallet:WA_2AAH3XGN6H7\\\",\\n  \\\"callbackUrl\\\" : \\\"https://your.website.io/callback\\\",\\n  \\\"notes\\\" : \\\"Notes about the user\\\"\\n}\",\n      \"language\": \"text\",\n      \"name\": \"Response Object\"\n    }\n  ]\n}\n[/block]\n**PLEASE NOTE:** - you're able to send any support ERC-20 currency to your wallet ( USDC, DAI, ETH) and all of their associate rates are listed within the savingRatePercentages. \n\n## 3.) Transferring Balances in and out of Account\n\nThroughout the month, you will send money in and out of your dedicated savings sub-wallet. Funds need to be in the wallet for over 24 hours to start accruing interest. You'll need to use the Transfer API to accomplish this (for balances located within your Wyre Account) OR simply send money to the deposit addresses located within your savings account.\n\nStart here if you're unfamiliar on how you can use transfers to move money around Wyre: https://docs.sendwyre.com/docs/transfer-resources\n\n## 4.) Receiving Interest and Reviewing Account Balance\n\nYou're able to review your \"pendingInterestBalances\" (the interest balance that has accumulated since the last interest payment). Interest payments will be paid out monthly in the deposited source cryptocurrency.\n\nTo review balances, you'll need to use 1 field:\n- `walletId` - The identifier for the wallet\n\n**API Endpoint** \nhttps://api.sendwyre.com/v2/wallet/{walletId}\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -XGET 'https://api.sendwyre.com/v2/wallet/{wallet-id}' \\\\\\n  -H \\\"X-Api-Key: {api-key}\\\" \\\\\\n  -H \\\"X-Api-Signature: {signature}\\\" \\\\\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]\nReach out to us if you have any more questions.\n\n(rev. 04/2020)","updates":[],"order":0,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e812817bdf5b201f222e3e4","createdAt":"2020-03-29T22:58:31.295Z","user":"54ea9905a6f14f0d003e96e7","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Savings (beta)","slug":"savings-beta","order":8,"from_sync":false,"reference":false,"_id":"5e8127d61c906800374eeb1c","createdAt":"2020-03-29T22:57:26.124Z","version":"550f75de61d9d30d00af9e01","project":"550f74bb6fc8130d0038aad3","__v":0},"version":{"version":"3","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["550f75de61d9d30d00af9e02","551027e38579861900a86698","551029e08579861900a8669a","551029e7498062190006328a","5bc633a722d682005c9ad9e4","5bc633b08c4b0b000d6a7eaa","5bc633b48f3ff600626e3e18","5bc63538e5a6ba000d22ee6d","5bc63587a18a6b000decd295","5bc635c0937fcb0056223d9c","5bc6360f42f41800319aeaa6","5be5d13ff1d319002baca9ce","5be5d2287cd14d00291fbfdb","5be8b3b09f7cb70023c56a39","5be8b3cbb910100044e20206","5c1d769a4f6aed001fe527f0","5c402942010f0d001496dded","5e8127d61c906800374eeb1c","5f2768c98622b8005106544a","5f2768d05702ca0011f7655e","5f276e5348d2b600321aef9b","5f276fd300e519001139200a"],"_id":"550f75de61d9d30d00af9e01","__v":22,"releaseDate":"2015-03-23T02:09:34.221Z","project":"550f74bb6fc8130d0038aad3","createdAt":"2015-03-23T02:09:34.221Z","forked_from":"550f74bb6fc8130d0038aad6"},"project":"550f74bb6fc8130d0038aad3","__v":0,"parentDoc":null}

Creating Savings Accounts

This is your guide to how to create crypto savings accounts.

[block:callout] { "type": "success", "body": "We're slow-releasing saving accounts to a few partners in Q2 2020 with a full public release in Q3 2020. If you're interested, please email, [email protected]" } [/block] Below is a quick high-level overview of how platforms are able to interact with savings accounts. This product is still in beta and we're taking feedback: ## 1. Create Wyre Account Create an account on Wyre and message [email protected] that you'd like the savings feature activated for your account. You will need to sign a short agreement prior to starting. ## 2.) Creating Crypto Savings Account Create a sub-wallet within your account and give it the "savings" label. This will be your dedicated savings account. Within this wallet, you'll have dedicated USDC, BTC, DAI, and ETH addresses. The sub-wallet documentation is located within our legacy documentation: https://www.sendwyre.com/legacy-docs/#create-wallet When building your savings wallet Creation request you'll need: - `name` - Your unique identifier for this user. - `callbackUrl` - Optional callback when the user receives funds. - `notes` - Optional notes about the user - `type` - The type of user you are creating, DEFAULT, ENTERPRISE, or SAVINGS [block:code] { "codes": [ { "code": "curl -v -XPOST 'https://api.sendwyre.com/v2/wallets' \\\n\t-H \"Content-Type: application/json\" \\\n -H \"X-Api-Key: {api-key}\" \\\n -H \"X-Api-Signature: {signature}\" \\\n\t-d '{\"type\":\"SAVINGS\",\"name\":\"{your-unique-identifier}\",\"callbackUrl\":\"https://your.website.io/callback\",\"notes\":\"Notes about the sub account\"}'\n", "language": "curl" } ] } [/block] When a new savings crypto account is created you will receive the following: - `name` - Your identifier - `id` - Wyre's identifier - `depositAddresses` - Digital currency deposit addresses for your savings account - `totalBalances` - Total balance for the accounts (pending interest + available balance) - `availableBalances` - Funds available to the user - `pendingInterestBalances` - the total pending interest balance on the account. this is reset at the beginning of every month. - `savingRates` - the APR rates that are offered to your savings account. - `notes` - Your notes for the user - `srn` - Wyre Reference Name identifier - `balances` - Balances for the user - `callbackUrl` - Your callback url - `notes` - Your notes for the user [block:code] { "codes": [ { "code": "{\n \"name\" : \"{your-unique-identifier}\",\n \"id\" : \"WA_2AAH3XGN6H7\",\n \"depositAddresses\" : {\n \"BTC\" : \"1MbaNoHjvB4vBC2NMTSYWVM8eGHr1uYuRH\"\n \"ETH\" : \"0x9f26fb895cbd7d69fc7129dc29edfc034159cb2c\"\n },\n \"totalBalances\" : {\n \"BTC\" : 0\n\t\t\"ETH\" : 0\n\t\t\"DAI\" : 0 \n\t\t\"USDC\" : 0 \n },\n \"availableBalances\" : {\n \"BTC\" : 0\n\t\t\"ETH\" : 0\n\t\t\"DAI\" : 0 \n\t\t\"USDC\" : 0 \n },\n \"pendingInterestBalances\" : {\n \"BTC\" : 0\n\t\t\"ETH\" : 0\n\t\t\"DAI\" : 0 \n\t\t\"USDC\" : 0 \n }, \n \"savingRates\" : {\n \"BTC\" : 0.01 // 1%\n\t\t\"ETH\" : 0.001 // 0.1%\n\t\t\"DAI\" : 0 \n\t\t\"USDC\" : 0 \n }, \n \"srn\" : \"wallet:WA_2AAH3XGN6H7\",\n \"callbackUrl\" : \"https://your.website.io/callback\",\n \"notes\" : \"Notes about the user\"\n}", "language": "text", "name": "Response Object" } ] } [/block] **PLEASE NOTE:** - you're able to send any support ERC-20 currency to your wallet ( USDC, DAI, ETH) and all of their associate rates are listed within the savingRatePercentages. ## 3.) Transferring Balances in and out of Account Throughout the month, you will send money in and out of your dedicated savings sub-wallet. Funds need to be in the wallet for over 24 hours to start accruing interest. You'll need to use the Transfer API to accomplish this (for balances located within your Wyre Account) OR simply send money to the deposit addresses located within your savings account. Start here if you're unfamiliar on how you can use transfers to move money around Wyre: https://docs.sendwyre.com/docs/transfer-resources ## 4.) Receiving Interest and Reviewing Account Balance You're able to review your "pendingInterestBalances" (the interest balance that has accumulated since the last interest payment). Interest payments will be paid out monthly in the deposited source cryptocurrency. To review balances, you'll need to use 1 field: - `walletId` - The identifier for the wallet **API Endpoint** https://api.sendwyre.com/v2/wallet/{walletId} [block:code] { "codes": [ { "code": "curl -v -XGET 'https://api.sendwyre.com/v2/wallet/{wallet-id}' \\\n -H \"X-Api-Key: {api-key}\" \\\n -H \"X-Api-Signature: {signature}\" \\", "language": "curl" } ] } [/block] Reach out to us if you have any more questions. (rev. 04/2020)