POST /v1/billing/alerts
Creates a billing alert
Servers
- https://api.stripe.com/
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/x-www-form-urlencoded" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
alert_type |
String | Yes |
The type of alert to create. Possible values:
|
expand[] |
Array | No |
Specifies which fields in the response should be expanded. |
usage_threshold |
Object | No |
The configuration of the usage threshold. |
usage_threshold.filters[] |
Array | No | |
usage_threshold.filters[].customer |
String | No | |
usage_threshold.filters[].type |
String | Yes |
Possible values:
|
usage_threshold.meter |
String | Yes | |
usage_threshold.recurrence |
String | Yes |
Possible values:
|
usage_threshold.gte |
Integer | Yes | |
title |
String | Yes |
The title of the alert. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.