> For the complete documentation index, see [llms.txt](https://ninjapay.gitbook.io/ninjapay-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ninjapay.gitbook.io/ninjapay-api-docs/how-to/api-reference-upi/plugins/invoice/get-client.md).

# Get Client

This endpoint is used to get client details for invoice plugin

#### Method

<pre><code><strong>GET https://api.ninjapay.me/webextension/api/v1/fiat/invoice/client
</strong></code></pre>

#### Response

```json
{
  "status": true,
  "data": [
    {
      "name": "Aman A",
      "phone_code": "91",
      "phone": "9876543211",
      "email": "aman2@gmail.com",
      "website": "https://amanwebsite.com",
      "street_address": "1234 Elm Street",
      "state": "Maharashtra",
      "city": "Mumbai",
      "country": "India",
      "zip_code": "400001",
      "details": [
        {
          "PAN": "ABCDE1234F"
        },
        {
          "GST": "27ABCDE1234F1Z5"
        }
      ]
    }
  ],
  "message": "Client list retrieved successfully"
}
```

#### Code Example

```jsx

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

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