OK - The request was successful.
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.
- Account details retrieval
- Internal transfers
- Payments (Swift)
- Virtual Accounts
- Transaction information access
- Robust security and compliance
- Comprehensive documentation
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/
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:
timestamp– Current Bermuda local time in ISO-8601 format with the correct offset (e.g.,2025-01-07T14:30:15-04:00).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.
Clients must use the HTTP Accept header to indicate the desired response format:
- Set
Accept: application/jsonfor JSON responses (default) If the Accept header is omitted,application/jsonis assumed.
All API requests use the versioned base URL:
https://api.bcb.bm/v1/system/time
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
- Mock serverhttps://developers.bcb.bm/_mock/apis/open-banking-api/open-banking-api/v1/system/time
- UAT Environment - Used for testing and integration purposeshttps://api-uat.bcb.bm/v1/system/time
- Production Environment - Live environment for production usehttps://api.bcb.bm/v1/system/time
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
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>'Response
application/json
{ "timestamp": "2025-01-07T19:30:15.1230000+01:00", "timeZone": "Atlantic Standard Time" }