#Mateus Fensterseifer - create card token
1 messages · Page 1 of 1 (latest)
Can I send a screenshot?
Its a 400 bad request, but actually i'm sending the right parameters
Looks like it's something with content-type
Screenshot can be helpful but please send the text of the error if you have it
What is the exact error message that you are getting?
That isn't the stripe error unfortunatley. Can you get me the request ID for this error? (req_123)
You can see your request IDs in the Dashboard here https://stripe.com/docs/api/request_ids
Or get them as you go in the API like this https://stripe.com/docs/api/request_ids
req_zFTCFSlARtQS4C
Thank you
Has your code changed? I am seeing a body of { number: "4242424242424242", exp_month: "5", exp_year: "2023", cvc: "***" }
But it looks like your code should be sending it inside of a card object
The code you sent looks correct, but the body that we are actually getting looks like a different request body. Making this request myself to see if I see something similar...
Sorry! You are right.
That's the wrong request ID
Actually the error I send the screenshot event get registered inside Stripe
It's with Axios
Sorry for the wasted time
Oh so you were able to figure it out? Is this working now for you?
No worries, happy this time could help you figure this out
Sounds good, feel free to send any stripe errors/request IDs here. I am happy to help look in to them
Ok! Thank you for the support!