Bill Payment API
Bill Payment API
Pay your utility bills quickly and securely through our unified API
API Endpoint
POST
https://sofizpay.com/services/operation_postThis endpoint handles bill payment operations for supported utility services

ADE
Algérienne Des Eaux
Request Example
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"
}'Service Operator
"ade"Required Fields
encrypted_skamountoperatorofferbill
Sonelgaz
Société Nationale de l'Électricité et du Gaz
Request Example
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"
}'Service Operator
"sonelgaz"Required Fields
encrypted_skamountoperatoroffercustomerIdebbbill
Algérie Télécom
Algérie Télécom
Request Example
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"
}'Service Operator
"algerie_telecom"Required Fields
encrypted_skamountoperatorofferphonebillRequest Parameters
| Parameter | Type | Description | Required For |
|---|---|---|---|
encrypted_sk | string | Encrypted secret key for authentication | All |
amount | number | Payment amount in DZD | All |
operator | string | Service provider: ade, sonelgaz, or algerie_telecom | All |
offer | string | Service offer type (same as operator) | All |
bill | string | Bill number or reference | All |
customerId | string | Customer ID for Sonelgaz | Sonelgaz |
ebb | string | EBB number for Sonelgaz | Sonelgaz |
phone | string | Phone number for Algérie Télécom | Algérie Télécom |
Success Response (200)
json
{
"status": "success",
"message": "Bill payment completed successfully",
"operation_id": "YOUR_OPERATION_ID",
"transaction_id": "YOUR_TRANSACTION_ID",
"transaction_status": "confirmed"
}Note: The bill payment will be processed and confirmation will be sent upon completion.