Hello Jose,
Thanks for your question
Normally, you can't buy $10 worth of credits in the same way you might with a gift card, you can manage your spending by setting spending limits and alerts.
To set up a spending limit, see:
https://learn.microsoft.com/en-us/azure/cost-management-billing/manage/spending-limit
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola