post https://api.testwyre.com/v2/wallets
Update an existing wallet by its identifier
This endpoint has a name
parameter which allows you to attach a unique identifier to the wallet, perhaps a user identifier generated by your app/platform.
The type
parameter allows you to choose the type of wallet to create from the following options:
DEFAULT
ENTERPRISE
Wallets are attached to your Wyre business account at the platform level and allow you to operate them on behalf of your users via the Transfers endpoint.
Building the Create Wallet Request
When building your request to create a new wallet, you'll need to provide these fields:
name
- Your unique identifier for this user.callbackUrl
- Optional callback when the user receives funds (payload)notes
- Optional notes about the usertype
- The type of user you are creating,DEFAULT
,ENTERPRISE
.
Response
When a new wallet is created you will receive the following:
name
- Your identifierid
- Wyre's identifierdepositAddresses
- Digital currency deposit addresses for the usertotalBalances
- Total balance for the useravailableBalances
- Funds available to the userpusherChannel
- Pusher update channelsrn
- Wyre Reference Name identifierbalances
- Balances for the usercallbackUrl
- Your callback urlnotes
- Your note for the user