get https://api.sendwyre.com/v2
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
key | type | description | required |
---|---|---|---|
walletId | String | id of the wallet | true |
curl -v -XGET 'https://api.sendwyre.com/v2/wallet/{wallet-id}' \
-H "X-Api-Key: {api-key}" \
-H "X-Api-Signature: {signature}" \
{
“owner”: “account:[account-ID]“,
“callbackUrl”: null,
“depositAddresses”: {
“BTC”: “1FNAkNVt3gXdS3PZ1tDvetbcafKPsJPQTG”
},
“totalBalances”: {
“USD”: 4.96
},
“availableBalances”: {
“USD”: 4.96
},
“verificationData”: null,
“balances”: {
“USD”: 4.96
},
“srn”: “wallet:[Wallet-ID]“,
“createdAt”: 1497861843000,
“notes”: “test1”,
“name”: “richard”,
“id”: “[Wallet-ID]”
}
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
key | type | description | required |
---|---|---|---|
name | String | Your identifier | true |
curl -v -XGET 'https://api.sendwyre.com/v2/wallet' \
-H "X-Api-Key: {api-key}" \
-H "X-Api-Signature: {signature}" \
-d name={your-identifier}