Create a food ordering app with Strapi and Next.js (6)

// `source` is obtained with Stripe.js; see https://stripe.com/docs/payments/accept-a-payment-charges#web-create-token
const charge = await stripe.charges.create({
  amount: 2000,
  currency: 'usd',
  source: 'tok_amex',
  description: 'My First Test Charge (created for API docs at https://www.stripe.com/docs/api)',
});

console.log(charge)

See if you can cosple log the response and see if you get any error messages.