User
Info about user(s)
Last updated
Info about user(s)
Last updated
GET
https://switchapi3.azurewebsites.net/user
This endpoint allows you to get user info
Name | Type | Description |
---|---|---|
GET
https://switchapi3.azurewebsites.net/user/balance
This endpoint retrieves the user's balance.
POST
https://switchapi3.azurewebsites.net/user/update_password
Change user password
GET
https://switchapi3.azurewebsites.net/user/balance/wallet
This endpoint retrieves wallet balance.
GET
https://switchapi3.azurewebsites.net/user/balance/account
This endpoint retrieves the user's savings account balance.
GET
https://switchapi3.azurewebsites.net/user/balance/dom_accounts
This endpoint retrieves the balances of all the user's dom accounts.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization
string
The format of `Authorization` is `Bearer token_string`
Authorization
string
The format for Authorization is Bearer token_string
auth_token
string
Format of auth_token is Bearer token_string
password_confirmation
string
password confirmation
password
string
The new password
current_password
string
The user's current password
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token.
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token
SWI-CID
string
Client ID
Authorization
string
Format is Bearer token.