Create usage record
create_usage_recordCreate usage records to track metered subscription usage. Choose increment or set actions and specify quantity for accurate billing.
Instructions
Create a usage record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | ||
| account | No | Exact private profile label. Does not prove store ownership; mode applies to the main API key only. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete native JSON object body. JSON:API uses data/type/id/attributes/relationships. No mixing with body flags or payload_file. License credential is private configuration, never body input. | |
| quantity | No | ||
| payload_file | No | Absolute regular non-symlink native JSON body file at most 1 MiB; cannot mix with payload or body flags. | |
| subscription_item_id | No |