Create a prepaid credits product
Require customers to reserve balance before traffic is forwarded.
Require customers to reserve balance before traffic is forwarded.
Prepaid credits require subscribers to fund usage before the gateway forwards requests.
Use prepaid credits when:
creditUnit: "1 credit"
spend:
meter: images
amount: 1
credits: 1
Each image generation costs 1 credit. Requests are only forwarded when your
account has enough credits for the operation.
Do not use credits unless the product can explain what credits buy. If customers need an invoice after usage instead of a prepaid wallet, use overage or pay as you go instead.