CIB/Edahabiya Check
Check Transaction Status
Use this endpoint to verify the status of a CIB/Edahabiya transaction using the order number—confirm successful payments or diagnose failures/unfound transactions.
GET
GET sofizpay.com/cib-transaction-check/Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
order_number | string | Yes | The order number of the transaction to check. |
Success Response
The transaction was found and marked as successful.
json
{"order_number": "2517039448", "orderStatus": 2,
"errorCode": 0, "errorMessage": "Success",
"actionCodeDescription": "Your payment was accepted", "respCode_desc": "Your payment was accepted",
"respCode": "00",
"destination_account": "GDP3L35YYXUJMHV77DBMDHO5ZTMUPQ4SQZFFLQLSY7WUTYKTTH2374VI", "Amount": "2333.25"}Missing Parameter
The order number was not provided in the request.
json
{
"error": "Order number parameter is required"
}Transaction Not Found
No transaction exists with the provided order number.
json
{
"error": "CIB transaction not found"
}CIB/Edahabiya Sandbox - Testing Environment Documentation
The CIB/Edahabiya Sandbox is a testing environment that mocks the SATIM CIB/Edahabiya payment gateway. It allows frontend developers to test the full CIB/Edahabiya deposit transaction flow without connecting to the real SATIM payment system.
To view Sandbox transactions in the SofizPay app, you must first enable 'Testing Mode' from the app settings.
CIB/Edahabiya Sandbox - Testing Environment Documentation - 2. Check Transaction Status
GET
GET sofizpay.com/sandbox/cib-transaction-check/Returns the current status of a sandbox CIB/Edahabiya transaction.
Test Cards
| Card Number | Result |
|---|---|
6280581001234567 | Approved |
6280581009876543 | Approved |
Using any OTP other than 123456 will result in "Invalid OTP code" error regardless of the card used.
Usage
Send a GET request to the endpoint with the order number as a query parameter.
Example using cURL
bash
curl -X GET "https://sofizpay.com/cib-transaction-check/?order_number=2517039448"Security Best Practices
Validate transaction amounts against your records
Validate the receiving account matches your Sofizpay account
Implement idempotency to handle repeated callbacks
Log all verification attempts for audit and review