Bank list

Live
GET/api/v1/bank-codes

The system-wide bank codes (active banks only, in display order) — powers the bank dropdown on register and withdraw forms.

Headers

FieldTypeRequiredDescription
Authorizationstring—Not used — this endpoint is public; no member token required
X-Api-KeystringYesAgent API key (ak_…) from the bo screen
X-TimestampstringYesSigning time in unix milliseconds (±300s skew allowed)
X-NoncestringYesUnique per-request value (UUIDv4) for replay protection
X-SignaturestringYeshex(HMAC-SHA256(secret, canonical)) — see the Authentication page
X-Player-IPstring—The player's real IP (IPv4/IPv6) — recommended (used in login history)
X-Player-UAstring—The player's User-Agent (optional — recorded in login history)
X-Request-Idstring—Your correlation id — echoed back as request_uuid (recommended)
x-langstring—th (default) or en — the language of message

Response

Fields in data

FieldTypeRequiredDescription
[]object[]—data is an array of banks — each item has the fields below
└ codestring—Standard bank code, e.g. KBANK, SCB, BBL — send this back on register/withdraw
└ name_thstring—Bank name in Thai
└ name_enstring—Bank name in English
└ logo_urlstring | null—Bank logo URL — when null, render a colour badge from display_color instead
└ display_colorstring | null—Bank brand colour in hex, e.g. "#138F2D", for the fallback badge
└ display_ordernumber—Display order (the list is already sorted)
Response example
{
  "success": true,
  "code": 0,
  "message": "สำเร็จ",
  "data": [
    {
      "code": "KBANK",
      "name_th": "ธนาคารกสิกรไทย",
      "name_en": "Kasikornbank",
      "logo_url": "https://cdn.bestsystem.example/banks/kbank.png",
      "display_color": "#138F2D",
      "display_order": 1
    },
    {
      "code": "SCB",
      "name_th": "ธนาคารไทยพาณิชย์",
      "name_en": "Siam Commercial Bank",
      "logo_url": "https://cdn.bestsystem.example/banks/scb.png",
      "display_color": "#4E2E7F",
      "display_order": 2
    },
    {
      "code": "BBL",
      "name_th": "ธนาคารกรุงเทพ",
      "name_en": "Bangkok Bank",
      "logo_url": null,
      "display_color": "#1E4598",
      "display_order": 3
    }
  ],
  "request_uuid": "6e2a9c4f-8b13-4d07-a5e9-3f7c1d0b8a46"
}