Retrieve an order
GET /v1/orders/{trade_no} retrieves an order by KukoPay transaction number; you can also look it up with the merchant reference.
Key points
- Check status after a delayed webhook or uncertain browser return.
- payment_method is available after payment. refundable_until can be null when the method has no refund deadline.
- expires_at is 24 hours after creation; an unpaid order then becomes expired and emits payment.expired.
Example
bash
curl "https://api.kukopay.com/v1/orders/ORD_20260921_0001" \
-H "X-Api-Key: $KUKOPAY_API_KEY"