Example Usage
Parameters
- planId: ID of the active payment plan
- amount: Number of credits to redeem (BigInt)
- proof: Signature or encoded proof provided with the query
Response
Notes
- Credits will be deducted from the user’s plan balance
- Will fail if credits are insufficient or the proof is invalid