paywall__purchase_add_on_units
Purchases addition subscription units. The systems use the available credit balances (if available) when no OTT voucher PIN is provided. When an OTT voucher is provided, the voucher is redeemed and the fup allocated to the customer. Any amount OTT voucher may be used. OTT Merchant Fees are 7%, these are deducted before the units are purchased. The total amount used in allocating FUP tokens = credit + (OTT amount - OTT Merchant Fee of 7%) This will work on any subscription including the freemium tier, meaning non-paying subscribers become pay-as-you-go customers Buying additional tokens does not extend your subscription period, it merely adds to your available tokens. @param customer_id: The database customer_id @param mobile: The customers mobile number, typically his session_id @param ott_pin: The OTT Voucher PIN, a 10-digit number @return: a json object, containing the results in the "values" object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mobile | No | ||
| ott_pin | No | ||
| customer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||