cURL
curl --request POST \ --url https://egimgarsud.gimpayapp.com/api/v1/auth/token \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data grant_type=password \ --data 'client_id=<string>' \ --data 'client_secret=<string>'
{ "access_token": "<string>", "expires_in": 123, "token_type": "<string>", "refresh_expires_in": 123, "scope": "<string>", "not_before_policy": 123 }
Permet à un utilisateur de s’authentifier en fournissant ses identifiants et de recevoir un jeton JWT à utiliser pour les consommations d’API.
Identifiants de connexion de l'utilisateur.
Le type d'authentification
"password"
L'identifiant du client
Le secret du client
Authentification réussie. Le jeton est retourné dans la réponse.