SKM.V3.MethodsVersion: 4.0.54. Both packages; all six documented target frameworks.
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
Returns:
BasicResult. The API response. Check Result and Message before using the returned data.
.NET SDK Reference · Reviewed Source Revision