Overview
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 support@chargifi.com to obtain the following:
Note
The base URL for all requests made to our OAuth2 server is https://auth.chargifi.com.
Grant Types
Our OAuth 2.0 server supports the following grant types:
Note
Third parties cannot use the Resource Owner Credentials grant type for security reasons.
Tokens
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.
POST/token
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 support@chargifi.com to obtain a client ID.
- client_secret: Contact support@chargifi.com to obtain a client secret.
- scope: consumer
Comments
0 comments
Please sign in to leave a comment.