There will be some instances where you want to generate a temporary password for use with an API call. For example if you are sending a customer a link to a HPP you do not want your API credentials being stored as part of the link in their inbox. To avoid this use the authentication API call to generate a temporary password.
Temporary passwords are good for 10 min form the time of generation. We recommend that you generate these passwords at the time they are needed. For example you do not want to generate a hosted payment page link with a temporary password and send to someone via email since it is very likely they will click the link after the password has expired. Instead we recommend that you send them a link to your site. When the link is clicked the password is generated and the user is then automatically redirected to the hosted payment page.
Building Your Authentication Request
Specifies the type of operation to be performed. In this example we are focusing on sale transaction operations.