The amount of credits that are granted when purchasing the plan (as string for API)
The duration of the credits in seconds
Whether the redemption amount is fixed (true) or dynamic (false)
The maximum number of credits redeemed when using the plan
The minimum number of credits redeemed when using the plan
OptionalnftThe address of the NFT contract that represents the plan's credits
Whether burns of these credits are mirrored on-chain. When false
(default) the credits ledger lives in the API's Postgres and burns
are recorded off-chain only. When true an OnchainMirrorWorker
replays each off-chain burn to NFT1155Credits for audit.
How the credits can be redeemed
Definition of the credits configuration for a payment plan