Tip |
---|
Available from CRM.COM R14.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. |
...
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 |
...