Authentication

The API accepts 2 different authentication methods:

OAuth2

Retrieve an Access Token with the OAuth 2.0 flows described below before accessing the API. Once you have an access token, send it in the Authorization HTTP header to authenticate with the API.

Flow type authorizationCode
Authorization URL https://id.pace.cloud/auth/realms/pace/protocol/openid-connect/auth
Token URL https://id.pace.cloud/auth/realms/pace/protocol/openid-connect/token
Refresh URL https://id.pace.cloud/auth/realms/pace/protocol/openid-connect/token
Scopes
  • fueling:pumps:read: Get pump information
  • fueling:discounts:inquiry: Inquire discounts for a specific pump
  • fueling:transactions:read: Get Pre Auth transaction information
  • fueling:transactions:create: Create a transaction
  • fueling:transactions:delete: Cancel a Pre Auth transaction
  • fueling:notifications:create: Create a new notification from a partner system
  • fueling:gas-stations:approaching: Get gas station information

Oidc (openIdConnect)

OpenID Connect is a simple identity layer on top of the OAuth 2.0 protocol. It enables Applications to verify the identity of End-Users based on the authentication performed by an Authorization Server.

The OpenID Connect URL for this API is: https://id.pace.cloud/auth/realms/pace/.well-known/openid-configuration.