This API can be used to fetch all the information related to the current order in a clear manner.
You must call the API with order hash to get a response. A nested structure is returned as the response as seen in the response body below.
If you are handeling the “success” redirect, you want to access the data that is stored in the Order structure within the response body of this API call. Again, this structure and its contents can be viewed in the code body below.
Follow these steps to access the Order Detail API:
Do a POST Request to Order Detail API