Skip to main content
GET
https://autopay.shakesco.com
/
codes
const response = await fetch("https://autopay.shakesco.com/codes", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${API_KEY}`,
    "Content-Type": "application/json",
  },
});

const { currency_codes } = await response.json();
console.log(currency_codes);
{
  "id": 1,
  "currency_codes": [
    "USD",
    "EUR",
    "GBP",
    "KES",
    "INR",
    "JPY",
    "BTC",
    "ETH",
    "MATIC",
    "USDT",
    "USDC",
    "DAI",
    "..."
  ]
}
Retrieve the list of supported currency codes for payment requests. Supports 300+ currencies.

Response

id
integer
Request ID
currency_codes
array
Array of supported currency codes (USD, EUR, KES, BTC, ETH, etc.)
const response = await fetch("https://autopay.shakesco.com/codes", {
  method: "GET",
  headers: {
    Authorization: `Bearer ${API_KEY}`,
    "Content-Type": "application/json",
  },
});

const { currency_codes } = await response.json();
console.log(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.