Environnements
| Usage | Production | Staging |
|---|---|---|
| Dashboard | https://dashboard.kartapay.me | https://dashboard-staging.kartapay.me |
| API | https://api.kartapay.me | https://api-staging.kartapay.me |
L'authentification fonctionne différemment : elle utilise un hôte
unique (auth.kartapay.me) avec l'environnement en tant que segment de
chemin, et non un sous-domaine de staging distinct :
| Usage | Production | Staging |
|---|---|---|
| Auth (jeton) | https://auth.kartapay.me/production/token | https://auth.kartapay.me/staging/token |
Voir Authentification pour un exemple complet fonctionnel.
Toutes les requêtes doivent inclure :
Accept: application/json
Authorization: Bearer <access_token>
Content-Type: application/json
Étape suivante
Passez à Créer un paiement pour effectuer votre premier appel API.