POST https://starpayqa.starpayethiopia.com/v1/starpay-api/trdp/verify
Use this endpoint to check the current status of an order at any time. Call it after receiving a webhook callback, or poll it to confirm payment before fulfilling an order.
Request
Headers
Your App Secret provided by CBE.
Body
The order ID returned in the
data.order_id field of the create transaction response. Example: "5428255034"Response
201 Success
Response status. Value:
"success"ISO 8601 timestamp of when the response was generated.
Human-readable result message. Value:
"Payment verified successfully"Error responses
| Status | Meaning |
|---|---|
400 | Bad request — missing or invalid orderId |
401 | Unauthorized — invalid or missing x-api-secret |
404 | Not found — no order exists with the provided orderId |
500 | Server error — an unexpected error occurred on the Star-Pay side |
Code examples
Example response
A
201 response code indicates the API call itself succeeded. Always check data.status to determine whether the payment was actually completed.