Wallet Endpoints
info
These endpoints relate specifically to users wallets. such as getting wallet information or updating wallets etc
Wallet/Info
Used to get information about a users wallet
Url: api/Wallet/Info?contact=<search>¤cyCode=<currencyCode>
Response:
{
id: <accountId>
contactId: <contactId>
contact <owners Name>
currencyCode <currency>
name <wallet name>
profilePicture <owners picture>
isDefault <is the owners default wallet>
}
info
- search - enter the user mobile number, username or email use use for searching
- currencyCode - the currency code of the wallet to search for - leave blank to fetch the users default wallet.
Response
- id - The account id of the wallet
- contactId - The id of the owner of the wallet
- contact - The name of the owner of the wallet
- name - a unique name of the wallet
- currencyCode - the currency of the wallet
- profilePicture - a picture of the owner of the wallet
- isDefault - true if this is the owners default wallet used