Skip to content

ReserveCreditsCommand

Public retry-safe command reserving exact-unit prepaid credit for one customer.

const ReserveCreditsCommand: Schema.Struct<{
idempotencyKey: Schema.brand<Schema.String, "IdempotencyKey">;
customerId: Schema.brand<Schema.String, "ExternalCustomerId">;
unit: Schema.brand<Schema.String, "UsageUnitKey">;
quantity: Schema.brand<Schema.BigInt, "UsageCreditQuantity">;
}>;