Payment verification

POST
/trdp/verify

Request Body

application/jsonRequired

verify

orderIdstring

Unique identifier of the order.

signstring

Digital signature used to verify request authenticity.

api_secretstring

Secret key provided for authentication.

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://stardev.starpayethiopia.com/v1/starpay-api/trdp/verify" \
  -H "Content-Type: application/json" \
  -d '{
    "orderId": "5428255034",
    "sign": "VjRwV09105mNaLE8JDwiQDjGf+UZkCZhX/b6HcZcNhw0G3UZxPSUtPKMVRYIOYssmwMHbG7meTQ9cxVadPTdygT4qbF9lwYX5xRcn/bROznWur/CwKHqQDNJKqg/NlDsLITy5a0336vEDDhdKo4lipw8Ngrwl/ZifnnbLCLdSY4ihuFsow5aSs3a7/65s42PFz6JYxpvlRcCLaY8PogH1UpSX9t1H4Hu5p/sel2W9/416AQD8eidSTB0SFd7hK5XcqPx4zT2l29IXAJ/uzNVH05V5gJvR4E6ePWL0k+VsIdTSc8XAIv5x4IuRkBwSC7qu97XrWJrJMmHKSq4MeBCYg==",
    "api_secret": "X/2uxXAjJqaai5gRzXHzcFPcx9E6B3pibBbVSoce1U23q5hR2Sr5pxlh6WLQZBep"
  }'
{
  "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"
  }
}