REST API

Generating a Bearer Token for Authentication

You must generate a new bearer token before sending each transaction request.
Follow these steps to generate a bearer token:
  1. Create a P12 certificate for the transacting merchant ID (MID).
  2. Construct a message using a JSON web Token (JWT) by following the steps shown in .
  3. Set the
    digest
    field (message body) in the JWT as blank.
  4. Use the JWT as the bearer token to authenticate the payment transaction request.