Skip to content

Bermuda Commercial Bank RESTful Open Banking API Implementation (v1)

The Bermuda Commercial Bank (BCB) RESTful Open Banking API provides secure, programmatic access to BCB's banking services, enabling developers to integrate financial services into their applications.

Key Features

  • Account details retrieval
  • Internal transfers
  • Payments (Swift)
  • Virtual Accounts
  • Transaction information access
  • Robust security and compliance
  • Comprehensive documentation

Available Environments

UAT Environment

URL: https://api-uat.bcb.bm

Purpose: Testing and integration

Production Environment

URL: https://api.bcb.bm

Purpose: Live production use

Download OpenAPI description
Overview
URL
Bermuda Commercial Bank Limited, 34 Bermudiana Road, Hamilton HM 11, Bermuda
Languages
Servers
Mock server
https://developers.bcb.bm/_mock/apis/open-banking-api/open-banking-api/
UAT Environment - Used for testing and integration purposes
https://api-uat.bcb.bm/
Production Environment - Live environment for production use
https://api.bcb.bm/

Accounts

Operations

Credentials

Operations

Fx Quotes

Operations

Internal Transfers

Operations

Payments

Operations

Public Keys

Operations

Token

Operations

Transactions

Operations

Virtual Accounts

Operations

Notifications

Operations

Background Jobs

Operations

System

Operations

Get system time

Request

Returns the current server date and time in ISO-8601 format. This endpoint helps integrators synchronize with the server clock and craft valid date/time windows for other API requests.

The response contains two fields:

  1. timestamp – Current Bermuda local time in ISO-8601 format with the correct offset (e.g., 2025-01-07T14:30:15-04:00).
  2. timeZone – Display name of the time zone currently in effect ("Atlantic Daylight Time" or "Atlantic Standard Time").

This allows clients to know both the precise instant and whether Daylight-Saving Time is observed.

Content Negotiation

Clients must use the HTTP Accept header to indicate the desired response format:

  • Set Accept: application/json for JSON responses (default) If the Accept header is omitted, application/json is assumed.

Base URL:

All API requests use the versioned base URL:

https://api.bcb.bm/v1/system/time

Sample Request in JavaScript:

async function getSystemTime() {
  try {
    const response = await fetch('https://api.bcb.bm/v1/system/time', {
      method: 'GET',
      headers: {
        'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
        'Content-Type': 'application/json',
        'Accept': 'application/json'
      }
    });

    if (!response.ok) {
      const errorData = await response.json();
      throw new Error(`Error: ${errorData.message || 'Unknown error'}`);
    }

    const data = await response.json();
    console.log('Server timestamp (Bermuda time UTC-4):', data.timestamp);

    return data;
  } catch (error) {
    console.error('There was a problem retrieving system time:', error.message);
  }
}

// Example usage:
getSystemTime();
Security
Authorization
curl -i -X GET \
  https://developers.bcb.bm/_mock/apis/open-banking-api/open-banking-api/v1/system/time \
  -H 'Authorization: Bearer <YOUR_jwt_HERE>'

Responses

OK - The request was successful.

Bodyapplication/json
timestampstringrequired

Current server timestamp in ISO-8601 format (e.g., 2025-01-07T14:30:15-04:00)

timeZonestringrequired

Current server time zone in IANA format (e.g., "Atlantic Daylight Time")

Response
application/json
{ "timestamp": "2025-01-07T19:30:15.1230000+01:00", "timeZone": "Atlantic Standard Time" }