I have 2 different post requests, the first returns a token that is then used in the second post request to get you to a page you can submit a credit card payment. The token is generated using several variables including how much you are trying to charge the individual among other things. I can generate this token without a problem but if I try to copy and paste the token from the first request into the second request it doesn’t work like it is supposed to. After talking to the support for the party that created/hosts the APIs I was told that the first post is supposed to get the token and then redirect to a different URL to finish the credit card transaction. Is this something that I can do with Postman? If so, how do I set this up?
This is usually done using the Authorization helpers.
This is on the Authorization tab. I suspect it’s OAuth 2.0 that you need here, but you will need to refer to your suppliers documentation to confirm.
This includes setting call back URL’s.
Please note, you will need to use the desktop version of Postman, if you need to change the call back URL.