---
title: "Detail"
description: "Use payment/detail to retrieve the up-to-date state of a transaction, its events and the main associated data, and handle the most common errors."
url: "https://docs.fabrick.com/en/payment-hub-and-orchestra/ecommerce/payments-management/detail/"
language: "en"
---

# Detail

The Detail call retrieves up-to-date information on a transaction, including its current state, its events and the main associated data. You can use it to follow how the payment evolves and which operations have been executed on the transaction, such as authorizations, captures, cancellations and refunds.

More details on the state and events of a transaction are available on the [Transaction state](https://docs.fabrick.com/en/payment-hub-and-orchestra/ecommerce/payments-management/transaction-state/) page.

## GET payment/detail

**Request**

```http
GET /api/v1/payment/detail/{paymentID}
Host (sandbox): sandbox.gestpay.net
Host (production): ecomms2s.sella.it
Authorization: apikey ****************
```

**Response**

```json
{
  "error": {
    "code": "0",
    "description": "request correctly processed"
  },
  "payload": {
    "transactionType": "detail",
    "transactionResult": "APPROVED",
    "transactionState": "AUT",
    "transactionErrorCode": "0",
    "transactionErrorDescription": "Transazione correttamente effettuata",
    "bankTransactionID": "21",
    "shopTransactionID": "ShopID123",
    "shopTransactionID_2": "",
    "authorizationCode": "123456",
    "paymentID": "1234567891234",
    "currency": "EUR",
    "country": "ITALIA",
    "company": "VISA",
    "tdLevel": "HALF",
    "threeDS": null,
    "events": [
      {
        "event": {
          "eventtype": "AUT",
          "eventamount": "1.23",
          "eventdate": "09/07/26 12:48:12",
          "eventARN": "",
          "eventID": "",
          "eventReferred": ""
        }
      }
    ],
    "buyer": {
      "name": "",
      "email": ""
    },
    "risk": {
      "riskResponseCode": "",
      "riskResponseDescription": ""
    },
    "customInfo": null,
    "alertCode": "",
    "alertDescription": "",
    "cvvPresent": "TRUE",
    "dcc": null,
    "maskedPAN": "",
    "paymentMethod": "VISA",
    "productType": "Credit",
    "token": "",
    "tokenExpiryMonth": "",
    "tokenExpiryYear": "",
    "tokenDetails": null,
    "fraudPrevention": {
      "check": "FALSE",
      "state": "",
      "description": "",
      "order": ""
    },
    "automaticOperation": {
      "type": "CAN",
      "date": "03/08/26 00:00:00",
      "amount": "1.23"
    }
  }
}
```

---

## Error scenarios

### Error code 2011

- If you request the detail of a transaction that does not exist, you get the following:

**Response**

```json
{
  "error": {
    "code": "2011",
    "description": "Transaction not found"
  },
  "payload": {}
}
```

### Error code 1144

- If you request the detail of a transaction without specifying the transaction identifier (paymentID), you get the following:

**Response**

```json
{
  "error": {
    "code": "1144",
    "description": "Campo obbligatorio non valorizzato"
  },
  "payload": {}
}
```

---

## Support

**Fabrick**

- **Status page**: [https://status.fabrick.com/](https://status.fabrick.com/)
- **Support**: [https://landing.fabrick.com/fabrick-dashboard-support](https://landing.fabrick.com/fabrick-dashboard-support)
