Skip to content

GraphQl Place Order via Stripe

Using Magento 2.4.3 how can i place order via

  setPaymentMethodOnCart(input: {
      cart_id: "FnapbGljNrpKfvYzJ4XxUNxzAchDniY3"
      payment_method: {
          code: "stripe_payments"
      }
  }) {
    cart {
      selected_payment_method {
        code
      }
    }
  }
}

I can see this is documentation but how do i give card information?