Stripe API in Goland

Job ID: 37451208

Budget: ₹100 – ₹400 INR

I am using Stripe API in test mode. My code is in goland. I am using CreatePaymentIndent to get client secret which is being passed to html to generate card form. Card form screenshot is attached.

After completing the payment, the status shows succeeded but when I check balance, it shows the amount is on hold. Why so?
Related categories: JavaScript Software Architecture Golang HTML Stripe