Wallets
Update Wallet
Changed onEndpoint to update a Wallet. Only company wallets can be updated, a User dedicated wallet for each currency supported by your account is automatically created by the Soldo platform when a User gets created.
put/business/v2/wallets/{walletId}
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopeswallet_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
walletIdstring required
The Wallet ID.
Example:7bf79328-a7ae-4222-aa54-091ff7f429a7
Request body
Example request
{
"name": "John Doe",
"label": "JD",
"description": "My company wallet"
}Response
The returned resource is a single Wallet.
Example response
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"name": "CompanyWallet1",
"available_amount": 100,
"primary_user_type": "company",
"primary_user_public_id": "XMPL1234-000001",
"custom_reference_id": "123456-usa-1",
"group_id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"groups": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
],
"label": "CompanyWallet1",
"visible": true,
"creation_time": "2017-06-01T12:48:40Z",
"last_update": "2017-06-01T12:48:40Z",
"deposit_account_info": [
"7bf79328-a7ae-4222-aa54-091ff7f429a7",
"2d65bd5e-3fdf-4002-b166-bde7fb8863fa"
],
"description": "CompanyWallet1"
}Changes
- warning
added the new
ACCOUNT_NUMBERenum value to the//response property for the response status - info
the request property
became optional - info
the request property
became optional
- warning
- info
added the optional property
to the response with the status
- info