Payment Verification

POST
/trdp/verify

Request Body

application/jsonRequired

verify

orderIdstring

Unique identifier of the order.

Header Parameters

x-api-secretRequiredstring

The App Secret provided by CBE.

Response Body

The request was successful, and a new resource was created.

TypeScript Definitions

Use the response body type in TypeScript.

statusRequiredstring
timestampRequiredstring
Format: "date-time"
messageRequiredstring
dataRequiredobject
curl -X POST "https://starpayqa.starpayethiopia.com/v1/starpay-api/trdp/verify" \
  -H "x-api-secret: X/2uxXAjJqaai5gRzXHzcFPcx9E6B3pibBbVSoce1U23q5hR2Sr5pxlh6WLQZBep" \
  -H "Content-Type: application/json" \
  -d '{
    "orderId": "5428255034"
  }'
{
  "status": "success",
  "timestamp": "2019-08-24T14:15:22Z",
  "message": "Payment verified successfully",
  "data": {
    "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",
    "status": "PAID",
    "amount": 100,
    "currency": "ETB",
    "updated_at": "2019-08-24T14:15:22Z"
  }
}