Billing
ASC meters every primitive call and rolls them into a single monthly invoice. Pull current usage at any time:
client.billing.usage(days=30)Returns:
{
"period_start": "...",
"period_end": "...",
"plan": "payg",
"rows": [
{
"primitive": "functions",
"quantity": 12000,
"customer_cost_usd": 0.00276
}
],
"total_customer_usd": 0.00276
}Invoices are issued via Stripe at the close of each calendar month.