API de Paiement de Factures
API de Paiement de Factures
Payez vos factures de services publics rapidement et en toute sécurité via notre API unifiée
Point de Terminaison API
POST
https://sofizpay.com/services/operation_postCe point de terminaison gère les opérations de paiement de factures pour les services publics pris en charge

ADE
Algérienne Des Eaux
Exemple de Requête
bash
curl --location 'https://sofizpay.com/services/operation_post' \
--header 'Content-Type: application/json' \
--data '{
"encrypted_sk": "YOUR_ENCRYPTED_SECRET_KEY",
"amount": 2000,
"operator": "ade",
"offer": "ade",
"bill": "YOUR_BILL_NUMBER"
}'Opérateur de Service
"ade"Champs Requis
encrypted_skamountoperatorofferbill
Sonelgaz
Société Nationale de l'Électricité et du Gaz
Exemple de Requête
bash
curl --location 'https://sofizpay.com/services/operation_post' \
--header 'Content-Type: application/json' \
--data '{
"encrypted_sk": "YOUR_ENCRYPTED_SECRET_KEY",
"amount": 2000,
"operator": "sonelgaz",
"offer": "sonelgaz",
"customerId": "YOUR_CUSTOMER_ID",
"ebb": "YOUR_EBB_NUMBER",
"bill": "YOUR_BILL_NUMBER"
}'Opérateur de Service
"sonelgaz"Champs Requis
encrypted_skamountoperatoroffercustomerIdebbbill
Algérie Télécom
Algérie Télécom
Exemple de Requête
bash
curl --location 'https://sofizpay.com/services/operation_post' \
--header 'Content-Type: application/json' \
--data '{
"encrypted_sk": "YOUR_ENCRYPTED_SECRET_KEY",
"amount": 20000,
"operator": "algerie_telecom",
"offer": "algerie_telecom",
"phone": "YOUR_PHONE_NUMBER",
"bill": "YOUR_BILL_NUMBER"
}'Opérateur de Service
"algerie_telecom"Champs Requis
encrypted_skamountoperatorofferphonebillParamètres de Requête
| Paramètre | Type | Description | Requis Pour |
|---|---|---|---|
encrypted_sk | string | Clé secrète chiffrée pour l'authentification | All |
amount | number | Montant du paiement en DZD | All |
operator | string | Fournisseur de service: ade, sonelgaz, ou algerie_telecom | All |
offer | string | Type d'offre de service (identique à l'opérateur) | All |
bill | string | Numéro de facture ou référence | All |
customerId | string | ID client pour Sonelgaz | Sonelgaz |
ebb | string | Numéro EBB pour Sonelgaz | Sonelgaz |
phone | string | Numéro de téléphone pour Algérie Télécom | Algérie Télécom |
Réponse de Succès (200)
json
{
"status": "success",
"message": "Bill payment completed successfully",
"operation_id": "YOUR_OPERATION_ID",
"transaction_id": "YOUR_TRANSACTION_ID",
"transaction_status": "confirmed"
}Note: Le paiement de la facture sera traité et la confirmation sera envoyée à la fin.