Retrieve order details and track transaction progress
GET /orders/tx/{tx_hash}
Authentication: Required (x-api-key
header)status
valuesStatus | Meaning |
---|---|
PENDING | Awaiting settlement (e.g. user has not completed payment or approval) |
SETTLED | Successfully processed and funds released |
FAILED | Order failed (e.g. user cancelled STK push or allowance was insufficient) |
SETTLED_UNVERIFIED | Blockchain confirms payment but off-chain verification failed |
Use this endpoint to build order tracking, payment feedback, or trigger webhook retries if needed.
The transaction hash from createOrder()
Order status and metadata
The response is of type object
.