> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://open-api-docs.dice.tech/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://open-api-docs.dice.tech/_mcp/server.

# Get QR Card Details

GET https://heimdall.eka.io/external/qr/{code}/getQrCardDetails

### Get QR Card Details

This endpoint retrieves the details of a QR card based on the provided QR code and office information.

#### Request Parameters

- `code` (path) : The QR code for the card.
    
- `office` (query, optional) : The name of the office.
    

#### Response

Upon a successful request, the endpoint returns an array of `qrCards` containing the following details:

- `id` : The unique identifier of the QR card.
    
- `title` : The title of the card.
    
- `description` : The description of the card.
    
- `employee` : Details of the associated employee, including email, mobile, name, code, and custom fields.
    
- `balanceLeft` : The remaining balance on the card.
    
- `transferredAmount` : The amount transferred from the card.
    
- `initialAmount` : The initial amount loaded on the card.
    
- `officeDetails` : Information about the office, such as name, ID, GSTIN, registered name, registered address, currency, and tags.
    
- `completed` : Indicates if the card setup is completed.
    
- `validDate` : The validity date of the card.
    
- `cardLimit` : The limit of the card.
    
- `monthly` : Indicates if the card is valid for a month.
    
- `currentMonth` : The current month for the card.

Reference: https://open-api-docs.dice.tech/dice-standardized-ap-is-v-2-copy/qr-card/get-qr-card-details

## Servers

- `https://heimdall.eka.io` (https://heimdall.eka.io, default)
- `https://heimdall.eka.ioapis` (https://heimdall.eka.ioapis)

## Request

### Path parameters

- `code` (string, required)

### Query parameters

- `office` (string, optional)

### Headers

- `DICE-APP-ID` (string, optional)
- `X-CLIENT-ID` (string, optional)
- `X-CLIENT-SECRET` (string, optional)

## Response

### 200

OK

- `qrCards` (list of object, required)
  - `id` (integer, required)
  - `title` (string, required)
  - `description` (string, required)
  - `employee` (object, required)
    - `email` (string, required)
    - `mobile` (string, required)
    - `name` (string, required)
    - `code` (string, required)
    - `customFields` (object, required)
      - `hr head` (string, required)
      - `manager` (string, required)
      - `budgeting_user` (string, required)
      - `budgeted_user` (string, required)
      - `alternate` (string, required)
      - `manager@1` (string, required)
  - `balanceLeft` (integer, required)
  - `transferredAmount` (integer, required)
  - `initialAmount` (integer, required)
  - `officeDetails` (object, required)
    - `name` (string, required)
    - `id` (integer, required)
    - `gstin` (string, required)
    - `registeredName` (string, required)
    - `registeredAddress` (string, required)
    - `currency` (string, required)
    - `tags` (object, required)
      - `manager@5` (string, required)
  - `completed` (boolean, required)
  - `validDate` (integer, required)
  - `cardLimit` (integer, required)
  - `monthly` (boolean, required)
  - `currentMonth` (string, required)

## Examples

**Response**

```json
{
  "qrCards": [
    {
      "id": 6731,
      "title": "INTEGRATION",
      "description": "test qr card create from integration",
      "employee": {
        "email": "testuser1@yopmail.co",
        "mobile": "1234567898",
        "name": "karanas sharma",
        "code": "E0001",
        "customFields": {
          "hr head": "EMP001",
          "manager": "EMP003",
          "budgeting_user": "yes",
          "budgeted_user": "yes",
          "alternate": "EMP001",
          "manager@1": "E0009"
        }
      },
      "balanceLeft": 100,
      "transferredAmount": 100,
      "initialAmount": 100,
      "officeDetails": {
        "name": "srinivas office new",
        "id": 74549,
        "gstin": "",
        "registeredName": "test",
        "registeredAddress": "test",
        "currency": "INR",
        "tags": {
          "manager@5": "0007"
        }
      },
      "completed": true,
      "validDate": 1726644606395,
      "cardLimit": 100,
      "monthly": false,
      "currentMonth": "Sep"
    },
    {
      "id": 6732,
      "title": "INTEGRATION",
      "description": "test qr card create from integration",
      "employee": {
        "email": "testuser1@yopmail.co",
        "mobile": "1234567898",
        "name": "karanas sharma",
        "code": "E0001",
        "customFields": {
          "hr head": "EMP001",
          "manager": "EMP003",
          "budgeting_user": "yes",
          "budgeted_user": "yes",
          "alternate": "EMP001",
          "manager@1": "E0009"
        }
      },
      "balanceLeft": 100,
      "transferredAmount": 100,
      "initialAmount": 100,
      "officeDetails": {
        "name": "srinivas office new",
        "id": 74549,
        "gstin": "",
        "registeredName": "test",
        "registeredAddress": "test",
        "currency": "INR",
        "tags": {
          "manager@5": "0007"
        }
      },
      "completed": false,
      "validDate": 1726644609543,
      "cardLimit": 100,
      "monthly": false,
      "currentMonth": "Sep"
    }
  ]
}
```

**SDK Code**

```python QR Card_Get QR Card Details_example
import requests

url = "https://heimdall.eka.io/external/qr/E0001/getQrCardDetails"

querystring = {"office":"srinivas office new"}

headers = {
    "DICE-APP-ID": "{{Company Code}}",
    "X-CLIENT-ID": "{{API Client ID}}",
    "X-CLIENT-SECRET": "{{API Client Secret}}"
}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript QR Card_Get QR Card Details_example
const url = 'https://heimdall.eka.io/external/qr/E0001/getQrCardDetails?office=srinivas+office+new';
const options = {
  method: 'GET',
  headers: {
    'DICE-APP-ID': '{{Company Code}}',
    'X-CLIENT-ID': '{{API Client ID}}',
    'X-CLIENT-SECRET': '{{API Client Secret}}'
  }
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go QR Card_Get QR Card Details_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://heimdall.eka.io/external/qr/E0001/getQrCardDetails?office=srinivas+office+new"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("DICE-APP-ID", "{{Company Code}}")
	req.Header.Add("X-CLIENT-ID", "{{API Client ID}}")
	req.Header.Add("X-CLIENT-SECRET", "{{API Client Secret}}")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby QR Card_Get QR Card Details_example
require 'uri'
require 'net/http'

url = URI("https://heimdall.eka.io/external/qr/E0001/getQrCardDetails?office=srinivas+office+new")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["DICE-APP-ID"] = '{{Company Code}}'
request["X-CLIENT-ID"] = '{{API Client ID}}'
request["X-CLIENT-SECRET"] = '{{API Client Secret}}'

response = http.request(request)
puts response.read_body
```

```java QR Card_Get QR Card Details_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://heimdall.eka.io/external/qr/E0001/getQrCardDetails?office=srinivas+office+new")
  .header("DICE-APP-ID", "{{Company Code}}")
  .header("X-CLIENT-ID", "{{API Client ID}}")
  .header("X-CLIENT-SECRET", "{{API Client Secret}}")
  .asString();
```

```php QR Card_Get QR Card Details_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://heimdall.eka.io/external/qr/E0001/getQrCardDetails?office=srinivas+office+new', [
  'headers' => [
    'DICE-APP-ID' => '{{Company Code}}',
    'X-CLIENT-ID' => '{{API Client ID}}',
    'X-CLIENT-SECRET' => '{{API Client Secret}}',
  ],
]);

echo $response->getBody();
```

```csharp QR Card_Get QR Card Details_example
using RestSharp;

var client = new RestClient("https://heimdall.eka.io/external/qr/E0001/getQrCardDetails?office=srinivas+office+new");
var request = new RestRequest(Method.GET);
request.AddHeader("DICE-APP-ID", "{{Company Code}}");
request.AddHeader("X-CLIENT-ID", "{{API Client ID}}");
request.AddHeader("X-CLIENT-SECRET", "{{API Client Secret}}");
IRestResponse response = client.Execute(request);
```

```swift QR Card_Get QR Card Details_example
import Foundation

let headers = [
  "DICE-APP-ID": "{{Company Code}}",
  "X-CLIENT-ID": "{{API Client ID}}",
  "X-CLIENT-SECRET": "{{API Client Secret}}"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://heimdall.eka.io/external/qr/E0001/getQrCardDetails?office=srinivas+office+new")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```