Payments
Check Order Status
Retrieves the current status and details of a payment order
GET
Overview
This endpoint allows you to check the status of a payment order using its order ID. It returns comprehensive information about the order including transaction status, product details, and timestamps.Authentication
This endpoint requires authentication via cookie-based access token.Path Parameters
The unique order ID (UUID format) returned when the order was created
Response
Response status, always “success” for successful requests
Order status details
Notes
- The
order_idmust be a valid UUID that was returned from the “Request Order Token” endpoint - The
completed_atfield is only populated whentransaction_statusissettlementorcapture - Timestamps are in milliseconds since Unix epoch
- The
total_priceis returned as a string to preserve decimal precision - This endpoint can be polled to check for payment completion after redirecting the customer to Midtrans