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();
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()
{
"id": 1,
"is_business": "false"
}
{
"id": 1,
"is_business": "true"
}
Auto-Payments API (Beta)
Check Payer Type
Determine if payer is business or user
POST
/
is_business
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();
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()
{
"id": 1,
"is_business": "false"
}
{
"id": 1,
"is_business": "true"
}
For the complete documentation index, see llms.txt.
Check if an address belongs to a business or regular user. Different fee rates apply.
Request Body
string
required
Address to check (Shakesco or Business card)
Response
integer
Request ID
string
true= Business account -false= User account
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();
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()
{
"id": 1,
"is_business": "false"
}
{
"id": 1,
"is_business": "true"
}
Check fee rates for B2B vs B2C transactions.
⌘I