Tip |
---|
Available from CRM.COM R14.0.0 |
Excerpt |
---|
This method transfers money from an active wallet to its related accounts receivable, if there is enough money. |
...
Name | Type | Description | ||||||||
token | String | The token retrieved from the login method | walletmethod | |||||||
wallet_identifier | Wallet identifier | The identifier of the wallet from which the money will be transferred. The allowed wallets identifier fields are the following:
| ||||||||
accounts_receivable_identifier (mandatoryoptional) Wallet identifier | Accounts Receivable Identifier | The identifier of the wallet from accounts receivable to which the money will be transferred. If not specified then the wallet amount will be transferred to the accounts receivable that owns the wallet. The allowed wallets accounts receivable identifier fields are the following:
| ||||||||
amount (mandatory) | Float | The amount that will be transferred from the active wallet to its related accounts receivable. This amount is in the accounts receivable's currency which is also the wallet's currency. | ||||||||
fields_set (optional) | List of Strings, comma separated | A list of fields that should be included in the results. If not specified then all the available fields will be returned |
...
Response Data
Name | Type | Description | ||
---|---|---|---|---|
wallet_balance | Number | The balance of the wallet after the transfer | ||
wallet_alternative_balance | Number | The balance of the wallet in wallet alternative currency, after the transfer
| ||
accounts_receivable_balance | Number | The balance of the account after the transfer | ||
Wallet Transaction object | The wallet transaction that was created during the transfer | |||
credit_note | Credit Note object | The credit note that was created during the transfer |
...