# Single order Id trx list

Transaction id .

#### **Method**

```
GET https://api.ninjapay.me/webextension/api/v1/fiat/realtime-payment-link/link/trx/:id
```

Id - `string`-  This could be the super order id or link id.

Note: If super order is passed then all the transaction related to super order id will come and if passed link id then all the transaction included all the transaction in all super order id under one link id will come. One link id can contain multiple super order id if link is multi paid.

#### **Response**

```json
{
    "status": true,
    "data": {
        "id": 9,
        "brand_color": "#ff9c1405",
        "accent_color": "#ffe52d2d",
        "currency": "INR",
        "enable_tips": true,
        "redirect_url": "https://www.ninjapay.me",
        "is_dark_theme": true
    },
    "message": "Template details"
}
```

#### **Code Example**

{% code overflow="wrap" %}

```javascript
const params = new URLSearchParams({ page: 1 });

const options = {
  method: 'GET',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': 'API_KEY'
  }
};

fetch('https://api.ninjapay.me/webextension/api/v1/fiat/realtime-payment-link/template', options)
  .then(response => response.json())
  .then(response => console.log(response))
  .catch(err => console.error(err));
  
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ninjapay.gitbook.io/ninjapay-api-docs/how-to/api-reference-upi/plugins/realtime-payment-links/single-order-id-trx-list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
