...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Tip |
---|
Available from CRM.COM R14.0.0 |
Tip |
---|
Deprecated from CRM.COM R18.0.0 |
Excerpt |
---|
This method enforces the consumption of wallet funds by prepaid pre-rated services. The method can only be used for consuming wallet funds for prepaid pre-rated services. |
Resource URL
Parameters
Name | Type | Description | ||||||
token | String | The token retrieved from the login method | ||||||
wallet_identifier | Wallet identifier | The identifier of the wallet whose funds will be consumed. The allowed wallets identifier fields are the following:
| ||||||
subscription_identifier (mandatory based on conditions) | Subscription identifier | The identifier of the subscription whose services will consume the wallet's funds. Only prepaid subscriptions with at least one pre-rated service will be allowed. Mandatory if the account owner has multiple prepaid subscriptions that meed these conditions, otherwise if only one exists, then the wallet funds will be consumed by this single subscription. The allowed subscription identifier fields are the following:
| ||||||
wallet_consumption_up_to_date (optional) | Date | Defines the date up to which the prepaid services will be rated, i.e. the date up to which all of the prepaid services of the subscription will consume the available wallet balance. | ||||||
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 |
Restrictions
- 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 - in wallet currency - after debiting the wallet because of wallet funds consumption |
wallet_alternative_balance | Number | The balance of the wallet - in wallet alternative currency - after debiting the wallet because of wallet funds consumption |
Wallet Transaction object | The debit wallet transaction that was created during the wallet funds consumption |
subscription | Subscription object | The prepaid subscription whose prepaid pre-rated services consumed the wallet funds |
Referred Objects Response Data Anchor consume wallet funds reference data consume wallet funds reference data
...
Expand | ||
---|---|---|
| ||
HTTP Method: POST Request: Body: Response:
|
...
|