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

# Check Payer Type

> Determine if payer is business or user

<span style={{display:"none"}}>For the complete documentation index, see [llms.txt](/llms.txt).</span>

Check if an address belongs to a business or regular user. Different fee rates apply.

## Request Body

<ParamField body="delegate_address" type="string" required>
  Address to check (Shakesco or Business card)
</ParamField>

## Response

<ResponseField name="id" type="integer">
  Request ID
</ResponseField>

<ResponseField name="is_business" type="string">
  * `true` = Business account - `false` = User account
</ResponseField>

<RequestExample>
  ```javascript Node.js theme={null}
  const response = await fetch("https://payments.shakesco.com/is_business", {
    method: "POST",
    headers: {
      Authorization: `Bearer ${API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      delegate_address: "0xB808ff0E0F4fC24D0cECeED6014f04ecE5bfca36",
    }),
  });

  const { is_business } = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      "https://payments.shakesco.com/is_business",
      headers={
          "Authorization": f"Bearer {API_KEY}",
          "Content-Type": "application/json"
      },
      json={
          "delegate_address": "0xB808ff0E0F4fC24D0cECeED6014f04ecE5bfca36"
      }
  )

  data = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json User Account theme={null}
  {
    "id": 1,
    "is_business": "false"
  }
  ```

  ```json Business Account theme={null}
  {
    "id": 1,
    "is_business": "true"
  }
  ```
</ResponseExample>

<Info>
  Check [fee rates](https://shakesco.com/charges) for B2B vs B2C transactions.
</Info>
