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

# Get Transaction

> Retrieve details of a specific card transaction

Returns full details of a specific card transaction, including merchant info and local currency amounts.

<ParamField header="Authorization" type="string" required>
  Bearer token. Example: `Bearer sk_staging_your_api_key`
</ParamField>

<ParamField path="serviceTransactionId" type="string" required>
  The transaction's service ID.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://services-staging.getplu.com/api/v1/partner/card/transactions/acme-card-transactions-pqr345 \
    -H "Authorization: Bearer sk_staging_your_api_key"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://services-staging.getplu.com/api/v1/partner/card/transactions/acme-card-transactions-pqr345',
    {
      headers: {
        'Authorization': 'Bearer sk_staging_your_api_key',
      },
    }
  );
  ```
</RequestExample>

<ResponseExample>
  ```json 200 theme={null}
  {
    "status": "success",
    "message": "Transaction retrieved",
    "data": {
      "serviceTransactionId": "acme-card-transactions-pqr345",
      "serviceCardId": "acme-card-xyz789jkl012mno",
      "amount": 42.50,
      "currency": "USD",
      "status": "settled",
      "transactionType": "purchase",
      "description": "Online purchase",
      "merchantName": "Amazon",
      "merchantCountry": "US",
      "authorizationAmount": 42.50,
      "localAmount": 42.50,
      "localCurrency": "USD",
      "createdAt": "2025-01-15T14:30:00.000Z"
    }
  }
  ```

  ```json 404 theme={null}
  {
    "status": "error",
    "message": "TRANSACTION_NOT_FOUND",
    "data": {
      "error": "Transaction not found"
    }
  }
  ```
</ResponseExample>

### Amount Fields

| Field                 | Description                                     |
| --------------------- | ----------------------------------------------- |
| `amount`              | Transaction amount in the card's currency (USD) |
| `authorizationAmount` | Original authorized amount                      |
| `localAmount`         | Amount in the merchant's local currency         |
| `localCurrency`       | Merchant's local currency code                  |

<Info>
  For cross-border transactions, `localAmount` and `localCurrency` will differ from the card's USD amount. This is useful for showing users what they were charged in the merchant's currency.
</Info>
