Products API Reference
Returns Products available within the context of the role of the access-token provided
GET /products/ HTTP/1.1
Host: api.sandbox.flagstoneim.com
cdpapi-Subscription-Key: YOUR_API_KEY
Accept: */*
{
"productItems": [
{
"productId": "1",
"productTermType": "FixedTerm",
"termLengthUnit": "Month",
"termLength": 1,
"noticeLengthUnit": "NoNotice",
"noticeLength": 0,
"productIssues": [
{
"productIssueNumber": 1,
"productIssueVersionNumber": 1,
"isClosedToNewAccounts": false,
"ratePercent": 2.5,
"depositPerAccountMinimum": 1000,
"depositPerAccountMaximum": 10000,
"aer": 2.9,
"documents": [
{
"documentId": "2",
"documentVersion": 2,
"documentType": "FlagstoneTerms",
"contentTypes": [
"text/html"
],
"uri": "api.flagstoneim.com/products/6/issue/1/version/1/document/FlagstoneTerms"
}
]
}
],
"financialInstitution": {
"financialInstitutionId": "2",
"financialInstitutionVersion": 1,
"paymentBatchCutoffTimeUTC": "2023-12-18",
"isFscsProtected": false,
"isSharia": false,
"financialInstitutionName": "Aldmore Bank",
"financialInstitutionShortName": "ALD",
"financialInstitutionType": "Bank",
"ginancialInstitutionGroupId": "2",
"countryCode": "GBR",
"documents": []
},
"currencyCode": "GBP",
"interestPaidType": "AtMaturity",
"interestPaysPlan": "NoPaysPlan",
"interestPaysFrequency": "Month",
"interestPaysSpecificDates": [],
"dateLastUpdatedUTC": "2022-01-02T14:50:09.0000000+00:00"
},
{
"productId": "2",
"productTermType": "InstantAccess",
"termLengthUnit": "NoTerm",
"termLength": 0,
"noticeLengthUnit": "NoNotice",
"noticeLength": 0,
"productIssues": [
{
"productIssueNumber": 1,
"productIssueVersionNumber": 3,
"isClosedToNewAccounts": false,
"ratePercent": 0.7,
"aer": 0.5,
"depositPerAccountMinimum": 0,
"depositPerAccountMaximum": 85000,
"documents": [
{
"documentId": "2",
"documentVersion": 2,
"documentType": "FlagstoneTerms",
"contentTypes": [
"text/html"
],
"uri": "api.flagstoneim.com/products/7/issue/1/version/3/document/FlagstoneTerms"
}
]
},
{
"productIssueNumber": 2,
"productIssueVersionNumber": 2,
"isClosedToNewAccounts": true,
"ratePercent": 0.65,
"aer": 0.6,
"depositPerAccountMinimum": 0,
"depositPerAccountMaximum": 85000,
"documents": []
}
],
"financialInstitution": {
"financialInstitutionId": "3",
"financialInstitutionVersion": 1,
"paymentBatchCutoffTimeUTC": "2023-12-18",
"isFscsProtected": false,
"isSharia": false,
"financialInstitutionName": "Investec",
"financialInstitutionShortName": "INV",
"financialInstitutionType": "Bank",
"ginancialInstitutionGroupId": "3",
"countryCode": "GBR",
"documents": []
},
"currencyCode": "GBP",
"interestPaidType": "Daily",
"interestPaysPlan": "NoPaysPlan",
"interestPaysFrequency": "Daily",
"interestPaysSpecificDates": [],
"dateLastUpdatedUTC": "2022-02-02T15:28:01.0000000+00:00"
}
]
}Returns the full detail of a Product
The unique identifier of the Product
The detail of the Product
Unique identifier for the Product
Term type of the Product can be FixedTermDeposit, InstantAccess or Notice
Term length unit can be Day, Month, Year, NoTerm. (NOTE: NoTerm valid for InstantAccess productTermType only)
Term length in the unit of termLengthType. (Note: Only set for FixedTermDeposit productTermType)
Notice length unit can be Day, Month, Year, NoNotice. (NOTE: NoNotice valid for FixedTermDeposit and InstantAccess productTermTypes)
Three-letter code for the Currency of the Product (ISO-4217)
Interest paid type
Interest pays plan
Interest pays frequency
Interest specific pay days
Product not found
GET /products/{productId} HTTP/1.1
Host: api.sandbox.flagstoneim.com
cdpapi-Subscription-Key: YOUR_API_KEY
Accept: */*
{
"productId": "1",
"productTermType": "FixedTerm",
"termLengthUnit": "Month",
"termLength": 1,
"noticeLengthUnit": "NoNotice",
"noticeLength": 0,
"productIssues": [
{
"productIssueNumber": 1,
"productIssueVersionNumber": 1,
"isClosedToNewAccounts": false,
"ratePercent": 2.5,
"depositPerAccountMinimum": 1000,
"depositPerAccountMaximum": 10000,
"aer": 2.9,
"documents": [
{
"documentId": "2",
"documentVersion": 2,
"documentType": "FlagstoneTerms",
"contentTypes": [
"text/html"
],
"uri": "localhost:5001/products/6/issue/1/version/1/document/FlagstoneTerms"
}
]
}
],
"financialInstitution": {
"financialInstitutionId": "2",
"financialInstitutionVersion": 1,
"paymentBatchCutoffTimeUTC": "2023-12-18",
"isFscsProtected": false,
"isSharia": false,
"financialInstitutionName": "Aldmore Bank",
"financialInstitutionShortName": "ALD",
"financialInstitutionType": "Bank",
"ginancialInstitutionGroupId": "2",
"countryCode": "GBR",
"documents": []
},
"currencyCode": "GBP",
"interestPaidType": "AtMaturity",
"interestPaysPlan": "NoPaysPlan",
"interestPaysFrequency": "Daily",
"interestPaysSpecificDates": [],
"dateLastUpdatedUTC": "2022-01-02T14:50:09.0000000+00:00"
}The Id of the Product.
The Product Issue number.
The proposed deposit amount to use for the summary information.
GET /products/{productId}/{issueNumber}/summary HTTP/1.1
Host: api.sandbox.flagstoneim.com
cdpapi-Subscription-Key: YOUR_API_KEY
Accept: */*
{
"productId": 11,
"productIssueNumber": 1,
"netRate": 0.55,
"estimatedBalance": 10055,
"dateOfAccountOpen": "2021-10-18T00:00:00.0000000+00:00",
"termsAndConditionsUrl": "https://localhost:5001/products/11/issue/1/version/1/document/FlagstoneTerms"
}Returns the content of the document type for the Product
The unique identifier of the Product
The number of the Issue of the Product
A version number of the Product Issue
The type of Document to return.
Desired content type of the document to be returned
application/pdfPossible values: File stream to download the file
Unknown Document Type
Product not found
GET /products/{productId}/issue/{productIssueNumber}/version/{productIssueVersionNumber}/document/{documentType} HTTP/1.1
Host: api.sandbox.flagstoneim.com
cdpapi-Subscription-Key: YOUR_API_KEY
Accept: */*
Last updated