Parameters
Results
Example result
Errors
View the original Web API reference
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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…
| Parameter | Description | Remarks |
|---|---|---|
| ProductId | the product id (=**[ProductId] **) | required |
| Key | the serial key string | required |
| Amount | The amount to increment the usage counter with. | optional. 0 by default. |
| v | Method version. | optional. by default, it’s 1. |
| Parameter | Description | Remarks |
|---|---|---|
| Result | This is either 0(=success) or 1(=error). | always returned |
| Message | The message that provides additional information about the result. | always returned. |
{"result":0,"message":""}
| Error |
|---|
| Access denied. |
| The input parameters were incorrect. |
| Could not find the product. |
| Could not find the key. |
| No Stripe payment processor was set up. |
| The subscription item id could not be found. |
| Could not increment the usage counter. |
Was this page helpful?
Suggestions