Skip to main content

Overview

The Banks API provides access to UAE banking institutions for store owners to configure their payout bank accounts. This system supports all major UAE banks and is used for financial operations and payout processing. Location: convex/shared/banks.ts

Get Banks

Retrieves all available banks in the UAE banking system.

Seed Banks

Seeds the database with initial bank data (admin function).

Bank Selector Component

Here’s a reusable bank selector component for your frontend:

Bank Account Setup Form

Complete form for setting up bank account details:

Supported UAE Banks

The system includes all major UAE banks:

Major Banks

  • Emirates NBD (بنك الإمارات دبي الوطني)
  • First Abu Dhabi Bank (بنك أبوظبي الأول)
  • Dubai Islamic Bank (بنك دبي الإسلامي)
  • Abu Dhabi Commercial Bank (بنك أبوظبي التجاري)

Other Banks

  • Mashreq Bank (بنك المشرق)
  • RAKBANK (بنك رأس الخيمة الوطني)
  • ADIB (بنك أبوظبي الإسلامي)
  • CBD (بنك دبي التجاري)

IBAN Validation

UAE IBAN format validation:

Error Handling

Status Code: 200 (Success with empty array)
Status Code: 500
Status Code: 404
Bank data is pre-seeded during system initialization and includes all major UAE banking institutions with their official Arabic names and SWIFT codes.
Always validate IBAN format on the client side before submission to provide immediate feedback to users and reduce server-side validation errors.