> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iterapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /merchants/{merchantID}/transactions/{transactionID}

> Fetch full details for a specific transaction by UUID, including amount, state, confirmation timestamp, and on-chain transaction hash.

Use this endpoint to retrieve the details of a single transaction associated with a merchant account. Transactions are created when a customer makes a payment against an invoice, and this endpoint provides the complete record including on-chain confirmation data.

## Path parameters

<ParamField path="merchantID" type="string" required>
  The UUID of the merchant account that the transaction belongs to.
</ParamField>

<ParamField path="transactionID" type="string" required>
  The UUID of the transaction to retrieve.
</ParamField>

## Response

<ResponseField name="id" type="string" required>
  The UUID of the transaction.
</ResponseField>

<ResponseField name="invoiceID" type="string" required>
  The UUID of the invoice this transaction is associated with.
</ResponseField>

<ResponseField name="amount" type="string" required>
  The transaction amount as a decimal string.
</ResponseField>

<ResponseField name="state" type="string" required>
  The current state of the transaction (e.g., `pending`, `confirmed`, `failed`).
</ResponseField>

<ResponseField name="createdAt" type="string" required>
  ISO 8601 timestamp of when the transaction was created.
</ResponseField>

<ResponseField name="confirmedAt" type="string">
  ISO 8601 timestamp of when the transaction was confirmed on-chain. `null` if not yet confirmed.
</ResponseField>

<ResponseField name="txHash" type="string">
  The on-chain transaction hash. `null` if the transaction has not yet been broadcast to the network.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --request GET \
    --url https://api.iterapay.com/merchants/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f/transactions/b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f \
    --header 'Authorization: Bearer <token>'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "id": "b0fcc813-a7ce-4bbc-932f-dbef6f59ca7f",
    "invoiceID": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "amount": "100.00",
    "state": "confirmed",
    "createdAt": "2024-01-15T10:30:00Z",
    "confirmedAt": "2024-01-15T10:35:12Z",
    "txHash": "f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16"
  }
  ```
</ResponseExample>
