Creating a Service Account
To use server-to-server interactions, you must request the creation of a service account with the project manager responsible for your company, sending the following data: company name, application name, name, e-mail and cell phone of the person responsible for the application in the company. It is necessary to create different accounts for the Approval and Production environments.
Upon receiving this data, a service account responsible for authenticating your application is created and an email is sent to generate the key pair for the account.
A service account credential includes a unique account name, a company identifier (Tenant ID), and at least one key pair (public and private). At the end of key generation, you only receive the private key (.key.pem file). If you need the public key to be configured on your system, please contact the project manager responsible for your account. It is also possible to generate a public key through the following openssl command:
openssl req -x509 -new -nodes -sha256 -days 720 \
-key fileName.key.pem -out fileName.cert.pem