Make Internal Transfer
Changed onEndpoint to transfer money between two Wallets within the same business account.
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
The ID of the source Wallet, from which the amount is withdrawn. It must belong to the same business account as the destination Wallet.
The ID of the destination Wallet, to which the amount is credited. It must belong to the same business account as the source Wallet.
Headers
Advanced authentication: SHA512SUM of the fingerprint values listed in the fingerprint order for this endpoint.
Advanced authentication: Signature of the X-Soldo-Fingerprint.
Request body application/x-www-form-urlencoded
Example request
{
"amount": 10.25,
"currencyCode": "EUR",
"notes": "Monthly top-up for travel expenses"
}Response
The result is a TransferResult.
Example response
{
"amount": 10.25,
"datetime": "2017-06-01T12:48:40Z",
"from_wallet": {
"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"
},
"to_wallet": {
"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
- info
added the new optional request property
- info
- warning
added the new
ACCOUNT_NUMBERenum value to the///response property for the response status - warning
added the new
ACCOUNT_NUMBERenum value to the///response property for the response status
- warning