So, this is a simple implementation of how credits can be deducted, used, validated and re-established the next month, or when changing the payment plan.
The project shows how to process a Source of text to create a Blog article from it, using OpenAI or Anthropic API and deducting 10 credits for each Source processing.