I am trying to add the “Mercado Pago” payment gateway on my app, but for now I could understand only the Stripe API one.
I created a “customer” and got a “user id” back from it:
Now, I have to create a “token” for the card that I registered and after that the payment. However, I can’t find the variables (properties) that I need to save in order to create the token.
This is what I tried to do (with the card test) in order to generate the token:
And this is the returned message/error/status:
Here is the API documentation from Mercado Pago: Mercado Pago Developers
And I think this is what I need to do:
Does someone already set up the mercado pago API or can help me? Thank you!