Preloader

Authentification

Échangez votre Client ID et Secret contre un token Bearer. Utilisez le token sur toutes les requêtes suivantes.

POST /authentication/token

POST https://heyqo.cash/business/v1/authentication/token
FieldTypeRequis
client_idstringOui
secret_idstringOui
curl -X POST "https://heyqo.cash/business/v1/authentication/token" \
  -H "Content-Type: application/json" \
  -d '{
    "client_id": "YOUR_CLIENT_ID",
    "secret_id": "YOUR_SECRET"
  }'
{
  "message": { "code": 200, "success": ["SUCCESS"] },
  "data": {
    "access_token": "...",
    "token_type": "Bearer",
    "expires_in": 3600,
    "mode": "PRODUCTION"
  },
  "type": "success"
}

Envoyez le token sous la forme Authorization: Bearer {access_token}