Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 594 Bytes

File metadata and controls

27 lines (18 loc) · 594 Bytes

create

Create a billing meter event

Creates a billing meter event.

API Endpoint: POST /v1/billing/meter_events

Synchronous Client

from os import getenv
from sideko_stripe import Stripe

client = Stripe(token=getenv("API_TOKEN"))
res = client.billing.meter_event.create(event_name="string", payload={})

Asynchronous Client

from os import getenv
from sideko_stripe import AsyncStripe

client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.billing.meter_event.create(event_name="string", payload={})