striep javascript api docs code example
Example 1: stripe api cdn
<script src="https://js.stripe.com/v3/"></script> // stripe cdn
Example 2: stripe stripe js
import {loadStripe} from '@stripe/stripe-js'; const stripe = await loadStripe('pk_test_TYooMQauvdEDq54NiTphI7jx');