NAV Navbar
Danske Bank Logo
Shell HTTP JavaScript Node.JS Python Ruby Java

Open Data API v1.2.4

Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

UK Open Banking API specification v 1.2.4

API allows to access information about Danske Banks ATMs and branches in UK. API is part of the UK Open Banking initiative: https://www.openbanking.org.uk

Base URL = https://obp-api.danskebank.com/open-banking/v1.2

Branch

Endpoint for getting Branch data

GET /branches

Code samples

# You can also use wget
curl -X get https://obp-api.danskebank.com/open-banking/v1.2/branches \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

GET https://obp-api.danskebank.com/open-banking/v1.2/branches HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/branches',
  method: 'get',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/branches',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.get 'https://obp-api.danskebank.com/open-banking/v1.2/branches', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.get('https://obp-api.danskebank.com/open-banking/v1.2/branches', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/branches");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code 200

{
  "meta": {
    "LastUpdated": "2017-04-28T20:36:22Z",
    "TotalResults": 0,
    "Agreement": "Use of the APIs and any related data will be subject to the terms of the Open Licence and subject to terms and conditions",
    "License": "https://openbanking.org.uk/open-licence",
    "TermsOfUse": "https://openbanking.org.uk/terms"
  },
  "data": [
    {
      "Organisation": {
        "ParentOrganisation": {
          "LEI": "string",
          "BIC": "string",
          "OrganisationName": {
            "LegalName": "string"
          }
        },
        "Brand": {
          "TrademarkIPOCode": "UK",
          "TrademarkID": "string"
        }
      },
      "BranchName": "string",
      "BranchIdentification": "string",
      "BranchType": "Physical",
      "Address": {
        "StreetName": "string",
        "BuildingNumberOrName": "string",
        "PostCode": "string",
        "OptionalAddressField": "string",
        "TownName": "string",
        "CountrySubDivision": "string",
        "Country": "string"
      },
      "BranchDescription": "string",
      "BranchPhoto": "http://example.com",
      "TelephoneNumber": "string",
      "AlternatePhone": [
        {
          "AlternateTelephoneNumber": "string",
          "AlternateTelephoneNumberDescription": "string"
        }
      ],
      "FaxNumber": [
        "string"
      ],
      "GeographicLocation": {
        "Latitude": "string",
        "Longitude": "string"
      },
      "DaysOfTheWeek": "string",
      "StopName": "string",
      "ArrivalTime": "string",
      "DepartureTime": "string",
      "ParkingLocation": "string",
      "OpeningTimes": [
        {
          "OpeningDay": "Monday",
          "OpeningTime": "string",
          "ClosingTime": "string",
          "UnavailableStartTime": "string",
          "UnavailableFinishTime": "string"
        }
      ],
      "PlannedBranchClosure": [
        {
          "StartDate": "string",
          "EndDate": "string"
        }
      ],
      "AccessibilityTypes": "AudioCashMachine",
      "BranchSelfServeServiceName": [
        "AccountVerificationService"
      ],
      "BranchOtherSelfServices": [
        "string"
      ],
      "BranchMediatedServiceName": [
        "BureauDeChange"
      ],
      "BranchOtherMediatedServices": [
        "string"
      ],
      "BranchFacilitiesName": [
        "BusinessITSupport"
      ],
      "CustomerSegment": [
        "Business"
      ],
      "BranchOtherFacilities": [
        "string"
      ],
      "ATMAtBranch": true
    }
  ]
}

Example response Http Code 400

{
  "status": "400",
  "title": "Bad request",
  "description": "You have sent a request which could not be understood."
}

Example response Http Code 408

{
  "status": "408",
  "title": "Client timeout",
  "description": "Your client has failed to submit a request, and a timeout has occurred."
}

Example response Http Code 429

{
  "status": "429",
  "title": "Too many requests",
  "description": "You have requested this resource too often. Slow down."
}

Example response Http Code 500

{
  "status": "500",
  "title": "Internal server error",
  "description": "An error occurred on the server. No further information is available."
}

Example response Http Code 503

{
  "status": "503",
  "title": "Service temporarily unavailable",
  "description": "The service is temporarily unavailable."
}

Example response Http Code default

{
  "status": "string",
  "title": "string",
  "description": "string"
}

Gets a list of all Branch objects.

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
200 OK Successful response with a list of Branch data
400 Bad Request You have sent a request which could not be understood.
408 Request Timeout Your client has failed to submit a request, and a timeout has occurred.
429 Too Many Requests You have requested this resource too often. Slow down.
500 Internal Server Error An error occurred on the server. No further information is available.
503 Service Unavailable The service is temporarily unavailable.
default Default A standard error response.

Response Headers

Status Header Type Format Description
200 Strict-Transport-Security string HTTPS strict transport security header
200 Etag string A unique ID identifying whether this resource has changed
200 Cache-Control string Describes how long this response can be cached
200 X-Frame-Options string Prevent this request from being loaded in any iframes
200 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Strict-Transport-Security string HTTPS strict transport security header
400 X-Frame-Options string Prevent this request from being loaded in any iframes
400 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Status Code integer The HTTP status code defining the error
408 Strict-Transport-Security string HTTPS strict transport security header
408 X-Frame-Options string Prevent this request from being loaded in any iframes
408 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
408 Status Code integer The HTTP status code defining the error
429 Strict-Transport-Security string HTTPS strict transport security header
429 X-Frame-Options string Prevent this request from being loaded in any iframes
429 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
429 Status Code integer The HTTP status code defining the error
500 Strict-Transport-Security string HTTPS strict transport security header
500 X-Frame-Options string Prevent this request from being loaded in any iframes
500 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
500 Status Code integer The HTTP status code defining the error
503 Strict-Transport-Security string HTTPS strict transport security header
503 X-Frame-Options string Prevent this request from being loaded in any iframes
503 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
503 Status Code integer The HTTP status code defining the error
default Strict-Transport-Security string HTTPS strict transport security header
default X-Frame-Options string Prevent this request from being loaded in any iframes
default X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
default Status Code integer The HTTP status code defining the error

HEAD /branches

Code samples

# You can also use wget
curl -X head https://obp-api.danskebank.com/open-banking/v1.2/branches \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

HEAD https://obp-api.danskebank.com/open-banking/v1.2/branches HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/branches',
  method: 'head',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/branches',
{
  method: 'HEAD',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.head 'https://obp-api.danskebank.com/open-banking/v1.2/branches', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.head('https://obp-api.danskebank.com/open-banking/v1.2/branches', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/branches");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("HEAD");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code default

{}

Gets header information on the current set of Branch data

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
default Default No response

ATM

Endpoint for getting ATM data

GET /atms

Code samples

# You can also use wget
curl -X get https://obp-api.danskebank.com/open-banking/v1.2/atms \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

GET https://obp-api.danskebank.com/open-banking/v1.2/atms HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/atms',
  method: 'get',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/atms',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.get 'https://obp-api.danskebank.com/open-banking/v1.2/atms', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.get('https://obp-api.danskebank.com/open-banking/v1.2/atms', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/atms");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code 200

{
  "meta": {
    "LastUpdated": "2017-04-28T20:36:22Z",
    "TotalResults": 0,
    "Agreement": "Use of the APIs and any related data will be subject to the terms of the Open Licence and subject to terms and conditions",
    "License": "https://openbanking.org.uk/open-licence",
    "TermsOfUse": "https://openbanking.org.uk/terms"
  },
  "data": [
    {
      "Organisation": {
        "ParentOrganisation": {
          "LEI": "string",
          "BIC": "string",
          "OrganisationName": {
            "LegalName": "string"
          }
        },
        "Brand": {
          "TrademarkIPOCode": "UK",
          "TrademarkID": "string"
        }
      },
      "BranchIdentification": "string",
      "ATMID": "string",
      "LocationCategory": "Airport",
      "SiteID": "string",
      "SiteName": "string",
      "Address": {
        "StreetName": "string",
        "BuildingNumberOrName": "string",
        "PostCode": "string",
        "OptionalAddressField": "string",
        "TownName": "string",
        "CountrySubDivision": "string",
        "Country": "string"
      },
      "GeographicLocation": {
        "Latitude": "string",
        "Longitude": "string"
      },
      "AccessibilityTypes": [
        "AudioCashMachine"
      ],
      "SupportedLanguages": [
        "string"
      ],
      "ATMServices": [
        "Balance"
      ],
      "AdditionalATMServices": [
        "string"
      ],
      "Currency": [
        "string"
      ],
      "MinimumValueDispensed": "£5"
    }
  ]
}

Example response Http Code 400

{
  "status": "400",
  "title": "Bad request",
  "description": "You have sent a request which could not be understood."
}

Example response Http Code 408

{
  "status": "408",
  "title": "Client timeout",
  "description": "Your client has failed to submit a request, and a timeout has occurred."
}

Example response Http Code 429

{
  "status": "429",
  "title": "Too many requests",
  "description": "You have requested this resource too often. Slow down."
}

Example response Http Code 500

{
  "status": "500",
  "title": "Internal server error",
  "description": "An error occurred on the server. No further information is available."
}

Example response Http Code 503

{
  "status": "503",
  "title": "Service temporarily unavailable",
  "description": "The service is temporarily unavailable."
}

Example response Http Code default

{
  "status": "string",
  "title": "string",
  "description": "string"
}

Gets a list of all ATM objects.

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
200 OK Successful response with a list of ATM data
400 Bad Request You have sent a request which could not be understood.
408 Request Timeout Your client has failed to submit a request, and a timeout has occurred.
429 Too Many Requests You have requested this resource too often. Slow down.
500 Internal Server Error An error occurred on the server. No further information is available.
503 Service Unavailable The service is temporarily unavailable.
default Default A standard error response.

Response Headers

Status Header Type Format Description
200 Strict-Transport-Security string HTTPS strict transport security header
200 Etag string A unique ID identifying whether this resource has changed
200 Cache-Control string Describes how long this response can be cached
200 X-Frame-Options string Prevent this request from being loaded in any iframes
200 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Strict-Transport-Security string HTTPS strict transport security header
400 X-Frame-Options string Prevent this request from being loaded in any iframes
400 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Status Code integer The HTTP status code defining the error
408 Strict-Transport-Security string HTTPS strict transport security header
408 X-Frame-Options string Prevent this request from being loaded in any iframes
408 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
408 Status Code integer The HTTP status code defining the error
429 Strict-Transport-Security string HTTPS strict transport security header
429 X-Frame-Options string Prevent this request from being loaded in any iframes
429 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
429 Status Code integer The HTTP status code defining the error
500 Strict-Transport-Security string HTTPS strict transport security header
500 X-Frame-Options string Prevent this request from being loaded in any iframes
500 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
500 Status Code integer The HTTP status code defining the error
503 Strict-Transport-Security string HTTPS strict transport security header
503 X-Frame-Options string Prevent this request from being loaded in any iframes
503 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
503 Status Code integer The HTTP status code defining the error
default Strict-Transport-Security string HTTPS strict transport security header
default X-Frame-Options string Prevent this request from being loaded in any iframes
default X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
default Status Code integer The HTTP status code defining the error

HEAD /atms

Code samples

# You can also use wget
curl -X head https://obp-api.danskebank.com/open-banking/v1.2/atms \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

HEAD https://obp-api.danskebank.com/open-banking/v1.2/atms HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/atms',
  method: 'head',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/atms',
{
  method: 'HEAD',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.head 'https://obp-api.danskebank.com/open-banking/v1.2/atms', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.head('https://obp-api.danskebank.com/open-banking/v1.2/atms', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/atms");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("HEAD");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code default

{}

Gets header information on the current set of ATM data

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
default Default No response

PCA

Endpoint for getting Personal Current Account data

GET /personal-current-accounts

Code samples

# You can also use wget
curl -X get https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

GET https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts',
  method: 'get',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.get 'https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.get('https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code 200

{
  "meta": {
    "LastUpdated": "2017-04-28T20:36:22Z",
    "TotalResults": 0,
    "Agreement": "Use of the APIs and any related data will be subject to the terms of the Open Licence and subject to terms and conditions",
    "License": "https://openbanking.org.uk/open-licence",
    "TermsOfUse": "https://openbanking.org.uk/terms"
  },
  "data": [
    {
      "Organisation": {
        "ParentOrganisation": {
          "LEI": "string",
          "BIC": "string",
          "OrganisationName": {
            "LegalName": "string"
          }
        },
        "Brand": {
          "TrademarkIPOCode": "UK",
          "TrademarkID": "string"
        }
      },
      "ProductType": "PCA",
      "ProductName": "string",
      "ProductSegment": [
        "Basic"
      ],
      "InternationalPaymentsSupported": true,
      "ProductIdentifier": "string",
      "CardWithdrawalLimit": "string",
      "ProductDescription": "string",
      "TsandCs": [
        "string"
      ],
      "AccessChannels": [
        "ATM"
      ],
      "CardType": [
        "BasicCard"
      ],
      "Contactless": true,
      "MobileWallet": [
        "AndroidPay"
      ],
      "CardNotes": "string",
      "ChequeBookAvailable": true,
      "CreditScoringPartOfAccountOpeningForGettingAnAccount": true,
      "CreditScoringPartOfAccountOpeningIsAHardOrSoftCreditScore": [
        "Hard"
      ],
      "CreditScoringPartOfAccountOpeningText": "string",
      "CreditScoringPartOfAccountOpeningForIDVerification": true,
      "CreditScoringPartOfAccountOpeningIDVerificationIsAHardOrSoftCreditScore": [
        "Hard"
      ],
      "CreditScoringPartOfAccountOpeningIDVerificationText": [
        "string"
      ],
      "MaximumMonthlyCharge": "string",
      "ProductURL": [
        "http://example.com"
      ],
      "Currency": [
        "string"
      ],
      "OverdraftOffered": true,
      "Feature": [
        {
          "ExistingFeature": true,
          "ProductSubType": "FutureMultipleTerms",
          "StartPromotionOrFutureTerms": "string",
          "StopPromotionOrFutureTerms": "string",
          "LengthPromotionalInDays": 0,
          "DateOfChange": "string",
          "FeatureDetails": [
            {
              "FeatureSubType": "FutureMultipleTerms",
              "StartPromotionOrFutureTerms": "string",
              "StopPromotionOrFutureTerms": "string",
              "LengthPromotionalInDays": 0,
              "DateOfChange": "string",
              "FeatureType": "string",
              "FeatureName": "string",
              "FeatureDescription": "string",
              "FeatureValue": "string",
              "CriteriaType": "string"
            }
          ]
        }
      ],
      "CAPricing": [
        {
          "ProductSubType": "FutureMultipleTerms",
          "CAPricingItem": {
            "StartPromotionOrFutureTerms": "string",
            "StopPromotionOrFutureTerms": "string",
            "LengthPromotionalInDays": 0,
            "DateOfChange": "string",
            "ExchangeRateAdjustment": "string"
          }
        }
      ],
      "Eligibility": {
        "AgeRestricted": true,
        "MinimumAge": 0,
        "MaximumAge": 0,
        "MaximumAgeToOpen": 0,
        "OtherFinancialHoldingRequired": true,
        "Description": "string",
        "IncomeTurnoverRelated": true,
        "SingleJointIncome": "Joint",
        "MinimumIncomeTurnoverAmount": "string",
        "MinimumIncomeTurnoverCurrency": "string",
        "IncomeCondition": "string",
        "MinIncomeTurnoverPaidIntoAccount": 0,
        "MinimumIncomeFrequency": "AcademicTerm",
        "AnnualBusinessTurnover": "string",
        "AnnualBusinessTurnoverCurrency": "string",
        "ResidencyRestricted": true,
        "ResidencyRestrictedRegion": "UK",
        "MaxNumberOfAccounts": "string",
        "ThirdSectorOrganisations": true,
        "MinimumDeposit": true,
        "OpeningDepositMinimum": "string",
        "OpeningDepositMinimumCurrency": "string",
        "MinimumOperatingBalanceExists": true,
        "MinimumOperatingBalance": "string",
        "MinimumOperatingBalanceCurrency": "string",
        "MaximumOpeningAmount": true,
        "OpeningDepositMaximumAmount": "string",
        "OpeningDepositMaximumCurrency": "string",
        "EligibilityName": "string",
        "EligibilityType": "AnyBusinessCustomer",
        "EligibilityNotes": "string",
        "PreviousBankruptcy": true,
        "MarketingEligibility": [
          "ExistingCustomers"
        ]
      },
      "CreditInterest": {
        "CreditCharged": true,
        "CreditInterestGroup": [
          {
            "InterestTierSubType": "FutureMultipleTerms",
            "CreditInterestItem": {
              "StartPromotionOrFutureTerms": "string",
              "StopPromotionOrFutureTerms": "string",
              "LengthPromotionalInDays": 0,
              "DateOfChange": "string",
              "StartDate": "string",
              "EndDate": "string",
              "CalculationFrequency": "Month",
              "PaymentMethod": "Compound",
              "InterestRateType": "Fixed",
              "FixedInterestLength": 0,
              "CalculationMethod": "Banded",
              "InterestTiers": [
                {
                  "InterestTier": "string",
                  "TierValueMinimum": "string",
                  "DailyChargeForMinimum": "string",
                  "TierValueMaximum": "string",
                  "DailyChargeForMaximum": "string",
                  "Rate": "string",
                  "RateComparisonType": "APR",
                  "APRAERRate": "string"
                }
              ],
              "InterestNotes": "string"
            }
          }
        ]
      },
      "Overdraft": [
        {
          "InterestProductSubType": "FutureMultipleTerms",
          "StartPromotionOrFutureTerms": "string",
          "StopPromotionOrFutureTerms": "string",
          "LengthPromotionalInDays": 0,
          "DateOfChange": "string",
          "OverdraftPricing": {
            "ApplicableTo": {
              "InterestTierSME": "£5000",
              "InterestTierPersonal": "string"
            },
            "Tiers": [
              {
                "TierType": {
                  "ArrangedOverdraftInterestTier": "string",
                  "UnarrangedOverdraftInterestTier": "string"
                },
                "TierValueMinimum": "string",
                "TierValueMaximum": "string"
              }
            ],
            "InterestRateEARpa": "string",
            "RepresentativeRate": "string",
            "InterestNotes": "string",
            "TotalOverdraftChargeAmount": "Banded",
            "MinUnarrangedOverdraftAmount": "string",
            "InterestRate": "string",
            "InterestRateCalculationFrequency": "Annual",
            "InterestApplicationFrequency": "Annual",
            "DailyCharge": "string",
            "MonthlyCharge": "string",
            "ItemCharge": "string",
            "OtherCharge": "string",
            "OverdraftNotes": "string",
            "RatesAreNegotiable": "No",
            "IndicativeRate": "string",
            "BufferAmount": "string"
          },
          "MaximumMonthlyOverdraftCharge": "string",
          "MaximumDailyOverdraftCharge": "string",
          "OverdraftType": "Committed",
          "Term": "string",
          "SetUpFeesAmount": "string",
          "SetUpFeesRate": "string",
          "ReviewFee": "string",
          "MinimumFee": "string",
          "AnnualRenewalRate": "string",
          "AnnualRenewalFee": "string",
          "MinimumSetupFee": "string",
          "RenewalRate": "string",
          "MinimumRenewalFee": "string"
        }
      ],
      "FeesAndCharges": [
        {
          "ProductSubType": "FutureMultipleTerms",
          "Fees": {
            "StartPromotionOrFutureTerms": "string",
            "StopPromotionOrFutureTerms": "string",
            "LengthPromotionalInDays": 0,
            "DateOfChange": "string",
            "FeeLowerTier": 0,
            "FeeHigherTier": 0,
            "FeeDetails": [
              {
                "FeeSubType": "FutureMultipleTerms",
                "FeeDetail": {
                  "FeeType": "ATMDonation",
                  "Other": "string",
                  "StartPromotionOrFutureTerms": "string",
                  "StopPromotionOrFutureTerms": "string",
                  "LengthPromotionalInDays": 0,
                  "DateOfChange": "string",
                  "FeeSubDetails": {
                    "FeeFrequency": "AcademicTerm",
                    "FeeAmount": "string",
                    "FeeMin": "string",
                    "FeeMax": "string",
                    "FeeRate": "string",
                    "Negotiable": true,
                    "RepresentativeRate": "string",
                    "FeeLowerTier": 0,
                    "FeeHigherTier": 0,
                    "FeesAndChargesNotes": "string"
                  }
                }
              }
            ]
          }
        }
      ],
      "Benefits": {
        "Benefit": true,
        "BenefitGroup": [
          {
            "BenefitSubType": "FutureMultipleTerms",
            "BenefitItem": {
              "StartPromotionOrFutureTerms": "string",
              "StopPromotionOrFutureTerms": "string",
              "LengthPromotionalInDays": 0,
              "DateOfChange": "string",
              "BenefitDetail": [
                {
                  "BenefitType": "string",
                  "BenefitName": "string",
                  "BenefitValue": "string",
                  "DefaultToAccounts": true,
                  "BenefitID": "string",
                  "CriteriaType": [
                    "CashDeposit"
                  ],
                  "MinimumCriteria": "string",
                  "MaximumCriteria": "string",
                  "Counter": 0,
                  "BenefitDescription": "string",
                  "PromotionStartDate": "string",
                  "PromotionEndDate": "string"
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

Example response Http Code 400

{
  "status": "400",
  "title": "Bad request",
  "description": "You have sent a request which could not be understood."
}

Example response Http Code 408

{
  "status": "408",
  "title": "Client timeout",
  "description": "Your client has failed to submit a request, and a timeout has occurred."
}

Example response Http Code 429

{
  "status": "429",
  "title": "Too many requests",
  "description": "You have requested this resource too often. Slow down."
}

Example response Http Code 500

{
  "status": "500",
  "title": "Internal server error",
  "description": "An error occurred on the server. No further information is available."
}

Example response Http Code 503

{
  "status": "503",
  "title": "Service temporarily unavailable",
  "description": "The service is temporarily unavailable."
}

Example response Http Code default

{
  "status": "string",
  "title": "string",
  "description": "string"
}

Gets a list of all Personal Current Account objects.

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
200 OK Successful response with a list of Personal Current Account data
400 Bad Request You have sent a request which could not be understood.
408 Request Timeout Your client has failed to submit a request, and a timeout has occurred.
429 Too Many Requests You have requested this resource too often. Slow down.
500 Internal Server Error An error occurred on the server. No further information is available.
503 Service Unavailable The service is temporarily unavailable.
default Default A standard error response.

Response Headers

Status Header Type Format Description
200 Strict-Transport-Security string HTTPS strict transport security header
200 Etag string A unique ID identifying whether this resource has changed
200 Cache-Control string Describes how long this response can be cached
200 X-Frame-Options string Prevent this request from being loaded in any iframes
200 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Strict-Transport-Security string HTTPS strict transport security header
400 X-Frame-Options string Prevent this request from being loaded in any iframes
400 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Status Code integer The HTTP status code defining the error
408 Strict-Transport-Security string HTTPS strict transport security header
408 X-Frame-Options string Prevent this request from being loaded in any iframes
408 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
408 Status Code integer The HTTP status code defining the error
429 Strict-Transport-Security string HTTPS strict transport security header
429 X-Frame-Options string Prevent this request from being loaded in any iframes
429 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
429 Status Code integer The HTTP status code defining the error
500 Strict-Transport-Security string HTTPS strict transport security header
500 X-Frame-Options string Prevent this request from being loaded in any iframes
500 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
500 Status Code integer The HTTP status code defining the error
503 Strict-Transport-Security string HTTPS strict transport security header
503 X-Frame-Options string Prevent this request from being loaded in any iframes
503 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
503 Status Code integer The HTTP status code defining the error
default Strict-Transport-Security string HTTPS strict transport security header
default X-Frame-Options string Prevent this request from being loaded in any iframes
default X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
default Status Code integer The HTTP status code defining the error

HEAD /personal-current-accounts

Code samples

# You can also use wget
curl -X head https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

HEAD https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts',
  method: 'head',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts',
{
  method: 'HEAD',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.head 'https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.head('https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/personal-current-accounts");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("HEAD");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code default

{}

Gets header information on the current set of Personal Current Account data

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
default Default No response

BCA

Endpoint for getting Business Current Account data

GET /business-current-accounts

Code samples

# You can also use wget
curl -X get https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

GET https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts',
  method: 'get',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.get 'https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.get('https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code 200

{
  "meta": {
    "LastUpdated": "2017-04-28T20:36:22Z",
    "TotalResults": 0,
    "Agreement": "Use of the APIs and any related data will be subject to the terms of the Open Licence and subject to terms and conditions",
    "License": "https://openbanking.org.uk/open-licence",
    "TermsOfUse": "https://openbanking.org.uk/terms"
  },
  "data": [
    {
      "Organisation": {
        "ParentOrganisation": {
          "LEI": "string",
          "BIC": "string",
          "OrganisationName": {
            "LegalName": "string"
          }
        },
        "Brand": {
          "TrademarkIPOCode": "UK",
          "TrademarkID": "string"
        }
      },
      "ProductType": "BCA",
      "ProductName": "string",
      "ProductSegment": [
        "Basic"
      ],
      "InternationalPaymentsSupported": true,
      "ProductIdentifier": "string",
      "CardWithdrawalLimit": "string",
      "ProductDescription": "string",
      "TsandCs": [
        "string"
      ],
      "AccessChannels": [
        "ATM"
      ],
      "CardType": [
        "BasicCard"
      ],
      "Contactless": true,
      "MobileWallet": [
        "AndroidPay"
      ],
      "CardNotes": "string",
      "ChequeBookAvailable": true,
      "CreditScoringPartOfAccountOpeningForGettingAnAccount": true,
      "CreditScoringPartOfAccountOpeningIsAHardOrSoftCreditScore": [
        "Hard"
      ],
      "CreditScoringPartOfAccountOpeningText": "string",
      "CreditScoringPartOfAccountOpeningForIDVerification": true,
      "CreditScoringPartOfAccountOpeningIDVerificationIsAHardOrSoftCreditScore": [
        "Hard"
      ],
      "CreditScoringPartOfAccountOpeningIDVerificationText": [
        "string"
      ],
      "MaximumMonthlyCharge": "string",
      "ProductURL": [
        "http://example.com"
      ],
      "Currency": [
        "string"
      ],
      "OverdraftOffered": true,
      "Feature": [
        {
          "ExistingFeature": true,
          "ProductSubType": "FutureMultipleTerms",
          "StartPromotionOrFutureTerms": "string",
          "StopPromotionOrFutureTerms": "string",
          "LengthPromotionalInDays": 0,
          "DateOfChange": "string",
          "FeatureDetails": [
            {
              "FeatureSubType": "FutureMultipleTerms",
              "StartPromotionOrFutureTerms": "string",
              "StopPromotionOrFutureTerms": "string",
              "LengthPromotionalInDays": 0,
              "DateOfChange": "string",
              "FeatureType": "string",
              "FeatureName": "string",
              "FeatureDescription": "string",
              "FeatureValue": "string",
              "CriteriaType": "string"
            }
          ]
        }
      ],
      "CAPricing": [
        {
          "ProductSubType": "FutureMultipleTerms",
          "CAPricingItem": {
            "StartPromotionOrFutureTerms": "string",
            "StopPromotionOrFutureTerms": "string",
            "LengthPromotionalInDays": 0,
            "DateOfChange": "string",
            "ExchangeRateAdjustment": "string"
          }
        }
      ],
      "Eligibility": {
        "AgeRestricted": true,
        "MinimumAge": 0,
        "MaximumAge": 0,
        "MaximumAgeToOpen": 0,
        "OtherFinancialHoldingRequired": true,
        "Description": "string",
        "IncomeTurnoverRelated": true,
        "SingleJointIncome": "Joint",
        "MinimumIncomeTurnoverAmount": "string",
        "MinimumIncomeTurnoverCurrency": "string",
        "IncomeCondition": "string",
        "MinIncomeTurnoverPaidIntoAccount": 0,
        "MinimumIncomeFrequency": "AcademicTerm",
        "AnnualBusinessTurnover": "string",
        "AnnualBusinessTurnoverCurrency": "string",
        "ResidencyRestricted": true,
        "ResidencyRestrictedRegion": "UK",
        "MaxNumberOfAccounts": "string",
        "ThirdSectorOrganisations": true,
        "MinimumDeposit": true,
        "OpeningDepositMinimum": "string",
        "OpeningDepositMinimumCurrency": "string",
        "MinimumOperatingBalanceExists": true,
        "MinimumOperatingBalance": "string",
        "MinimumOperatingBalanceCurrency": "string",
        "MaximumOpeningAmount": true,
        "OpeningDepositMaximumAmount": "string",
        "OpeningDepositMaximumCurrency": "string",
        "EligibilityName": "string",
        "EligibilityType": "AnyBusinessCustomer",
        "EligibilityNotes": "string",
        "PreviousBankruptcy": true,
        "MarketingEligibility": [
          "ExistingCustomers"
        ]
      },
      "CreditInterest": {
        "CreditCharged": true,
        "CreditInterestGroup": [
          {
            "InterestTierSubType": "FutureMultipleTerms",
            "CreditInterestItem": {
              "StartPromotionOrFutureTerms": "string",
              "StopPromotionOrFutureTerms": "string",
              "LengthPromotionalInDays": 0,
              "DateOfChange": "string",
              "StartDate": "string",
              "EndDate": "string",
              "CalculationFrequency": "Month",
              "PaymentMethod": "Compound",
              "InterestRateType": "Fixed",
              "FixedInterestLength": 0,
              "CalculationMethod": "Banded",
              "InterestTiers": [
                {
                  "InterestTier": "string",
                  "TierValueMinimum": "string",
                  "DailyChargeForMinimum": "string",
                  "TierValueMaximum": "string",
                  "DailyChargeForMaximum": "string",
                  "Rate": "string",
                  "RateComparisonType": "APR",
                  "APRAERRate": "string"
                }
              ],
              "InterestNotes": "string"
            }
          }
        ]
      },
      "Overdraft": [
        {
          "InterestProductSubType": "FutureMultipleTerms",
          "StartPromotionOrFutureTerms": "string",
          "StopPromotionOrFutureTerms": "string",
          "LengthPromotionalInDays": 0,
          "DateOfChange": "string",
          "OverdraftPricing": {
            "ApplicableTo": {
              "InterestTierSME": "£5000",
              "InterestTierPersonal": "string"
            },
            "Tiers": [
              {
                "TierType": {
                  "ArrangedOverdraftInterestTier": "string",
                  "UnarrangedOverdraftInterestTier": "string"
                },
                "TierValueMinimum": "string",
                "TierValueMaximum": "string"
              }
            ],
            "InterestRateEARpa": "string",
            "RepresentativeRate": "string",
            "InterestNotes": "string",
            "TotalOverdraftChargeAmount": "Banded",
            "MinUnarrangedOverdraftAmount": "string",
            "InterestRate": "string",
            "InterestRateCalculationFrequency": "Annual",
            "InterestApplicationFrequency": "Annual",
            "DailyCharge": "string",
            "MonthlyCharge": "string",
            "ItemCharge": "string",
            "OtherCharge": "string",
            "OverdraftNotes": "string",
            "RatesAreNegotiable": "No",
            "IndicativeRate": "string",
            "BufferAmount": "string"
          },
          "MaximumMonthlyOverdraftCharge": "string",
          "MaximumDailyOverdraftCharge": "string",
          "OverdraftType": "Committed",
          "Term": "string",
          "SetUpFeesAmount": "string",
          "SetUpFeesRate": "string",
          "ReviewFee": "string",
          "MinimumFee": "string",
          "AnnualRenewalRate": "string",
          "AnnualRenewalFee": "string",
          "MinimumSetupFee": "string",
          "RenewalRate": "string",
          "MinimumRenewalFee": "string"
        }
      ],
      "FeesAndCharges": [
        {
          "ProductSubType": "FutureMultipleTerms",
          "Fees": {
            "StartPromotionOrFutureTerms": "string",
            "StopPromotionOrFutureTerms": "string",
            "LengthPromotionalInDays": 0,
            "DateOfChange": "string",
            "FeeLowerTier": 0,
            "FeeHigherTier": 0,
            "FeeDetails": [
              {
                "FeeSubType": "FutureMultipleTerms",
                "FeeDetail": {
                  "FeeType": "ATMDonation",
                  "Other": "string",
                  "StartPromotionOrFutureTerms": "string",
                  "StopPromotionOrFutureTerms": "string",
                  "LengthPromotionalInDays": 0,
                  "DateOfChange": "string",
                  "FeeSubDetails": {
                    "FeeFrequency": "AcademicTerm",
                    "FeeAmount": "string",
                    "FeeMin": "string",
                    "FeeMax": "string",
                    "FeeRate": "string",
                    "Negotiable": true,
                    "RepresentativeRate": "string",
                    "FeeLowerTier": 0,
                    "FeeHigherTier": 0,
                    "FeesAndChargesNotes": "string"
                  }
                }
              }
            ]
          }
        }
      ],
      "Benefits": {
        "Benefit": true,
        "BenefitGroup": [
          {
            "BenefitSubType": "FutureMultipleTerms",
            "BenefitItem": {
              "StartPromotionOrFutureTerms": "string",
              "StopPromotionOrFutureTerms": "string",
              "LengthPromotionalInDays": 0,
              "DateOfChange": "string",
              "BenefitDetail": [
                {
                  "BenefitType": "string",
                  "BenefitName": "string",
                  "BenefitValue": "string",
                  "DefaultToAccounts": true,
                  "BenefitID": "string",
                  "CriteriaType": [
                    "CashDeposit"
                  ],
                  "MinimumCriteria": "string",
                  "MaximumCriteria": "string",
                  "Counter": 0,
                  "BenefitDescription": "string",
                  "PromotionStartDate": "string",
                  "PromotionEndDate": "string"
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

Example response Http Code 400

{
  "status": "400",
  "title": "Bad request",
  "description": "You have sent a request which could not be understood."
}

Example response Http Code 408

{
  "status": "408",
  "title": "Client timeout",
  "description": "Your client has failed to submit a request, and a timeout has occurred."
}

Example response Http Code 429

{
  "status": "429",
  "title": "Too many requests",
  "description": "You have requested this resource too often. Slow down."
}

Example response Http Code 500

{
  "status": "500",
  "title": "Internal server error",
  "description": "An error occurred on the server. No further information is available."
}

Example response Http Code 503

{
  "status": "503",
  "title": "Service temporarily unavailable",
  "description": "The service is temporarily unavailable."
}

Example response Http Code default

{
  "status": "string",
  "title": "string",
  "description": "string"
}

Gets a list of all Branch Current Account objects.

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
200 OK Successful response with a list of Branch Current Account data
400 Bad Request You have sent a request which could not be understood.
408 Request Timeout Your client has failed to submit a request, and a timeout has occurred.
429 Too Many Requests You have requested this resource too often. Slow down.
500 Internal Server Error An error occurred on the server. No further information is available.
503 Service Unavailable The service is temporarily unavailable.
default Default A standard error response.

Response Headers

Status Header Type Format Description
200 Strict-Transport-Security string HTTPS strict transport security header
200 Etag string A unique ID identifying whether this resource has changed
200 Cache-Control string Describes how long this response can be cached
200 X-Frame-Options string Prevent this request from being loaded in any iframes
200 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Strict-Transport-Security string HTTPS strict transport security header
400 X-Frame-Options string Prevent this request from being loaded in any iframes
400 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Status Code integer The HTTP status code defining the error
408 Strict-Transport-Security string HTTPS strict transport security header
408 X-Frame-Options string Prevent this request from being loaded in any iframes
408 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
408 Status Code integer The HTTP status code defining the error
429 Strict-Transport-Security string HTTPS strict transport security header
429 X-Frame-Options string Prevent this request from being loaded in any iframes
429 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
429 Status Code integer The HTTP status code defining the error
500 Strict-Transport-Security string HTTPS strict transport security header
500 X-Frame-Options string Prevent this request from being loaded in any iframes
500 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
500 Status Code integer The HTTP status code defining the error
503 Strict-Transport-Security string HTTPS strict transport security header
503 X-Frame-Options string Prevent this request from being loaded in any iframes
503 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
503 Status Code integer The HTTP status code defining the error
default Strict-Transport-Security string HTTPS strict transport security header
default X-Frame-Options string Prevent this request from being loaded in any iframes
default X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
default Status Code integer The HTTP status code defining the error

HEAD /business-current-accounts

Code samples

# You can also use wget
curl -X head https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

HEAD https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts',
  method: 'head',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts',
{
  method: 'HEAD',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.head 'https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.head('https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/business-current-accounts");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("HEAD");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code default

{}

Gets header information on the current set of Business Current Account data

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
default Default No response

SME

Endpoint for getting Unsecured SME Loan data

GET /unsecured-sme-loans

Code samples

# You can also use wget
curl -X get https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

GET https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans',
  method: 'get',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.get 'https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.get('https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code 200

{
  "meta": {
    "LastUpdated": "2017-04-28T20:36:22Z",
    "TotalResults": 0,
    "Agreement": "Use of the APIs and any related data will be subject to the terms of the Open Licence and subject to terms and conditions",
    "License": "https://openbanking.org.uk/open-licence",
    "TermsOfUse": "https://openbanking.org.uk/terms"
  },
  "data": [
    {
      "Organisation": {
        "ParentOrganisation": {
          "LEI": "string",
          "BIC": "string",
          "OrganisationName": {
            "LegalName": "string"
          }
        },
        "Brand": {
          "TrademarkIPOCode": "UK",
          "TrademarkID": "string"
        }
      },
      "ProductName": "string",
      "ProductIdentifier": "string",
      "ArrearsTreatment": "string",
      "ProductTypeName": "FlexibleBusinessLoan",
      "ProductURL": [
        "http://example.com"
      ],
      "ProductSegment": [
        "AgricultureSector"
      ],
      "ProductDescription": "string",
      "TsandCs": [
        "string"
      ],
      "CustomerAccessChannels": [
        "Branch"
      ],
      "Currency": [
        "string"
      ],
      "MinimumLoanTerm": 0,
      "MaximumLoanTerm": 0,
      "MinimumLoanAmount": "string",
      "MaximumLoanAmount": "string",
      "PaymentHoliday": true,
      "LoanItem": [
        {
          "ProductSubType": "FutureMultipleTerms",
          "StartPromotionOrFutureTerms": "string",
          "StopPromotionOrFutureTerms": "string",
          "LengthPromotionalInDays": 0,
          "DateOfChange": "string",
          "LoanPricing": [
            {
              "SizeIncrement": "£5000",
              "LoanLengthIncrement": "1 year",
              "RepaymentFrequency": [
                "Daily"
              ],
              "LoanSizeBandLower": "string",
              "LoanSizeBandUpper": "string",
              "LoanLengthIncrementLower": 0,
              "LoanLengthIncrementUpper": 0,
              "IndicativeRate": "string",
              "RateComparisonType": "APR",
              "Negotiable": true
            }
          ],
          "CCARegulatedEntity": true,
          "IsALowInterestRepaymentStartPossible": true,
          "IsThisAnInterestOnlyLoan": true,
          "WillTheLoanBePaidInTrancheDrawdowns": true
        }
      ],
      "Eligibility": {
        "AgeRestricted": true,
        "MinimumAge": 0,
        "MaximumAge": 0,
        "MaximumAgeToOpen": 0,
        "OtherFinancialHoldingRequired": true,
        "Description": "string",
        "IncomeTurnoverRelated": true,
        "SingleJointIncome": "Joint",
        "MinimumIncomeTurnoverAmount": "string",
        "MinimumIncomeTurnoverCurrency": "string",
        "IncomeCondition": "string",
        "MinIncomeTurnoverPaidIntoAccount": 0,
        "MinimumIncomeFrequency": "AcademicTerm",
        "AnnualBusinessTurnover": "string",
        "AnnualBusinessTurnoverCurrency": "string",
        "ResidencyRestricted": true,
        "ResidencyRestrictedRegion": "UK",
        "MaxNumberOfAccounts": "string",
        "ThirdSectorOrganisations": true,
        "MinimumDeposit": true,
        "OpeningDepositMinimum": "string",
        "OpeningDepositMinimumCurrency": "string",
        "MinimumOperatingBalanceExists": true,
        "MinimumOperatingBalance": "string",
        "MinimumOperatingBalanceCurrency": "string",
        "MaximumOpeningAmount": true,
        "OpeningDepositMaximumAmount": "string",
        "OpeningDepositMaximumCurrency": "string",
        "EligibilityName": "string",
        "EligibilityType": "AnyBusinessCustomer",
        "EligibilityNotes": "string",
        "PreviousBankruptcy": true,
        "MarketingEligibility": [
          "ExistingCustomers"
        ]
      },
      "FeesAndCharges": [
        {
          "ProductSubType": "FutureMultipleTerms",
          "Fees": {
            "StartPromotionOrFutureTerms": "string",
            "StopPromotionOrFutureTerms": "string",
            "LengthPromotionalInDays": 0,
            "DateOfChange": "string",
            "FeeLowerTier": 0,
            "FeeHigherTier": 0,
            "FeeDetails": [
              {
                "FeeSubType": "FutureMultipleTerms",
                "FeeDetail": {
                  "FeeType": "ATMDonation",
                  "Other": "string",
                  "StartPromotionOrFutureTerms": "string",
                  "StopPromotionOrFutureTerms": "string",
                  "LengthPromotionalInDays": 0,
                  "DateOfChange": "string",
                  "FeeSubDetails": {
                    "FeeFrequency": "AcademicTerm",
                    "FeeAmount": "string",
                    "FeeMin": "string",
                    "FeeMax": "string",
                    "FeeRate": "string",
                    "Negotiable": true,
                    "RepresentativeRate": "string",
                    "FeeLowerTier": 0,
                    "FeeHigherTier": 0,
                    "FeesAndChargesNotes": "string"
                  }
                }
              }
            ]
          }
        }
      ],
      "Benefits": {
        "Benefit": true,
        "BenefitGroup": [
          {
            "BenefitSubType": "FutureMultipleTerms",
            "BenefitItem": {
              "StartPromotionOrFutureTerms": "string",
              "StopPromotionOrFutureTerms": "string",
              "LengthPromotionalInDays": 0,
              "DateOfChange": "string",
              "BenefitDetail": [
                {
                  "BenefitType": "string",
                  "BenefitName": "string",
                  "BenefitValue": "string",
                  "DefaultToAccounts": true,
                  "BenefitID": "string",
                  "CriteriaType": [
                    "CashDeposit"
                  ],
                  "MinimumCriteria": "string",
                  "MaximumCriteria": "string",
                  "Counter": 0,
                  "BenefitDescription": "string",
                  "PromotionStartDate": "string",
                  "PromotionEndDate": "string"
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

Example response Http Code 400

{
  "status": "400",
  "title": "Bad request",
  "description": "You have sent a request which could not be understood."
}

Example response Http Code 408

{
  "status": "408",
  "title": "Client timeout",
  "description": "Your client has failed to submit a request, and a timeout has occurred."
}

Example response Http Code 429

{
  "status": "429",
  "title": "Too many requests",
  "description": "You have requested this resource too often. Slow down."
}

Example response Http Code 500

{
  "status": "500",
  "title": "Internal server error",
  "description": "An error occurred on the server. No further information is available."
}

Example response Http Code 503

{
  "status": "503",
  "title": "Service temporarily unavailable",
  "description": "The service is temporarily unavailable."
}

Example response Http Code default

{
  "status": "string",
  "title": "string",
  "description": "string"
}

Gets a list of all Unsercured SME Lending objects.

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
200 OK Successful response with a list of Unsecured SME Lending data
400 Bad Request You have sent a request which could not be understood.
408 Request Timeout Your client has failed to submit a request, and a timeout has occurred.
429 Too Many Requests You have requested this resource too often. Slow down.
500 Internal Server Error An error occurred on the server. No further information is available.
503 Service Unavailable The service is temporarily unavailable.
default Default A standard error response.

Response Headers

Status Header Type Format Description
200 Strict-Transport-Security string HTTPS strict transport security header
200 Etag string A unique ID identifying whether this resource has changed
200 Cache-Control string Describes how long this response can be cached
200 X-Frame-Options string Prevent this request from being loaded in any iframes
200 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Strict-Transport-Security string HTTPS strict transport security header
400 X-Frame-Options string Prevent this request from being loaded in any iframes
400 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Status Code integer The HTTP status code defining the error
408 Strict-Transport-Security string HTTPS strict transport security header
408 X-Frame-Options string Prevent this request from being loaded in any iframes
408 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
408 Status Code integer The HTTP status code defining the error
429 Strict-Transport-Security string HTTPS strict transport security header
429 X-Frame-Options string Prevent this request from being loaded in any iframes
429 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
429 Status Code integer The HTTP status code defining the error
500 Strict-Transport-Security string HTTPS strict transport security header
500 X-Frame-Options string Prevent this request from being loaded in any iframes
500 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
500 Status Code integer The HTTP status code defining the error
503 Strict-Transport-Security string HTTPS strict transport security header
503 X-Frame-Options string Prevent this request from being loaded in any iframes
503 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
503 Status Code integer The HTTP status code defining the error
default Strict-Transport-Security string HTTPS strict transport security header
default X-Frame-Options string Prevent this request from being loaded in any iframes
default X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
default Status Code integer The HTTP status code defining the error

HEAD /unsecured-sme-loans

Code samples

# You can also use wget
curl -X head https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

HEAD https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans',
  method: 'head',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans',
{
  method: 'HEAD',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.head 'https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.head('https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/unsecured-sme-loans");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("HEAD");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code default

{}

Gets header information on the current set of Unsercured SME Lending data

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
default Default No response

CCC

Endpoint for getting Commercial Credit Card data

GET /commercial-credit-cards

Code samples

# You can also use wget
curl -X get https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

GET https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards',
  method: 'get',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards',
{
  method: 'GET',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.get 'https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.get('https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("GET");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code 200

{
  "meta": {
    "LastUpdated": "2017-04-28T20:36:22Z",
    "TotalResults": 0,
    "Agreement": "Use of the APIs and any related data will be subject to the terms of the Open Licence and subject to terms and conditions",
    "License": "https://openbanking.org.uk/open-licence",
    "TermsOfUse": "https://openbanking.org.uk/terms"
  },
  "data": [
    {
      "Organisation": {
        "ParentOrganisation": {
          "LEI": "string",
          "BIC": "string",
          "OrganisationName": {
            "LegalName": "string"
          }
        },
        "Brand": {
          "TrademarkIPOCode": "UK",
          "TrademarkID": "string"
        }
      },
      "ProductName": "string",
      "ProductType": "CommercialCreditCards",
      "ProductSegment": [
        "Cashback"
      ],
      "ProductIdentifier": "string",
      "ProductURL": [
        "http://example.com"
      ],
      "Description": "string",
      "KeyFeatures": "string",
      "PaymentHoliday": true,
      "PaymentHolidayDescription": "string",
      "OtherKeyFeatures": "string",
      "TsandCs": [
        "string"
      ],
      "Details": {
        "CCSubType": "FutureMultipleTerms",
        "CommercialCreditCardItem": {
          "StartPromotionOrFutureTerms": "string",
          "StopPromotionOrFutureTerms": "string",
          "LengthPromotionalInDays": 0,
          "DateOfChange": "string",
          "MinimumCreditLimit": "string",
          "RepaymentFrequency": "Daily",
          "APRRate": "string",
          "BalanceTransferInterestRatePeriod": "Annual",
          "PurchaseRate": "string",
          "BalanceTransferRate": "string",
          "CashAdvanceRate": "string",
          "OverLimitFee": "string",
          "MaximumNumberOfCardsPermitted": 0,
          "CardScheme": "Cashcard",
          "AbilityToSetIndividualLimits": true,
          "AccessToOnlineDataReportingTool": true,
          "CashWithdrawalsAllowed": true,
          "ConvenienceCheque": true,
          "DaysInterestFreeCreditIfPaymentFull": 0,
          "AnnualAccountFeeType": "string",
          "IssuingEmergencyCardsFees": "string",
          "AnnualFeeAmount": "string",
          "ChequeFeePercent": "string",
          "CashbackPercent": "string",
          "FeesOnCheque": "string",
          "MinimumRepaymentPercentage": "string",
          "MinimumRepaymentAmount": "string",
          "PaymentDaysAfterStatement": 0,
          "AllocationofRepayment": "string",
          "RepaymentNotes": "string",
          "MinimumLendingAmount": "string",
          "StatementAtAccountLevel": true,
          "StatementAtPersonalLevel": true,
          "PaymentSchemeExchangeRate": "string",
          "ExchangeRateAdjustment": "string",
          "PaymentSchemeExchangeFee": "string",
          "PaymentSchemeExchangeFeeRate": "string",
          "NonSterlingTransactionFee": "string",
          "NonSterlingTransactionFeeRate": "string",
          "NonSterlingPurchaseFee": "string",
          "NonSterlingPurchaseFeeRate": "string",
          "NonSterlingCashFee": "string",
          "NonSterlingCashFeeRate": "string",
          "ForeignPurchaseFee": "string",
          "ForeignPurchaseFeeRate": "string",
          "ForeignCashFee": "string",
          "ForeignCashFeeRate": "string"
        }
      },
      "Eligibility": {
        "AgeRestricted": true,
        "MinimumAge": 0,
        "MaximumAge": 0,
        "MaximumAgeToOpen": 0,
        "OtherFinancialHoldingRequired": true,
        "Description": "string",
        "IncomeTurnoverRelated": true,
        "SingleJointIncome": "Joint",
        "MinimumIncomeTurnoverAmount": "string",
        "MinimumIncomeTurnoverCurrency": "string",
        "IncomeCondition": "string",
        "MinIncomeTurnoverPaidIntoAccount": 0,
        "MinimumIncomeFrequency": "AcademicTerm",
        "AnnualBusinessTurnover": "string",
        "AnnualBusinessTurnoverCurrency": "string",
        "ResidencyRestricted": true,
        "ResidencyRestrictedRegion": "UK",
        "MaxNumberOfAccounts": "string",
        "ThirdSectorOrganisations": true,
        "MinimumDeposit": true,
        "OpeningDepositMinimum": "string",
        "OpeningDepositMinimumCurrency": "string",
        "MinimumOperatingBalanceExists": true,
        "MinimumOperatingBalance": "string",
        "MinimumOperatingBalanceCurrency": "string",
        "MaximumOpeningAmount": true,
        "OpeningDepositMaximumAmount": "string",
        "OpeningDepositMaximumCurrency": "string",
        "EligibilityName": "string",
        "EligibilityType": "AnyBusinessCustomer",
        "EligibilityNotes": "string",
        "PreviousBankruptcy": true,
        "MarketingEligibility": [
          "ExistingCustomers"
        ]
      },
      "Benefits": {
        "Benefit": true,
        "BenefitGroup": [
          {
            "BenefitSubType": "FutureMultipleTerms",
            "BenefitItem": {
              "StartPromotionOrFutureTerms": "string",
              "StopPromotionOrFutureTerms": "string",
              "LengthPromotionalInDays": 0,
              "DateOfChange": "string",
              "BenefitDetail": [
                {
                  "BenefitType": "string",
                  "BenefitName": "string",
                  "BenefitValue": "string",
                  "DefaultToAccounts": true,
                  "BenefitID": "string",
                  "CriteriaType": [
                    "CashDeposit"
                  ],
                  "MinimumCriteria": "string",
                  "MaximumCriteria": "string",
                  "Counter": 0,
                  "BenefitDescription": "string",
                  "PromotionStartDate": "string",
                  "PromotionEndDate": "string"
                }
              ]
            }
          }
        ]
      }
    }
  ]
}

Example response Http Code 400

{
  "status": "400",
  "title": "Bad request",
  "description": "You have sent a request which could not be understood."
}

Example response Http Code 408

{
  "status": "408",
  "title": "Client timeout",
  "description": "Your client has failed to submit a request, and a timeout has occurred."
}

Example response Http Code 429

{
  "status": "429",
  "title": "Too many requests",
  "description": "You have requested this resource too often. Slow down."
}

Example response Http Code 500

{
  "status": "500",
  "title": "Internal server error",
  "description": "An error occurred on the server. No further information is available."
}

Example response Http Code 503

{
  "status": "503",
  "title": "Service temporarily unavailable",
  "description": "The service is temporarily unavailable."
}

Example response Http Code default

{
  "status": "string",
  "title": "string",
  "description": "string"
}

Gets a list of all Commerical Credit Card objects.

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
200 OK Successful response with a list of Commercial Credit Card data
400 Bad Request You have sent a request which could not be understood.
408 Request Timeout Your client has failed to submit a request, and a timeout has occurred.
429 Too Many Requests You have requested this resource too often. Slow down.
500 Internal Server Error An error occurred on the server. No further information is available.
503 Service Unavailable The service is temporarily unavailable.
default Default A standard error response.

Response Headers

Status Header Type Format Description
200 Strict-Transport-Security string HTTPS strict transport security header
200 Etag string A unique ID identifying whether this resource has changed
200 Cache-Control string Describes how long this response can be cached
200 X-Frame-Options string Prevent this request from being loaded in any iframes
200 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Strict-Transport-Security string HTTPS strict transport security header
400 X-Frame-Options string Prevent this request from being loaded in any iframes
400 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
400 Status Code integer The HTTP status code defining the error
408 Strict-Transport-Security string HTTPS strict transport security header
408 X-Frame-Options string Prevent this request from being loaded in any iframes
408 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
408 Status Code integer The HTTP status code defining the error
429 Strict-Transport-Security string HTTPS strict transport security header
429 X-Frame-Options string Prevent this request from being loaded in any iframes
429 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
429 Status Code integer The HTTP status code defining the error
500 Strict-Transport-Security string HTTPS strict transport security header
500 X-Frame-Options string Prevent this request from being loaded in any iframes
500 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
500 Status Code integer The HTTP status code defining the error
503 Strict-Transport-Security string HTTPS strict transport security header
503 X-Frame-Options string Prevent this request from being loaded in any iframes
503 X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
503 Status Code integer The HTTP status code defining the error
default Strict-Transport-Security string HTTPS strict transport security header
default X-Frame-Options string Prevent this request from being loaded in any iframes
default X-Content-Type-Options string Ensures each page has a content type and prevents browsers from doing MIME type sniffing
default Status Code integer The HTTP status code defining the error

HEAD /commercial-credit-cards

Code samples

# You can also use wget
curl -X head https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards \
  -H 'If-Modified-Since: string' \
  -H 'If-None-Match: string' \
  -H 'Accept: application/prs.openbanking.opendata.v1.2+json' \
  -H 'Content-Type: application/prs.openbanking.opendata.v1.2+json'

HEAD https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards HTTP/1.1
Host: api.openbanking.xyz
Content-Type: application/prs.openbanking.opendata.v1.2+json
Accept: application/prs.openbanking.opendata.v1.2+json
If-Modified-Since: string
If-None-Match: string

var headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

$.ajax({
  url: 'https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards',
  method: 'head',

  headers: headers,
  success: function(data) {
    console.log(JSON.stringify(data));
  }
})
const request = require('node-fetch');

const headers = {
  'If-Modified-Since':'string',
  'If-None-Match':'string',
  'Accept':'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type':'application/prs.openbanking.opendata.v1.2+json'

};

fetch('https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards',
{
  method: 'HEAD',

  headers: headers
})
.then(function(res) {
    return res.json();
}).then(function(body) {
    console.log(body);
});
require 'rest-client'
require 'json'

headers = {
  'If-Modified-Since' => 'string',
  'If-None-Match' => 'string',
  'Accept' => 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type' => 'application/prs.openbanking.opendata.v1.2+json'
}

result = RestClient.head 'https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards', params: {
  }, headers: headers

p JSON.parse(result)
import requests
headers = {
  'If-Modified-Since': 'string',
  'If-None-Match': 'string',
  'Accept': 'application/prs.openbanking.opendata.v1.2+json',
  'Content-Type': 'application/prs.openbanking.opendata.v1.2+json'
}

r = requests.head('https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards', params={

}, headers = headers)

print r.json()
URL obj = new URL("https://obp-api.danskebank.com/open-banking/v1.2/commercial-credit-cards");
HttpURLConnection con = (HttpURLConnection) obj.openConnection();
con.setRequestMethod("HEAD");
int responseCode = con.getResponseCode();
BufferedReader in = new BufferedReader(
    new InputStreamReader(con.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
    response.append(inputLine);
}
in.close();
System.out.println(response.toString());

Example response Http Code default

{}

Gets header information on the current set of Commerical Credit Card data

Parameters

Parameter In Type Required Description
If-Modified-Since header string false Used for conditional request, to retrieve data only if modified since a given date
If-None-Match header string false Used for conditional request, to retrieve data only if the given Etag value does not match

Responses

Status Meaning Description
default Default No response