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

amount

(mandatory)

FloatThe amount that will be transferred from the active wallet to its related accounts receivable

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_balanceNumberThe balance of the account after the transfer

wallet_transaction

String

The wallet transaction that was created during the transfer

credit_noteCredit Note objectThe credit note that was created during the transfer

Anchor
transfer to account reference data
transfer to account reference data
Referred Objects Response Data

Include Page
V4:wallet_
complete
transaction_short
V4:wallet
_complete
_transaction_short

Include Page
V4:credit_note_short
V4:credit_note_short

Examples

Expand
titleExample 1

HTTP Method: POST

 

Request:

Body:

Code Block
themeConfluence
languagejs
linenumberstrue
 

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 

...