{"_id":"56326e9fdf556c0d00cd08e6","version":{"_id":"56326e9cdf556c0d00cd08ca","project":"544fc17e698ab40800b4f891","__v":2,"createdAt":"2015-10-29T19:08:12.724Z","releaseDate":"2015-10-29T19:08:12.724Z","categories":["56326e9ddf556c0d00cd08cb","56326e9ddf556c0d00cd08cc","56326e9ddf556c0d00cd08cd","56326e9ddf556c0d00cd08ce","56326e9ddf556c0d00cd08cf","56326e9ddf556c0d00cd08d0","56326e9ddf556c0d00cd08d1","56326e9ddf556c0d00cd08d2","56326e9ddf556c0d00cd08d3","56326e9ddf556c0d00cd08d4","56d942ac337fd11300d6a251"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"collector","version_clean":"2.1.0","version":"2.1"},"__v":0,"parentDoc":null,"category":{"_id":"56326e9ddf556c0d00cd08d2","project":"544fc17e698ab40800b4f891","version":"56326e9cdf556c0d00cd08ca","pages":["56326e9fdf556c0d00cd08e0","56326e9fdf556c0d00cd08e1","56326e9fdf556c0d00cd08e2","56326e9fdf556c0d00cd08e3","56326e9fdf556c0d00cd08e4","56326e9fdf556c0d00cd08e5","56326e9fdf556c0d00cd08e6","56326e9fdf556c0d00cd08e7","56326e9fdf556c0d00cd08e8"],"__v":1,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-01T08:07:30.539Z","from_sync":false,"order":8,"slug":"wallets","title":"Wallets"},"project":"544fc17e698ab40800b4f891","user":"544fc065698ab40800b4f888","updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-01T08:24:55.751Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -X GET \\\n\t-H 'Authorization: Bearer YOUR_TOKEN' \\\n  -H 'Content-Type: application/json;charset=UTF-8' \\\n  -H 'Accept: application/json' \\\n\t\"https://coins.ph/api/v3/crypto-routes\"","name":"","language":"curl"},{"language":"python","code":"import requests\n\nTOKEN = 'YOUR TOKEN'\nurl = 'https://coins.ph/api/v3/crypto-routes'\n\nheaders = {\n    'Authorization': 'Bearer {}'.format(TOKEN),\n    'Content-Type': 'application/json;charset=UTF-8',\n    'Accept': 'application/json'\n}\n\nrequests.get(url, headers=headers)"}]},"method":"get","results":{"codes":[{"status":200,"language":"json","code":"{\n    \"id\": \"1af3b1\",\n    \"monitored_address\": \"1a2b3c\",\n    \"stock_address\": \"2a1b4c\",\n    \"created_at\": \"2014-08-28T12:11:36.938Z\"\n}\n","name":""}]},"auth":"required","params":[],"url":"/api/v3/crypto-routes/"},"isReference":false,"order":6,"body":"A crypto route automatically redirects funds from one address to another. If the two addresses are using different currencies, the route would handle the necessary currency conversion. For instance, a crypto route can be setup from a BTC address to a PHP address. When the user receives funds in the BTC address (monitored address), the funds will automatically be transferred to the PHP address (stock address) and\nconverted to pesos using the exchange rate at the time of receipt.\n\n## Properties\n\n* **id** - Unique identifier for the crypto-route\n* **monitored_address** - The address being monitored for incoming funds.\n* **stock_address** - The address where the funds are being transferred.\n* **created_at** - Specifies the date when the crypto-route was created.","excerpt":"Retrieve existing crypto-routes","slug":"crypto-routes","type":"endpoint","title":"crypto-routes"}

getcrypto-routes

Retrieve existing crypto-routes

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

A crypto route automatically redirects funds from one address to another. If the two addresses are using different currencies, the route would handle the necessary currency conversion. For instance, a crypto route can be setup from a BTC address to a PHP address. When the user receives funds in the BTC address (monitored address), the funds will automatically be transferred to the PHP address (stock address) and converted to pesos using the exchange rate at the time of receipt. ## Properties * **id** - Unique identifier for the crypto-route * **monitored_address** - The address being monitored for incoming funds. * **stock_address** - The address where the funds are being transferred. * **created_at** - Specifies the date when the crypto-route was created.