Tip |
---|
Available from CRM.COM R14.0.0 |
Excerpt |
---|
This method transfers money from an accounts receivable to its related active wallet, if there is enough money. |
...
Name | Type | Description | ||||||||
token | String | The token retrieved from the login method | ||||||||
accounts_receivable_identifier (mandatory) | Accounts Receivable Identifier | The identifier of the accounts receivable from which the money will be transferred. The allowed accounts receivable identifier fields are the following:
| ||||||||
wallet_identifier | Wallet identifier | The identifier of the wallet to which the money will be transferred. If not specified then the money will be transferred to the effective wallet owned by the accounts receivable. The allowed wallets identifier fields are the following:
| ||||||||
amount (mandatory) | Float | The amount that will be transferred from the accounts receivable to its related active wallet | ||||||||
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 |
...
- It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.
Response Data
Name | Type | Description |
---|---|---|
wallet_balance | Number | The balance of the wallet 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 | |
invoice | Invoice object | The invoice that was created during the transfer |
Referred Objects Response Data Anchor transfer to wallet reference data transfer to wallet reference data
Include Page | ||||
---|---|---|---|---|
|
Include Page | ||||
---|---|---|---|---|
|
Examples
Expand | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
HTTP Method: POST Request: Body:
Response:
|