PayCentral ›


5
6
0 XAF
HMAC

Bash
curl -X POST https://api-paycentral.gabondunumerique.com/api/v1/payment/initiate \
  -H "X-Api-Key: sk_sandbox_VOTRE_CLE" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 5000,
    "phone": "+24107123333",
    "description": "Commande 123",
    "merchant_reference": "CMD-123"
  }'
JSON · réponse 201
{
  "success": true,
  "transaction_id": "01a1918d-9c00-723d-8d39-3194bfddc9e2",
  "provider_reference": "01a1918d-9c01-7034-b541-d22530eb4b0d",
  "status": "processing",
  "redirect_url": null,
  "message": "[SIMULATION] Demande envoyée au téléphone simulé. Confirmez dans la console du simulateur.",
  "amount": 5000,
  "currency": "XAF",
  "fees": 75,
  "provider": "airtel"
}

Bash
curl https://api-paycentral.gabondunumerique.com/api/v1/payment/ID_DE_LA_TRANSACTION/status \
  -H "X-Api-Key: sk_sandbox_VOTRE_CLE"
JSON · réponse 200
{
  "success": true,
  "transaction": {
    "id": "01a1918d-9bc8-7383-b422-79d779e1c1ea",
    "provider": "airtel",
    "environment": "sandbox",
    "amount": "5000.00",
    "currency": "XAF",
    "fees": "75.00",
    "status": "success",
    "merchant_reference": "CMD-123",
    "provider_reference": "01a1918d-9bc9-70c1-8519-840f9eb9728d",
    "paid_at": "2026-10-31T10:44:02.000000Z",
    "created_at": "2026-10-31T10:42:19.000000Z"
  }
}

401
409
422
429

🧭
📘
🔔
💳