Subscriptions

Charge subscription usage

Immediately charges usage for a subscription via the billing integration. Calculates usage since the last charge and creates an invoice.

post/api/v1/subscriptions/{id}/usage/charge

Path parameters

idstring required

The unique identifier of the entity

Request body

untilDatestring date-time

Cutoff date for usage calculation. If not provided, the current time is used.

Response

The charge result including period, invoice ID, and usage details.

Changes