provider POST /v1/billing/alerts
@utdk/stripe /v1/billing/alerts
Create a billing alert
<p>Creates a billing alert</p>

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postbillingalerts
POST/v1/billing/alerts
<p>Creates a billing alert</p>

Input

required

The type of alert to create.

Specifies which fields in the response should be expanded.

required

The title of the alert.

The configuration of the usage threshold.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.postbillingalerts()