my issue is I'm a beginner in Stripe API but I'm learning. My issue is that I would like to create a payment intent using Postman. It works but in paymebt dashboard I've got the incomplete icon and a message
The customer has not entered their payment method
Here is a screenshot of postman and what I'm sending :
When I looked for payment_method,
ID of the payment method used in this PaymentIntent.
I guess it's the card token to be used but when I use it I have the following error
{
"error": {
"message": "A token may not be passed in as a PaymentMethod. Instead, use payment_method_data with type=card and card[token]=tok_1IL4SzF4hKd41bgRRGY0rM3f.",
"param": "payment_method",
"type": "invalid_request_error"
}
}
Any idea please ?