{"swagger":"2.0","info":{"title":"Open Bank Project API","description":"An Open Source API for Banks. (c) TESOBE GmbH. 2011 - 2024. Licensed under the AGPL and commercial licences.","contact":{"name":"TESOBE GmbH. / Open Bank Project","url":"https://openbankproject.com","email":"contact@tesobe.com"},"version":"v5.0.0"},"host":"apisandbox.openbankproject.com","basePath":"/","schemes":["http","https"],"securityDefinitions":{"directLogin":{"type":"apiKey","description":"https://github.com/OpenBankProject/OBP-API/wiki/Direct-Login","in":"header","name":"Authorization"},"gatewayLogin":{"type":"apiKey","description":"https://github.com/OpenBankProject/OBP-API/wiki/Gateway-Login","in":"header","name":"Authorization"}},"security":[{"directLogin":[],"gatewayLogin":[]}],"paths":{"/obp/v5.0.0/banks/{BANK_ID}/attribute-definitions/ATTRIBUTE_DEFINITION_ID/product":{"delete":{"tags":["Product"],"summary":"Delete Product Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"
Delete Product Attribute Definition by ATTRIBUTE_DEFINITION_ID
Authentication is Mandatory
","operationId":"deleteProductAttributeDefinition","parameters":[{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"204":{"description":"Success"},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/attribute-definitions/product":{"get":{"tags":["Product"],"summary":"Get Product Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Get Product Attribute Definition
Authentication is Mandatory
","operationId":"getProductAttributeDefinition","parameters":[{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AttributeDefinitionsResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}},"put":{"tags":["Product"],"summary":"Create or Update Product Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Create or Update Product Attribute Definition
The category field must be Product
The type field must be one of; DOUBLE, STRING, INTEGER and DATE_WITH_DAY
Authentication is Mandatory
","operationId":"createOrUpdateProductAttributeDefinition","parameters":[{"in":"body","name":"body","description":"AttributeDefinitionJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/AttributeDefinitionJsonV400"}},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/AttributeDefinitionResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/product-collections/{COLLECTION_CODE}":{"get":{"tags":["Product-Collection","Product"],"summary":"Get Product Collection","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Returns information about the financial Product Collection specified by BANK_ID and COLLECTION_CODE:
Authentication is Mandatory
","operationId":"getProductCollection","parameters":[{"in":"path","name":"COLLECTION_CODE","description":"the collection code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductCollectionJsonTreeV310"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}},"put":{"tags":["Product-Collection","Product"],"summary":"Create Product Collection","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Create or Update a Product Collection at the Bank.
Use Product Collections to create Product "Baskets", "Portfolios", "Indices", "Collections", "Underlyings-lists", "Buckets" etc. etc.
There is a many to many relationship between Products and Product Collections:
A Product can exist in many Collections
A Collection can contain many Products.
A collection has collection code, one parent Product and one or more child Products.
Product hiearchy vs Product Collections:
You can define a hierarchy of products - so that a child Product inherits attributes of its parent Product - using the parent_product_code in Product.
You can define a collection (also known as baskets or buckets) of products using Product Collections.
Authentication is Mandatory
","operationId":"createProductCollection","parameters":[{"in":"body","name":"body","description":"PutProductCollectionsV310 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/PutProductCollectionsV310"}},{"in":"path","name":"COLLECTION_CODE","description":"the collection code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductCollectionsJsonV310"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/product-tree/{PRODUCT_CODE}":{"get":{"tags":["Product"],"summary":"Get Product Tree","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Returns information about a particular financial product specified by BANK_ID and PRODUCT_CODE
and it's parent product(s) recursively as specified by parent_product_code.
Each product includes the following information.
Authentication is Optional
","operationId":"getProductTree","parameters":[{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductTreeJsonV310"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorProductNotFoundByProductCode"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/products":{"get":{"tags":["Product"],"summary":"Get Products","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Returns information about the financial products offered by a bank specified by BANK_ID including:
Can filter with attributes name and values.
URL params example: /banks/some-bank-id/products?manager=John&count=8
Authentication is Optional
","operationId":"getProducts","parameters":[{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductsJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorBankNotFound"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/products/{PRODUCT_CODE}":{"get":{"tags":["Product"],"summary":"Get Bank Product","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Returns information about a financial Product offered by the bank specified by BANK_ID and PRODUCT_CODE including:
Authentication is Optional
","operationId":"getProduct","parameters":[{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorBankNotFound"}}}},"put":{"tags":["Product"],"summary":"Create Product","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Create or Update Product for the Bank.
Typical Super Family values / Asset classes are:
Debt
Equity
FX
Commodity
Derivative
Product hiearchy vs Product Collections:
You can define a hierarchy of products - so that a child Product inherits attributes of its parent Product - using the parent_product_code in Product.
You can define a collection (also known as baskets or buckets) of products using Product Collections.
Authentication is Mandatory
","operationId":"createProduct","parameters":[{"in":"body","name":"body","description":"PutProductJsonV500 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/PutProductJsonV500"}},{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/products/{PRODUCT_CODE}/attribute":{"post":{"tags":["Product"],"summary":"Create Product Attribute","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Create Product Attribute
Product Attributes are used to describe a financial Product with a list of typed key value pairs.
Each Product Attribute is linked to its Product by PRODUCT_CODE
Typical product attributes might be:
ISIN (for International bonds)
VKN (for German bonds)
REDCODE (markit short code for credit derivative)
LOAN_ID (e.g. used for Anacredit reporting)
ISSUE_DATE (When the bond was issued in the market)
MATURITY_DATE (End of life time of a product)
TRADABLE
See FPML for more examples.
The type field must be one of "STRING", "INTEGER", "DOUBLE" or DATE_WITH_DAY"
Authentication is Mandatory
","operationId":"createProductAttribute","parameters":[{"in":"body","name":"body","description":"ProductAttributeJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ProductAttributeJsonV400"}},{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/ProductAttributeResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorInvalidJsonFormat"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/products/{PRODUCT_CODE}/attributes/{PRODUCT_ATTRIBUTE_ID}":{"delete":{"tags":["Product"],"summary":"Delete Product Attribute","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Delete Product Attribute
Product Attributes are used to describe a financial Product with a list of typed key value pairs.
Each Product Attribute is linked to its Product by PRODUCT_CODE
Delete a Product Attribute by its id.
Authentication is Mandatory
","operationId":"deleteProductAttribute","parameters":[{"in":"path","name":"PRODUCT_ATTRIBUTE_ID","description":"the product attribute id","required":true,"type":"string"},{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"204":{"description":"Success"},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserHasMissingRoles"}}}},"get":{"tags":["Product"],"summary":"Get Product Attribute","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Get Product Attribute
Product Attributes are used to describe a financial Product with a list of typed key value pairs.
Each Product Attribute is linked to its Product by PRODUCT_CODE
Get one product attribute by its id.
Authentication is Mandatory
","operationId":"getProductAttribute","parameters":[{"in":"path","name":"PRODUCT_ATTRIBUTE_ID","description":"the product attribute id","required":true,"type":"string"},{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductAttributeResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserHasMissingRoles"}}}},"put":{"tags":["Product"],"summary":"Update Product Attribute","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Update Product Attribute.
Product Attributes are used to describe a financial Product with a list of typed key value pairs.
Each Product Attribute is linked to its Product by PRODUCT_CODE
Update one Product Attribute by its id.
Authentication is Mandatory
","operationId":"updateProductAttribute","parameters":[{"in":"body","name":"body","description":"ProductAttributeJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ProductAttributeJsonV400"}},{"in":"path","name":"PRODUCT_ATTRIBUTE_ID","description":"the product attribute id","required":true,"type":"string"},{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductAttributeResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserHasMissingRoles"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/products/{PRODUCT_CODE}/fee":{"post":{"tags":["Product"],"summary":"Create Product Fee","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Create Product Fee
Authentication is Mandatory
","operationId":"createProductFee","parameters":[{"in":"body","name":"body","description":"ProductFeeJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ProductFeeJsonV400"}},{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/ProductFeeResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/products/{PRODUCT_CODE}/fees":{"get":{"tags":["Product"],"summary":"Get Product Fees","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Get Product Fees
Authentication is Optional
","operationId":"getProductFees","parameters":[{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductFeesResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorBankNotFound"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/products/{PRODUCT_CODE}/fees/PRODUCT_FEE_ID":{"delete":{"tags":["Product"],"summary":"Delete Product Fee","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Delete Product Fee
Delete one product fee by its id.
Authentication is Mandatory
","operationId":"deleteProductFee","parameters":[{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"204":{"description":"Success","schema":{"type":"boolean"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}},"get":{"tags":["Product"],"summary":"Get Product Fee","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Get Product Fee
Get one product fee by its id.
Authentication is Optional
","operationId":"getProductFee","parameters":[{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductFeeResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorBankNotFound"}}}},"put":{"tags":["Product"],"summary":"Update Product Fee","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Update Product Fee.
Update one Product Fee by its id.
Authentication is Mandatory
","operationId":"updateProductFee","parameters":[{"in":"body","name":"body","description":"ProductFeeJsonV400 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/ProductFeeJsonV400"}},{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/ProductFeeResponseJsonV400"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/management/cascading/banks/{BANK_ID}/products/{PRODUCT_CODE}":{"delete":{"tags":["Product"],"summary":"Delete Product Cascade","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Delete a Product Cascade specified by PRODUCT_CODE.
Authentication is Mandatory
","operationId":"deleteProductCascade","parameters":[{"in":"path","name":"PRODUCT_CODE","description":"the product code","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"204":{"description":"Success"},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}}},"definitions":{"ErrorInvalidJsonFormat":{"properties":{"message":{"type":"string","example":"OBP-10001: Incorrect json format."}}},"ErrorUserNotLoggedIn":{"properties":{"message":{"type":"string","example":"OBP-20001: User not logged in. Authentication is required!"}}},"ErrorUserHasMissingRoles":{"properties":{"message":{"type":"string","example":"OBP-20006: User is missing one or more roles: "}}},"ErrorBankNotFound":{"properties":{"message":{"type":"string","example":"OBP-30001: Bank not found. Please specify a valid value for BANK_ID."}}},"ErrorProductNotFoundByProductCode":{"properties":{"message":{"type":"string","example":"OBP-30011: Product not found. Please specify a valid value for PRODUCT_CODE."}}},"AttributeDefinitionResponseJsonV400":{"required":["name","is_active","description","attribute_definition_id","alias","bank_id","can_be_seen_on_views","category","type"],"properties":{"name":{"type":"string","example":"SPECIAL_TAX_NUMBER"},"is_active":{"type":"boolean","example":"true"},"description":{"type":"string","example":"description"},"attribute_definition_id":{"type":"string","example":"9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1"},"alias":{"type":"string","example":"STRING"},"bank_id":{"type":"string","example":"gh.29.uk"},"can_be_seen_on_views":{"type":"array","items":{"type":"string"}},"category":{"type":"string","example":"Card"},"type":{"type":"string","example":"STRING"}}},"ProductAttributeResponseWithoutBankIdJson":{"required":["name","product_attribute_id","product_code","type","value"],"properties":{"name":{"type":"string","example":"OVERDRAFT_START_DATE"},"product_attribute_id":{"type":"string","example":"613c83ea-80f9-4560-8404-b9cd4ec42a7f"},"product_code":{"type":"string","example":"1234BW"},"type":{"type":"string","example":"DATE_WITH_DAY"},"value":{"type":"string","example":"2012-04-23"}}},"ProductsJsonV400":{"required":["products"],"properties":{"products":{"type":"array","items":{"$ref":"#/definitions/ProductJsonV400"}}}},"ProductCollectionJsonV310":{"required":["collection_code","product_code","items"],"properties":{"collection_code":{"type":"string","example":"C"},"product_code":{"type":"string","example":"1234BW"},"items":{"type":"array","items":{"$ref":"#/definitions/ProductCollectionItemJsonV310"}}}},"LicenseJsonV140":{"required":["id","name"],"properties":{"id":{"type":"string","example":"ODbL-1.0"},"name":{"type":"string","example":"Open Database License"}}},"AttributeDefinitionJsonV400":{"required":["name","is_active","description","alias","can_be_seen_on_views","category","type"],"properties":{"name":{"type":"string","example":"SPECIAL_TAX_NUMBER"},"is_active":{"type":"boolean","example":"true"},"description":{"type":"string","example":"description"},"alias":{"type":"string","example":"STRING"},"can_be_seen_on_views":{"type":"array","items":{"type":"string"}},"category":{"type":"string","example":"TransactionRequest"},"type":{"type":"string","example":"STRING"}}},"AttributeDefinitionsResponseJsonV400":{"required":["attributes"],"properties":{"attributes":{"type":"array","items":{"$ref":"#/definitions/AttributeDefinitionResponseJsonV400"}}}},"ProductFeeResponseJsonV400":{"required":["name","is_active","product_code","more_info","bank_id","product_fee_id","value"],"properties":{"name":{"type":"string","example":"ACCOUNT_MANAGEMENT_FEE"},"is_active":{"type":"boolean","example":"true"},"product_code":{"type":"string","example":"1234BW"},"more_info":{"type":"string","example":"More information about this fee"},"bank_id":{"type":"string","example":"gh.29.uk"},"product_fee_id":{"type":"string","example":"696hlAHLFKUHE37469287634"},"value":{"$ref":"#/definitions/ProductFeeValueJsonV400"}}},"ProductTreeJsonV310":{"required":["name","description","more_info_url","super_family","code","bank_id","meta","details","category","family"],"properties":{"name":{"type":"string","example":"product name"},"description":{"type":"string","example":"Description"},"parent_product":{"$ref":"#/definitions/ProductTreeJsonV310"},"more_info_url":{"type":"string","example":"www.example.com/prod1/more-info.html"},"super_family":{"type":"string","example":"super family"},"code":{"type":"string","example":"PARENT_CODE"},"bank_id":{"type":"string","example":"testBank2"},"meta":{"$ref":"#/definitions/MetaJsonV140"},"details":{"type":"string","example":"Details"},"category":{"type":"string","example":"category"},"family":{"type":"string","example":"family"}}},"ProductFeeJsonV400":{"required":["name","is_active","more_info","value"],"properties":{"name":{"type":"string","example":"ACCOUNT_MANAGEMENT_FEE"},"is_active":{"type":"boolean","example":"true"},"more_info":{"type":"string","example":"More information about this fee"},"product_fee_id":{"type":"string","example":"696hlAHLFKUHE37469287634"},"value":{"$ref":"#/definitions/ProductFeeValueJsonV400"}}},"ProductJsonV310":{"required":["name","description","more_info_url","super_family","code","bank_id","meta","details","category","family","parent_product_code"],"properties":{"name":{"type":"string","example":"product name"},"description":{"type":"string","example":"Description"},"more_info_url":{"type":"string","example":"www.example.com/prod1/more-info.html"},"super_family":{"type":"string","example":"super family"},"code":{"type":"string","example":"1234BW"},"product_attributes":{"type":"array","items":{"$ref":"#/definitions/ProductAttributeResponseWithoutBankIdJson"}},"bank_id":{"type":"string","example":"gh.29.uk"},"meta":{"$ref":"#/definitions/MetaJsonV140"},"details":{"type":"string","example":"Details"},"category":{"type":"string","example":"category"},"family":{"type":"string","example":"family"},"parent_product_code":{"type":"string","example":"parent"}}},"PutProductCollectionsV310":{"required":["parent_product_code","children_product_codes"],"properties":{"parent_product_code":{"type":"string","example":"A"},"children_product_codes":{"type":"array","items":{"type":"string"}}}},"ProductJsonV400":{"required":["name","description","terms_and_conditions_url","more_info_url","product_code","bank_id","meta","parent_product_code"],"properties":{"name":{"type":"string","example":"Deposit Account 1"},"description":{"type":"string","example":"This an optional field. Maximum length is 2000. It can be any characters here."},"terms_and_conditions_url":{"type":"string","example":"www.example.com/xyz"},"more_info_url":{"type":"string","example":"www.example.com/abc"},"attributes":{"type":"array","items":{"$ref":"#/definitions/ProductAttributeResponseWithoutBankIdJson"}},"product_code":{"type":"string","example":"1234BW"},"bank_id":{"type":"string","example":"gh.29.uk"},"meta":{"$ref":"#/definitions/MetaJsonV140"},"fees":{"type":"array","items":{"$ref":"#/definitions/ProductFeeJsonV400"}},"parent_product_code":{"type":"string","example":"787LOW"}}},"MetaJsonV140":{"required":["license"],"properties":{"license":{"$ref":"#/definitions/LicenseJsonV140"}}},"ProductCollectionsJsonV310":{"required":["product_collection"],"properties":{"product_collection":{"type":"array","items":{"$ref":"#/definitions/ProductCollectionJsonV310"}}}},"ProductCollectionItemJsonV310":{"required":["member_product_code"],"properties":{"member_product_code":{"type":"string","example":"A"}}},"ProductFeeValueJsonV400":{"required":["currency","amount","frequency","type"],"properties":{"currency":{"type":"string","example":"EUR"},"amount":{"type":"string","format":"double","example":"10.12"},"frequency":{"type":"string","example":"DAILY"},"type":{"type":"string","example":""}}},"PutProductJsonV500":{"required":["name","parent_product_code"],"properties":{"name":{"type":"string","example":"Deposit Account 1"},"description":{"type":"string","example":"This an optional field. Maximum length is 2000. It can be any characters here."},"terms_and_conditions_url":{"type":"string","example":"www.example.com/xyz"},"more_info_url":{"type":"string","example":"www.example.com/abc"},"meta":{"$ref":"#/definitions/MetaJsonV140"},"parent_product_code":{"type":"string","example":"787LOW"}}},"ProductAttributeJsonV400":{"required":["name","type","value"],"properties":{"name":{"type":"string","example":"OVERDRAFT_START_DATE"},"type":{"type":"string","example":"DATE_WITH_DAY"},"value":{"type":"string","example":"2012-04-23"},"is_active":{"type":"boolean","example":"true"}}},"ProductCollectionJsonTreeV310":{"required":["collection_code","products"],"properties":{"collection_code":{"type":"string","example":"A"},"products":{"type":"array","items":{"$ref":"#/definitions/ProductJsonV310"}}}},"ProductAttributeResponseJsonV400":{"required":["name","product_attribute_id","product_code","bank_id","type","value"],"properties":{"name":{"type":"string","example":"OVERDRAFT_START_DATE"},"is_active":{"type":"boolean","example":"true"},"product_attribute_id":{"type":"string","example":"613c83ea-80f9-4560-8404-b9cd4ec42a7f"},"product_code":{"type":"string","example":"1234BW"},"bank_id":{"type":"string","example":"gh.29.uk"},"type":{"type":"string","example":"DATE_WITH_DAY"},"value":{"type":"string","example":"2012-04-23"}}},"ProductFeesResponseJsonV400":{"required":["product_fees"],"properties":{"product_fees":{"type":"array","items":{"$ref":"#/definitions/ProductFeeResponseJsonV400"}}}}}}