This demo shows how to integrate with your Stripe API backend.
For testing purposes, you can confirm the payment with test payment methods: