Class Subscription
These methods are related to the recurring billing module. They can all be accessed using an access token with 'Subscription' permission.
Inherited Members
Namespace: SKMV3Methods
Assembly: Cryptolens.Licensing.CrossPlatform.dll
Syntax
public class Subscription
Methods
| Improve this Doc View SourceRecordUsage(string, RecordUsageModel)
This method records uses Stripe's metered billing to record usage for a certain subscription. In order to use this mehtod, you need to have set up recurring billing. A record will be created using Stripe's API with action set to 'increment'. https://app.cryptolens.io/docs/api/v3/RecordUsage
Declaration
public static BasicResult RecordUsage(string token, RecordUsageModel parameters)
Parameters
Type | Name | Description |
---|---|---|
string | token | The access token. Read more at https://app.cryptolens.io/docs/api/v3/Auth |
RecordUsageModel | parameters | The parameters that the method needs. |
Returns
Type | Description |
---|---|
BasicResult | A BasicResult or null. |