{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[],"apiSetting":null},"next":{"description":"","pages":[]},"title":"SRNs","type":"basic","slug":"srns","excerpt":"System Resource Names - Referencing objects within Wyre's platform","body":"[block:api-header]\n{\n  \"title\": \"System Resource Name (SRN)\"\n}\n[/block]\n**SRN** stands for *System Resource Name*. It is a typed identifier that may reference any object within the Wyre platform. Many of our API calls and data schemas leverage SRNs in order to add flexibility and decouple services. All SRNs follow the same URI-like format:\n\n`type:identifier`\n\nSome common types you are likely to encounter from our API\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Type\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"```contact:```\",\n    \"1-0\": \"```paymentmethod:```\",\n    \"2-0\": \"```email:```\",\n    \"3-0\": \"```cellphone:```\",\n    \"4-0\": \"```bitcoin:```\",\n    \"8-0\": \"```account:```\",\n    \"10-0\": \"```wallet:```\",\n    \"11-0\": \"```transfer:```\",\n    \"0-1\": \"A contact id, eg. contact:567a93fb\",\n    \"1-1\": \"A payment method such as a bank account, e.g. `paymentmethod:PA_XXXXXXXX`\",\n    \"2-1\": \"An email address, e.g. `email:dev:::at:::sendwyre.com`\",\n    \"3-1\": \"A cellphone number, e.g. `cellphone:+15555555555`\",\n    \"4-1\": \"Bitcoin blockchain addresses. e.g. `bitcoin:1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2`\\n\\nNOTE: TestWyre expects a Bitcoin testnet address i.e. `bitcoin:n4VQ5YdHf7hLQ2gWQYYrcxoE5B7nWuDFNF`\",\n    \"8-1\": \"A Wyre **account**, e.g. `account:AC_XXXXXXXX`\",\n    \"10-1\": \"A single wallet that can hold cryptocurrency, e.g. `wallet:WA_XXXXXXXX`\",\n    \"11-1\": \"A transfer (possibly including a conversion) of currency\",\n    \"5-0\": \"```ethereum:```\",\n    \"5-1\": \"Ethereum blockchain address. e.g. `ethereum:0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413`\\n\\nNOTE: \\nTransfers of ERC20 tokens use the \\\"ethereum:\\\" SRN .\",\n    \"12-0\": \"```:ach```\",\n    \"12-1\": \"This is attached as a suffix to the payment method when pulling funds into and account via ACH.\\n\\nExample:\\n\\\"source\\\": \\\"paymentmethod:PA-W7YN28ABCHT:ach\\\"\",\n    \"9-0\": \"```user:```\",\n    \"9-1\": \"A Wyre **user**, e.g. `user:US_XXXXXXXX`\",\n    \"7-0\": \"```stellar:```\",\n    \"7-1\": \"Stellar (XLM) blockchain address.\",\n    \"6-0\": \"```avalanche:```\",\n    \"6-1\": \"Avalanche (AVAX) blockchain address.\"\n  },\n  \"cols\": 2,\n  \"rows\": 13\n}\n[/block]","updates":["5cf4f49bcd4bf3000ee4deb2"],"order":4,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5bc6365306212b0030ef11a1","project":"550f74bb6fc8130d0038aad3","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","5f9a2cb79dafe500259281a7","5fd92bf362bb7301b00e48ba"],"_id":"550f75de61d9d30d00af9e01","__v":24,"releaseDate":"2015-03-23T02:09:34.221Z","project":"550f74bb6fc8130d0038aad3","createdAt":"2015-03-23T02:09:34.221Z","forked_from":"550f74bb6fc8130d0038aad6"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Wyre API","slug":"getting-started","order":0,"from_sync":false,"reference":true,"_id":"5be5d13ff1d319002baca9ce","project":"550f74bb6fc8130d0038aad3","version":"550f75de61d9d30d00af9e01","createdAt":"2018-11-09T18:26:07.698Z","__v":0},"user":"54eb883f4f94620d00789aaa","createdAt":"2018-10-16T19:04:51.908Z","__v":1,"parentDoc":null}

SRNs

System Resource Names - Referencing objects within Wyre's platform

[block:api-header] { "title": "System Resource Name (SRN)" } [/block] **SRN** stands for *System Resource Name*. It is a typed identifier that may reference any object within the Wyre platform. Many of our API calls and data schemas leverage SRNs in order to add flexibility and decouple services. All SRNs follow the same URI-like format: `type:identifier` Some common types you are likely to encounter from our API [block:parameters] { "data": { "h-0": "Type", "h-1": "Description", "0-0": "```contact:```", "1-0": "```paymentmethod:```", "2-0": "```email:```", "3-0": "```cellphone:```", "4-0": "```bitcoin:```", "8-0": "```account:```", "10-0": "```wallet:```", "11-0": "```transfer:```", "0-1": "A contact id, eg. contact:567a93fb", "1-1": "A payment method such as a bank account, e.g. `paymentmethod:PA_XXXXXXXX`", "2-1": "An email address, e.g. `email:[email protected]`", "3-1": "A cellphone number, e.g. `cellphone:+15555555555`", "4-1": "Bitcoin blockchain addresses. e.g. `bitcoin:1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2`\n\nNOTE: TestWyre expects a Bitcoin testnet address i.e. `bitcoin:n4VQ5YdHf7hLQ2gWQYYrcxoE5B7nWuDFNF`", "8-1": "A Wyre **account**, e.g. `account:AC_XXXXXXXX`", "10-1": "A single wallet that can hold cryptocurrency, e.g. `wallet:WA_XXXXXXXX`", "11-1": "A transfer (possibly including a conversion) of currency", "5-0": "```ethereum:```", "5-1": "Ethereum blockchain address. e.g. `ethereum:0xBB9bc244D798123fDe783fCc1C72d3Bb8C189413`\n\nNOTE: \nTransfers of ERC20 tokens use the \"ethereum:\" SRN .", "12-0": "```:ach```", "12-1": "This is attached as a suffix to the payment method when pulling funds into and account via ACH.\n\nExample:\n\"source\": \"paymentmethod:PA-W7YN28ABCHT:ach\"", "9-0": "```user:```", "9-1": "A Wyre **user**, e.g. `user:US_XXXXXXXX`", "7-0": "```stellar:```", "7-1": "Stellar (XLM) blockchain address.", "6-0": "```avalanche:```", "6-1": "Avalanche (AVAX) blockchain address." }, "cols": 2, "rows": 13 } [/block]