Skip to main content
These methods are related to the recurring billing module. They can all be accessed using an access token with ‘Subscription’ permission. Namespace: SKM.V3.Methods
Version: 4.0.54. Both packages; all six documented target frameworks.
These methods return a result object. Check Result == ResultType.Success before using its data. In version 4.0.54, handled request and JSON errors normally return ResultType.Error with a diagnostic Message. A non-null result alone does not mean the request succeeded. See Request Errors.

Constructors

Subscription()

Creates an empty Subscription object. This constructor does not send an API request.

Methods

RecordUsage(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’. RecordUsage
Web API Reference Parameters Returns: BasicResult. The API response. Check Result and Message before using the returned data. .NET SDK Reference · Reviewed Source Revision