PaymentIntent::create laravel

PHP
curl https://api.stripe.com/v1/payment_intents \
  -u sk_test_51GxCnrKyzIF1Gs6aZqcLwahVyPC1PnDfVosYDgoojH0qSf3iZiubSKpECuKnEdEqYsXKkUkiROVNyVrgGYN54gkL00zugXxNsN: \
  -d amount=1099 \
  -d currency=usd
curl https://api.stripe.com/v1/payment_intents \
  -u sk_test_51GxCnrKyzIF1Gs6aZqcLwahVyPC1PnDfVosYDgoojH0qSf3iZiubSKpECuKnEdEqYsXKkUkiROVNyVrgGYN54gkL00zugXxNsN: \
  -d amount=1099 \
  -d currency=usd

Source

Also in PHP: