We have two APIs: One to authenticate your application with our server and another for gated charging.
Authentication API - OAuth 2.0
The Chargifi OAuth 2.0 server is responsible for authentication across the Chargifi network. You need to use the server to get a OAuth 2.0 bearer token. You will need the token to authorize yourself when using our APIs.
Contact email@example.com to obtain the following:
The base URL for all requests made to our OAuth2 server is https://auth.chargifi.com.
Our OAuth 2.0 server supports the following grant types:
Third parties cannot use the Resource Owner Credentials grant type for security reasons.
You will need an OAuth 2.0 bearer token to access most of the Chargifi API. We support multiple grant types for different types of application and integration.
Use the Client Credentials grant type to generate tokens for backend applications to keep a client secret secure.
You will need to provide the following in the body of the request as application/x-www-form-urlencoded encoded values.
- grant_type: client_credentials
- client_id: Contact firstname.lastname@example.org to obtain a client ID.
- client_secret: Contact email@example.com to obtain a client secret.
- scope: consumer