UNPKG

@bebapps/rapyd-sdk

Version:

An un-official [Rapyd](https://rapyd.net) SDK for Node.js.

19 lines (18 loc) 462 B
export interface CreateUsageRecordRequest { /** * ID of the subscription item. String starting with **subi_**. */ subscription_item: `subi_${string}`; /** * The usage quantity for the specified date and time (timestamp). */ quantity: number; /** * Timestamp for the usage record in [*Unix time*](ref:glossary). */ timestamp: number; /** * Determines how the quantity is defined in the usage record. */ action?: string; };