curl --request POST \
--url https://starpayqa.starpayethiopia.com/v1/starpay-api/erp/check-txn \
--header 'Content-Type: application/json' \
--header 'x-api-secret: <x-api-secret>' \
--data '
{
"billRefNo": "5WL30548HD"
}
'{
"status": "success",
"timestamp": "2026-05-05T05:12:33.505Z",
"message": "Transaction found successfully",
"data": {
"billRefNo": "5WL30548HD",
"status": "PAID OR SETTLED",
"timestamp": "2026-04-29T17:50:57.863Z",
"message": "Payment successful",
"merchantId": "42723792",
"customerId": "",
"externalReferenceId": "075SMPC2316706F7",
"amount": 36500,
"payment_type": "OTP_ACCOUNT",
"receipt_url": "https://receipt.starpayethiopia.com/receiptqa/WST-5WL30548HD"
}
}Returns the current status for a bill reference. Use this when you need a single JSON response or as a fallback if the real-time SSE endpoint (/erp/api/txn-sse) does not respond within 15 seconds.
curl --request POST \
--url https://starpayqa.starpayethiopia.com/v1/starpay-api/erp/check-txn \
--header 'Content-Type: application/json' \
--header 'x-api-secret: <x-api-secret>' \
--data '
{
"billRefNo": "5WL30548HD"
}
'{
"status": "success",
"timestamp": "2026-05-05T05:12:33.505Z",
"message": "Transaction found successfully",
"data": {
"billRefNo": "5WL30548HD",
"status": "PAID OR SETTLED",
"timestamp": "2026-04-29T17:50:57.863Z",
"message": "Payment successful",
"merchantId": "42723792",
"customerId": "",
"externalReferenceId": "075SMPC2316706F7",
"amount": 36500,
"payment_type": "OTP_ACCOUNT",
"receipt_url": "https://receipt.starpayethiopia.com/receiptqa/WST-5WL30548HD"
}
}Use this endpoint for manual transaction status checks byDocumentation Index
Fetch the complete documentation index at: https://erp-developer.starpayethiopia.com/llms.txt
Use this file to discover all available pages before exploring further.
billRefNo.
POST /erp/check-txn with:
x-api-secret{ "billRefNo": "..." }PAID or FAILED).GET /erp/api/txn-sse.API secret key.
"X0Lkj979tyUv1IPGQkd+qsx0N6o1LQPSUpfBa6ZCKvXosp0HVnciXSIyWmgyBl0B"
"5WL30548HD"
Transaction found; data.status indicates outcome (for example PAID or FAILED).
"success"
"Transaction found successfully"
Transaction details when found. Fields present depend on status (for example PAID includes amount and receipt; FAILED may only include billRefNo, status, and message).
Show child attributes