Skip to main content
POST
https://autopay.shakesco.com
/
is_business
const response = await fetch("https://autopay.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();
{
  "id": 1,
  "is_business": "false"
}
Check if an address belongs to a business or regular user. Different fee rates apply.

Request Body

delegate_address
string
required
Address to check (Shakesco or Business card)

Response

id
integer
Request ID
is_business
string
  • true = Business account - false = User account
const response = await fetch("https://autopay.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();
{
  "id": 1,
  "is_business": "false"
}
Check fee rates for B2B vs B2C transactions.