---
updatedAt: 2026-03-05T09:18:07.000Z
agentTools:
  projectIndex: https://neutronpay.readme.io/llms.txt
---

# Get transaction

Retrieve details of a specific transaction.

Retrieve the full details and current status of a specific transaction. This is the same as [Get transaction status](/reference/gettransactionstatus) — both endpoints return identical data.

### Example Request

```bash
curl https://api.neutron.me/api/v2/transaction/5e25d2f4-9bca-4b7a-a1ad-2cf056100cb6 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
```

### Example Response

```json
{
  "txnId": "5e25d2f4-9bca-4b7a-a1ad-2cf056100cb6",
  "accountId": "ne01-abc123def456",
  "txnState": "completed",
  "sourceReq": {
    "ccy": "BTC",
    "method": "neutronpay",
    "amtRequested": 0.001,
    "amtSettled": 0.001,
    "neutronpayFees": 0,
    "networkFees": 0.0000005,
    "reqStatus": "2"
  },
  "destReq": {
    "ccy": "BTC",
    "method": "on-chain",
    "amtRequested": 0.001,
    "amtSettled": 0.001,
    "reqStatus": "2",
    "reqDetails": {
      "address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh"
    }
  },
  "fxRate": 1,
  "createdAt": 1770342000000
}
```

### Use Cases

* **Check payment status** — Has the Lightning invoice been paid?
* **Verify completion** — Did the on-chain send confirm?
* **Get settled amounts** — What was the actual amount after fees?
* **Debug failures** — What state did the transaction end up in?

### Related

* [Get transaction status](/reference/gettransactionstatus) — Same endpoint, alternate spec
* [List transactions](/reference/listtransactions) — Query multiple transactions
* [Transaction Status Types](/reference/transaction-status-types) — All states explained

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Neutron API",
    "description": "Neutron API for Bitcoin Lightning, on-chain, and stablecoin operations.\n\n**Base URLs:**\n- Production: `https://api.neutron.me`\n",
    "version": "2.2.6",
    "contact": {
      "email": "support@neutron.me",
      "url": "https://neutron.me"
    }
  },
  "servers": [
    {
      "url": "https://api.neutron.me",
      "description": "Production"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Transactions",
      "description": "Transaction operations"
    }
  ],
  "paths": {
    "/api/v2/transaction/{txnId}": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "summary": "Get transaction",
        "description": "Retrieve details of a specific transaction.",
        "operationId": "getTransaction",
        "parameters": [
          {
            "name": "txnId",
            "in": "path",
            "required": true,
            "description": "Transaction ID",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Transaction details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transaction"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "JWT access token from /api/v2/authentication/token-signature"
      }
    },
    "schemas": {
      "Transaction": {
        "type": "object",
        "properties": {
          "txnId": {
            "type": "string",
            "example": "e9d60f95-858e-4d40-b48b-20e0b38ec9ba"
          },
          "txnState": {
            "type": "string",
            "enum": [
              "quoted",
              "userconfirmed",
              "srccreated",
              "srcconfirmfilled",
              "completed",
              "failed",
              "cancelled",
              "expired"
            ],
            "example": "quoted"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "sourceReq": {
            "type": "object",
            "properties": {
              "ccy": {
                "type": "string"
              },
              "method": {
                "type": "string"
              },
              "amtRequested": {
                "type": "number"
              },
              "amtActual": {
                "type": "number"
              },
              "reqDetails": {
                "type": "object"
              }
            }
          },
          "destReq": {
            "type": "object",
            "properties": {
              "ccy": {
                "type": "string"
              },
              "method": {
                "type": "string"
              },
              "amtRequested": {
                "type": "number"
              },
              "amtActual": {
                "type": "number"
              },
              "reqDetails": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  }
}
```