On This Page
Generating a Bearer Token for Authentication
Use the information in this section to generate a bearer token for authentication. A unique bearer
token is required to authenticate each payment transaction request when the app is in
Cloud mode.
Generate a Bearer Token for Authentication
You must generate a new bearer token before sending each transaction request.
IMPORTANT
Meta keys are not supported for bearer token generation.
Follow these steps to generate a bearer token:
- Create a P12 certificate for the transacting merchant ID (MID).
- Construct a message using a JSON web Token (JWT) by following the steps shown in the .
- Set thedigestfield (message body) in the JWT as blank.
- Use the JWT as the bearer token to authenticate the payment transaction request.