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

# Get transaction

> Check one purchase by reference.

Check one transaction by the reference supplied at purchase time. Use it when a purchase is processing, when a receipt needs to be refreshed, or when support needs the latest status.

## Parameters

<ParamField path="reference" type="string" required>
  Transaction reference supplied when the purchase was created.
</ParamField>

## Request

```http theme={null}
GET /api/v2/transactions/merchant-ref-20260812001
Authorization: Bearer YOUR_API_KEY
```

## Successful response

```json theme={null}
{
  "status": true,
  "message": "Transaction fetched successfully.",
  "data": {
    "reference": "merchant-ref-20260812001",
    "service": "data",
    "product_name": "mtn-share-weekly-1gb",
    "provider": "MTN",
    "customer_id": "08030000000",
    "paid_amount": 400,
    "transaction_status": "successful",
    "requery_queued": false
  }
}
```

## Failed response

```json theme={null}
{
  "status": false,
  "message": "Error message"
}
```
