Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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

wallet_identifier
(mandatory)

Wallet identifier

The identifier of the wallet from which the money will be transferred. The allowed wallets identifier fields are the following:

Include Page
V4:wallet_identifier
V4:wallet_identifier

accounts_receivable_identifier

(optional)

Accounts Receivable Identifier

The identifier of the 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 accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier
V4:accounts_receivable_identifier

Tip

Available from CRM.COM R14.1.0

amount

(mandatory)

FloatThe 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

...

Name

Type

Description

wallet_balance

Number

The balance of the wallet after the transfer

wallet_alternative_balanceNumber

The balance of the wallet in wallet alternative currency, after the transfer

Tip

Available form CRM.COM R14.2.0

accounts_receivable_balanceNumberThe balance of the account after the transfer

wallet_transaction

Wallet Transaction object

The wallet transaction that was created during the transfer

credit_noteCredit Note objectThe credit note that was created during the transfer

...