# Get Transaction Details source: https://developer.mastercard.com/india-online-dispute-resolution/documentation/use-cases/fetch_transaction_details/index.md The Get Transaction Details API retrieves Data Warehouse (DWH) transaction data for a given complaint. ## Prerequisites {#prerequisites} The issuer needs to pass the following parameters in the request body: * Retrieval reference number * Banknet reference number * Approval code * Acquirer ICA * Tracking number
After a customer registers a complaint, the issuer must confirm what actually happened with the disputed transaction. Using the tracking number from the original complaint, the issuer calls the Get Transaction Details API (`POST /transactions/details`) to retrieve the authoritative record from the data warehouse. API Reference: `POST /transactions/details` ## Sequence Diagram {#sequence-diagram} Diagram fetch_transn_details ### Execution steps {#execution-steps} 1. The issuer sends a request for transaction details to IODR. 2. The IODR validates the request. 3. If the request is invalid, the IODR sends an error message. 4. If the request is valid, IODR asynchronously calls the DWH to get the transaction details. 5. If the request is valid, IODR sends the transaction status. 6. If the request is valid, IODR saves the DWH response details. Note: The Transaction Details API initially returns a PENDING status while it asynchronously validates the transaction against the data warehouse. This validation process may take a few minutes. During this time, the issuer can use the Get Transaction Status API to check the updated transaction status. Note: In Sandbox, this API is backed by a [Mock Data Warehouse (DWH)](https://developer.mastercard.com/india-online-dispute-resolution/documentation/mock-data-warehouse/index.md) that returns randomized success and failure responses for testing. ## Error Resolution {#error-resolution} For details on error resolution, refer to the [Code and Formats](https://developer.mastercard.com/india-online-dispute-resolution/documentation/code-and-formats/index.md) section.