UsageRecord
Defined in: src/billing/contract.ts:90
A usage record to push to a provider meter (optional usage export).
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
amount |
number |
- | src/billing/contract.ts:96 |
at |
string |
- | src/billing/contract.ts:97 |
customer |
string |
- | src/billing/contract.ts:91 |
feature |
string |
- | src/billing/contract.ts:93 |
idempotencyKey? |
string |
- | src/billing/contract.ts:98 |
meter |
string |
Provider meter / event name. | src/billing/contract.ts:95 |
providerCustomer? |
string |
- | src/billing/contract.ts:92 |