Skip to content

Commit

Permalink
Add American Express
Browse files Browse the repository at this point in the history
  • Loading branch information
Gdewilde committed Sep 11, 2019
1 parent b2a9254 commit 79e5239
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 18 deletions.
84 changes: 84 additions & 0 deletions data/americanexpress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"id": "americanexpress",
"type": [
"account"
],
"name": "American Express",
"description": "American Express offers world-class Charge and Credit Cards, Gift Cards, Rewards, Travel, Personal Savings, Business Services, Insurance and more.",
"legalName": "American Express Company",
"ipoStatus": "private",
"stockSymbol": "NYSE:APX",
"verified": false,
"status": "live",
"iconUrl": "https://res.cloudinary.com/apideck/image/upload/v1567984796/radar/icons/americanexpress.jpg",
"website": "https://americanexpress.com",
"ownership": [],
"stateOwned": false,
"countryHQ": "US",
"countries": [
"US",
"CH",
"AU",
"SG",
"AT",
"BE",
"BG",
"HR",
"CY",
"CZ",
"DK",
"EE",
"FI",
"FR",
"DE",
"GR",
"HU",
"IS",
"IE",
"IT",
"LV",
"LI",
"LT",
"LU",
"MT",
"NL",
"NO",
"PL",
"PT",
"RO",
"SK",
"SI",
"ES",
"SE",
"GB"
],
"compliance": [],
"developerPortalUrl": "https://developer.americanexpress.com/products",
"developerCommunityUrl": null,
"openBankProjectUrl": null,
"slackCommunity": false,
"apiAuth": [],
"apiReferenceUrl": "https://developer.americanexpress.com/documentation",
"apiProducts": [
{
"label": "Account Information",
"type": "accountInformation",
"categories": [
"accounts"
],
"description": "Account Financials PSD2 is a suite of APIs that provides customer-authorized, account-specific data for all American Express® proprietary Card products including Personal, Small Business and Corporate Cards for parties certified under the Payment Service Directive 2 (PSD2) legislation.",
"documentationUrl": "https://developer.americanexpress.com/products/account-financials-psd2/overview",
"apiReferenceUrl": null,
"premium": false,
"stage": "upcoming"
}
],
"apiStandards": [],
"webApplication": true,
"mobileApps": [],
"investorRelationsUrl": "https://ir.americanexpress.com/?inav=footer_about_investor_relations",
"financialReports": [],
"twitter": "https://twitter.com/askamex",
"bloomberg": null,
"github": ""
}
3 changes: 2 additions & 1 deletion data/revolut.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"apiProducts": [],
"apiStandards": [],
"apiAggregators": [
"salt-edge"
"salt-edge",
"tink"
],
"webApplication": false,
"mobileApps": [
Expand Down
16 changes: 3 additions & 13 deletions data/yolt.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "yolt",
"type": ["account"],
"bankType": ["challenger"],
"type": ["third-party"],
"name": "yolt",
"legalName": "yolt",
"ipoStatus": "private",
Expand All @@ -19,17 +18,8 @@
],
"stateOwned": false,
"countryHQ": "NL",
"countries": ["GB","EU"],
"compliance": [
{
"regulation": "PSD2",
"status": "inProgress"
},
{
"regulation": "OB",
"status": "inProgress"
}
],
"countries": ["GB","FR","IT"],
"compliance": [],
"sandbox": {
"status": "available"
},
Expand Down
10 changes: 6 additions & 4 deletions scripts/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ function asyncFunction (file, cb) {

let requests = getFiles('data').map((fileName) => {
return new Promise((resolve) => {
asyncFunction(fileName, resolve)
const ext = fileName.split('.').pop()
if (ext !== 'json') {
throw `"${ext}" must be saved with a JSON extension`
if (fileName !== 'data/.DS_Store') {
asyncFunction(fileName, resolve)
const ext = fileName.split('.').pop()
if (ext !== 'json') {
throw `"${ext}" must be saved with a JSON extension`
}
}
})
})
Expand Down

0 comments on commit 79e5239

Please sign in to comment.