paywall__pay_subscription_with_ott_voucher
Accepts a subscription payment using an OTT Voucher PIN. If successful it will issue and make payment on a subscription invoice, which in turn will either extend or create a customer subscription. This is the preferred tool to use for activating subscriptions using OTT as a payment method @param identifier: The customer unique identified, hint: the session_id is normally also the mobile number @param ott_pin: The OTT voucher PIN, typically a 10-digit number @param subscription_type_fk: The database subscription_type, a number starting at 1, defaults to 1 @return: a json object, containing the results in the "values" object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ott_pin | Yes | ||
| identifier | Yes | ||
| subscription_type_fk | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||