{"metadata":{"image":[],"title":"","description":""},"api":{"url":"/v2/wallet/{wallet-id}","auth":"required","settings":"","results":{"codes":[{"name":"","code":"{\n   “owner”: “account:[account-ID]“,\n   “callbackUrl”: null,\n   “depositAddresses”: {\n       “BTC”: “1FNAkNVt3gXdS3PZ1tDvetbcafKPsJPQTG”\n   },\n   “totalBalances”: {\n       “USD”: 4.96\n   },\n   “availableBalances”: {\n       “USD”: 4.96\n   },\n   “verificationData”: null,\n   “balances”: {\n       “USD”: 4.96\n   },\n   “srn”: “wallet:[Wallet-ID]“,\n   “createdAt”: 1497861843000,\n   “notes”: “test1”,\n   “name”: “richard”,\n   “id”: “[Wallet-ID]”\n}","language":"json","status":200}]},"params":[],"examples":{"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"}]},"method":"get"},"next":{"description":"","pages":[]},"title":"Lookup Wallet","type":"endpoint","slug":"lookup-wallet","excerpt":"","body":"#Look up a MassPay user by ID\n\n## Building the request\n\nWhen building your request 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\n## Params\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"key\",\n    \"h-1\": \"type\",\n    \"h-2\": \"description\",\n    \"h-3\": \"required\",\n    \"0-0\": \"walletId\",\n    \"0-1\": \"String\",\n    \"0-2\": \"id of the wallet\",\n    \"0-3\": \"true\"\n  },\n  \"cols\": 4,\n  \"rows\": 1\n}\n[/block]\n\n#Look up a MassPay user by name\n\n## Building the request\n\nWhen building your request you'll need to use 1 field:\n- `name` - Your identifier for the user\n\n## API Endpoint\nhttps://api.sendwyre.com/v2/wallet\n\n## Params\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"key\",\n    \"h-1\": \"type\",\n    \"h-2\": \"description\",\n    \"h-3\": \"required\",\n    \"0-0\": \"name\",\n    \"0-1\": \"String\",\n    \"0-2\": \"Your identifier\",\n    \"0-3\": \"true\"\n  },\n  \"cols\": 4,\n  \"rows\": 1\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"curl -v -XGET 'https://api.sendwyre.com/v2/wallet' \\\\\\n  -H \\\"X-Api-Key: {api-key}\\\" \\\\\\n  -H \\\"X-Api-Signature: {signature}\\\" \\\\\\n  -d name={your-identifier}\",\n      \"language\": \"curl\"\n    }\n  ]\n}\n[/block]","updates":[],"order":3,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5f279f41b539ba001133ca80","createdAt":"2020-08-03T05:23:13.547Z","user":"5f279b5f85a619021c4073ad","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Wallets","slug":"wallet","order":6,"from_sync":false,"reference":false,"_id":"5f276e5348d2b600321aef9b","createdAt":"2020-08-03T01:54:28.004Z","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","5f9a2cb79dafe500259281a7"],"_id":"550f75de61d9d30d00af9e01","__v":23,"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}

Definition

{{ api_url }}{{ page_api_url }}

Examples


Result Format


Documentation

#Look up a MassPay user by ID ## Building the request When building your request you'll need to use 1 field: - `walletId` - The identifier for the wallet ## API Endpoint https://api.sendwyre.com/v2/wallet/{walletId} ## Params [block:parameters] { "data": { "h-0": "key", "h-1": "type", "h-2": "description", "h-3": "required", "0-0": "walletId", "0-1": "String", "0-2": "id of the wallet", "0-3": "true" }, "cols": 4, "rows": 1 } [/block] #Look up a MassPay user by name ## Building the request When building your request you'll need to use 1 field: - `name` - Your identifier for the user ## API Endpoint https://api.sendwyre.com/v2/wallet ## Params [block:parameters] { "data": { "h-0": "key", "h-1": "type", "h-2": "description", "h-3": "required", "0-0": "name", "0-1": "String", "0-2": "Your identifier", "0-3": "true" }, "cols": 4, "rows": 1 } [/block] [block:code] { "codes": [ { "code": "curl -v -XGET 'https://api.sendwyre.com/v2/wallet' \\\n -H \"X-Api-Key: {api-key}\" \\\n -H \"X-Api-Signature: {signature}\" \\\n -d name={your-identifier}", "language": "curl" } ] } [/block]