const response = await fetch("https://payments.shakesco.com/codes", {
method: "GET",
headers: {
Authorization: `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
});
const { currency_codes } = await response.json();
console.log(currency_codes);
import requests
response = requests.get(
"https://payments.shakesco.com/codes",
headers={
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json"
}
)
data = response.json()
currency_codes = data["currency_codes"]
{
"id": 1,
"currency_codes": [
"USD",
"EUR",
"GBP",
"KES",
"INR",
"JPY",
"BTC",
"ETH",
"MATIC",
"USDT",
"USDC",
"DAI",
"..."
]
}
List Currency Codes
Get all supported currency codes
GET
/
codes
const response = await fetch("https://payments.shakesco.com/codes", {
method: "GET",
headers: {
Authorization: `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
});
const { currency_codes } = await response.json();
console.log(currency_codes);
import requests
response = requests.get(
"https://payments.shakesco.com/codes",
headers={
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json"
}
)
data = response.json()
currency_codes = data["currency_codes"]
{
"id": 1,
"currency_codes": [
"USD",
"EUR",
"GBP",
"KES",
"INR",
"JPY",
"BTC",
"ETH",
"MATIC",
"USDT",
"USDC",
"DAI",
"..."
]
}
For the complete documentation index, see llms.txt.
Retrieve the list of supported currency codes for payment requests. Supports 300+ currencies.
Response
integer
Request ID
array
Array of supported currency codes (USD, EUR, KES, BTC, ETH, etc.)
const response = await fetch("https://payments.shakesco.com/codes", {
method: "GET",
headers: {
Authorization: `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
});
const { currency_codes } = await response.json();
console.log(currency_codes);
import requests
response = requests.get(
"https://payments.shakesco.com/codes",
headers={
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json"
}
)
data = response.json()
currency_codes = data["currency_codes"]
{
"id": 1,
"currency_codes": [
"USD",
"EUR",
"GBP",
"KES",
"INR",
"JPY",
"BTC",
"ETH",
"MATIC",
"USDT",
"USDC",
"DAI",
"..."
]
}
Currency codes must be in UPPERCASE when making payment requests.
⌘I