Authentication

To begin processing requests and receiving responses from the Billing and Invoicing API, you need to start a Session with the API. To start a Session, you need to Post an Authentication request to the https://{environment}.elavon.com/ecomm/billing/v2/token endpoint. After processing the request, the gateway will respond with a session token. You must include this token to validate further requests to the gateway.

Authentication Requirements

You will need two api keys to authenticate to the Billing and Invoicing API. 

  • Consumer Key
  • Secret

Elavon will provide these keys when you start your project. You will receive different verions of bothkeys will for testing and for production environments.

To authenticate, you'll need to concatenate your Consumer Key and Secret and encode them as a base 64 string. You'll use this string as the value for the authorization header in requests to the /token endpoint. The following authentication urls provide the token endpoint:

  • Test: https://cert-api.elavon.com/auth/oauth2/v1/
  • Production: https://api.elavon.com/auth/oauth2/v1/

For more information, refer to the Billing and Invoicing API Reference .