{"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":"api3.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}/accounts/{ACCOUNT_ID}/{VIEW_ID}/credit_cards/orders":{"get":{"tags":["Card"],"summary":"Get status of Credit Card order ","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"
Get status of Credit Card orders
Get all orders
Authentication is Mandatory
","operationId":"getStatusOfCreditCardOrder","parameters":[{"in":"path","name":"VIEW_ID","description":"The view id","required":true,"type":"string"},{"in":"path","name":"ACCOUNT_ID","description":"The account id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CreditCardOrderStatusResponseJson"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/banks/{BANK_ID}/attribute-definitions/ATTRIBUTE_DEFINITION_ID/card":{"delete":{"tags":["Card"],"summary":"Delete Card Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Delete Card Attribute Definition by ATTRIBUTE_DEFINITION_ID
Authentication is Mandatory
","operationId":"deleteCardAttributeDefinition","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/card":{"get":{"tags":["Card"],"summary":"Get Card Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Get Card Attribute Definition
Authentication is Mandatory
","operationId":"getCardAttributeDefinition","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":["Card"],"summary":"Create or Update Card Attribute Definition","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Create or Update Card Attribute Definition
The category field must be Card
The type field must be one of; DOUBLE, STRING, INTEGER and DATE_WITH_DAY
Authentication is Mandatory
","operationId":"createOrUpdateCardAttributeDefinition","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/cards":{"get":{"tags":["Card"],"summary":"Get cards for the current user","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Returns data about all the physical cards a user has been issued. These could be debit cards, credit cards, etc.
Authentication is Mandatory
","operationId":"getCards","parameters":[{"in":"body","name":"body","description":"EmptyClassJson object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/EmptyClassJson"}}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PhysicalCardsJSON"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/management/banks/{BANK_ID}/cards":{"get":{"tags":["Card"],"summary":"Get Cards for the specified bank","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Should be able to filter on the following fields
eg:/management/banks/BANK_ID/cards?customer_id=66214b8e-259e-44ad-8868-3eb47be70646&account_id=8ca8a7e4-6d02-48e3-a029-0b2bf89de9f0
1 customer_id should be valid customer_id, otherwise, it will return an empty card list.
2 account_id should be valid account_id , otherwise, it will return an empty card list.
Authentication is Mandatory
","operationId":"getCardsForBank","parameters":[{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PhysicalCardsJsonV310"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}},"post":{"tags":["Card"],"summary":"Create Card","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Create Card at bank specified by BANK_ID .
Authentication is Mandatory
","operationId":"addCardForBank","parameters":[{"in":"body","name":"body","description":"CreatePhysicalCardJsonV500 object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/CreatePhysicalCardJsonV500"}},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/PhysicalCardJsonV500"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/management/banks/{BANK_ID}/cards/{CARD_ID}":{"delete":{"tags":["Card"],"summary":"Delete Card","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Delete a Card at bank specified by CARD_ID .
Authentication is Mandatory
","operationId":"deleteCardForBank","parameters":[{"in":"path","name":"CARD_ID","description":"the card id","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"}}}},"get":{"tags":["Card"],"summary":"Get Card By Id","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"This will the datails of the card.
It shows the account infomation which linked the the card.
Also shows the card attributes of the card.
Authentication is Mandatory
","operationId":"getCardForBank","parameters":[{"in":"path","name":"CARD_ID","description":"the card id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PhysicalCardWithAttributesJsonV310"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}},"put":{"tags":["Card"],"summary":"Update Card","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Update Card at bank specified by CARD_ID .
Authentication is Mandatory
Create Card Attribute
Card Attributes are used to describe a financial Product with a list of typed key value pairs.
Each Card Attribute is linked to its Card by CARD_ID
The type field must be one of "STRING", "INTEGER", "DOUBLE" or DATE_WITH_DAY"
Authentication is Mandatory
","operationId":"createCardAttribute","parameters":[{"in":"body","name":"body","description":"CardAttributeJson object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/CardAttributeJson"}},{"in":"path","name":"CARD_ID","description":"the card id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/CardAttributeCommons"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}},"/obp/v5.0.0/management/banks/{BANK_ID}/cards/{CARD_ID}/attributes/{CARD_ATTRIBUTE_ID}":{"put":{"tags":["Card"],"summary":"Update Card Attribute","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"Update Card Attribute
Card Attributes are used to describe a financial Product with a list of typed key value pairs.
Each Card Attribute is linked to its Card by CARD_ID
Authentication is Mandatory
","operationId":"updateCardAttribute","parameters":[{"in":"body","name":"body","description":"CardAttributeJson object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/CardAttributeJson"}},{"in":"path","name":"CARD_ATTRIBUTE_ID","description":"the card attribute id","required":true,"type":"string"},{"in":"path","name":"CARD_ID","description":"the card id","required":true,"type":"string"},{"in":"path","name":"BANK_ID","description":"The bank id","required":true,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/CardAttributeCommons"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUserNotLoggedIn"}}}}}},"definitions":{"ErrorUserNotLoggedIn":{"properties":{"message":{"type":"string","example":"OBP-20001: User not logged in. Authentication is required!"}}},"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"}}},"PhysicalCardsJsonV310":{"required":["cards"],"properties":{"cards":{"type":"array","items":{"$ref":"#/definitions/PhysicalCardJsonV310"}}}},"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"}}}},"PhysicalCardJsonV500":{"required":["allows","cvv","expires_date","networks","customer_id","issue_number","replacement","enabled","collected","brand","card_number","technology","cancelled","bank_id","card_id","pin_reset","serial_number","account","valid_from_date","name_on_card","posted","card_type","on_hot_list"],"properties":{"allows":{"type":"array","items":{"type":"string"}},"cvv":{"type":"string","example":"123"},"expires_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"networks":{"type":"array","items":{"type":"string"}},"customer_id":{"type":"string","example":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"},"issue_number":{"type":"string","example":"1"},"replacement":{"$ref":"#/definitions/ReplacementJSON"},"enabled":{"type":"boolean","example":"true"},"collected":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"brand":{"type":"string","example":"Visa"},"card_number":{"type":"string","example":"364435172576215"},"technology":{"type":"string","example":"technology1"},"cancelled":{"type":"boolean","example":"true"},"bank_id":{"type":"string","example":"gh.29.uk"},"card_id":{"type":"string","example":"36f8a9e6-c2b1-407a-8bd0-421b7119307e "},"pin_reset":{"type":"array","items":{"$ref":"#/definitions/PinResetJSON"}},"serial_number":{"type":"string","example":"1324234"},"account":{"$ref":"#/definitions/AccountJSON"},"valid_from_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"name_on_card":{"type":"string","example":"SusanSmith"},"posted":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"card_type":{"type":"string","example":"Credit"},"on_hot_list":{"type":"boolean","example":"true"}}},"PinResetJSON":{"required":["requested_date","reason_requested"],"properties":{"requested_date":{"type":"string","format":"date","example":"2024-03-29T00:00:35Z"},"reason_requested":{"type":"string","example":"GOOD_SECURITY_PRACTICE"}}},"PhysicalCardWithAttributesJsonV310":{"required":["allows","expires_date","networks","customer_id","issue_number","replacement","enabled","collected","card_number","technology","cancelled","bank_id","card_id","pin_reset","serial_number","account","valid_from_date","card_attributes","name_on_card","posted","card_type","on_hot_list"],"properties":{"allows":{"type":"array","items":{"type":"string"}},"expires_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"networks":{"type":"array","items":{"type":"string"}},"customer_id":{"type":"string","example":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"},"issue_number":{"type":"string","example":"1"},"replacement":{"$ref":"#/definitions/ReplacementJSON"},"enabled":{"type":"boolean","example":"true"},"collected":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"card_number":{"type":"string","example":"364435172576215"},"technology":{"type":"string","example":"technologyString1"},"cancelled":{"type":"boolean","example":"true"},"bank_id":{"type":"string","example":"gh.29.uk"},"card_id":{"type":"string","example":"36f8a9e6-c2b1-407a-8bd0-421b7119307e "},"pin_reset":{"type":"array","items":{"$ref":"#/definitions/PinResetJSON"}},"serial_number":{"type":"string","example":"1324234"},"account":{"$ref":"#/definitions/AccountBasicV310"},"valid_from_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"card_attributes":{"type":"array","items":{"$ref":"#/definitions/CardAttributeCommons"}},"name_on_card":{"type":"string","example":"SusanSmith"},"posted":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"card_type":{"type":"string","example":"Credit"},"on_hot_list":{"type":"boolean","example":"true"}}},"AccountJSON":{"required":["id","label","views_available","bank_id"],"properties":{"id":{"type":"string","example":"123"},"label":{"type":"string","example":"OBP"},"views_available":{"type":"array","items":{"$ref":"#/definitions/ViewJSONV121"}},"bank_id":{"type":"string","example":"gh.29.uk"}}},"CardAttributeCommons":{"required":["name","attribute_type","value"],"properties":{"name":{"type":"string","example":"OVERDRAFT_START_DATE"},"card_id":{"type":"string","example":"36f8a9e6-c2b1-407a-8bd0-421b7119307e "},"attribute_type":{"type":"string","enum":["STRING","INTEGER","DOUBLE","DATE_WITH_DAY"]},"bank_id":{"$ref":"#/definitions/BankId"},"value":{"type":"string","example":"2012-04-23"},"card_attribute_id":{"type":"string","example":"b4e0352a-9a0f-4bfa-b30b-9003aa467f50"}}},"UpdatePhysicalCardJsonV310":{"required":["allows","expires_date","networks","customer_id","issue_number","replacement","enabled","collected","technology","account_id","pin_reset","serial_number","valid_from_date","name_on_card","posted","card_type"],"properties":{"allows":{"type":"array","items":{"type":"string"}},"expires_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"networks":{"type":"array","items":{"type":"string"}},"customer_id":{"type":"string","example":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"},"issue_number":{"type":"string","example":"1"},"replacement":{"$ref":"#/definitions/ReplacementJSON"},"enabled":{"type":"boolean","example":"true"},"collected":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"technology":{"type":"string","example":"technology1"},"account_id":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"pin_reset":{"type":"array","items":{"$ref":"#/definitions/PinResetJSON"}},"serial_number":{"type":"string","example":"1324234"},"valid_from_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"name_on_card":{"type":"string","example":"SusanSmith"},"posted":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"card_type":{"type":"string","example":"Credit"}}},"ViewJSONV121":{"required":["can_see_transaction_start_date","can_add_url","can_add_where_tag","can_see_transaction_this_bank_account","can_see_bank_account_owners","can_see_private_alias","can_edit_owner_comment","can_see_other_account_national_identifier","can_see_public_alias","can_see_physical_location","can_see_owner_comment","can_see_bank_account_iban","can_see_corporate_location","can_see_bank_account_number","can_see_other_account_bank_name","description","can_see_transaction_other_bank_account","can_delete_corporate_location","can_see_comments","can_see_bank_account_bank_name","can_add_more_info","can_see_other_account_number","can_see_other_account_swift_bic","can_add_open_corporates_url","can_see_other_account_kind","can_delete_physical_location","can_see_bank_account_label","can_see_transaction_currency","is_public","can_see_transaction_finish_date","can_add_tag","can_see_images","can_see_bank_account_currency","hide_metadata_if_alias_used","can_delete_where_tag","alias","can_add_image_url","can_add_comment","can_see_image_url","id","can_see_bank_account_national_identifier","can_see_tags","can_see_open_corporates_url","short_name","can_delete_tag","can_see_more_info","can_see_transaction_metadata","can_delete_comment","can_see_where_tag","can_add_private_alias","can_add_public_alias","can_see_bank_account_swift_bic","can_add_image","can_see_transaction_type","can_see_other_account_iban","can_add_physical_location","can_add_corporate_location","can_delete_image","can_see_url","can_see_bank_account_balance","can_see_transaction_balance","can_see_transaction_amount","can_see_other_account_metadata","can_see_bank_account_type","can_see_transaction_description"],"properties":{"can_see_transaction_start_date":{"type":"boolean","example":"true"},"can_add_url":{"type":"boolean","example":"true"},"can_add_where_tag":{"type":"boolean","example":"true"},"can_see_transaction_this_bank_account":{"type":"boolean","example":"true"},"can_see_bank_account_owners":{"type":"boolean","example":"true"},"can_see_private_alias":{"type":"boolean","example":"true"},"can_edit_owner_comment":{"type":"boolean","example":"true"},"can_see_other_account_national_identifier":{"type":"boolean","example":"true"},"can_see_public_alias":{"type":"boolean","example":"true"},"can_see_physical_location":{"type":"boolean","example":"true"},"can_see_owner_comment":{"type":"boolean","example":"true"},"can_see_bank_account_iban":{"type":"boolean","example":"true"},"can_see_corporate_location":{"type":"boolean","example":"true"},"can_see_bank_account_number":{"type":"boolean","example":"true"},"can_see_other_account_bank_name":{"type":"boolean","example":"true"},"description":{"type":"string","example":"description"},"can_see_transaction_other_bank_account":{"type":"boolean","example":"true"},"can_delete_corporate_location":{"type":"boolean","example":"true"},"can_see_comments":{"type":"boolean","example":"true"},"can_see_bank_account_bank_name":{"type":"boolean","example":"true"},"can_add_more_info":{"type":"boolean","example":"true"},"can_see_other_account_number":{"type":"boolean","example":"true"},"can_see_other_account_swift_bic":{"type":"boolean","example":"true"},"can_add_open_corporates_url":{"type":"boolean","example":"true"},"can_see_other_account_kind":{"type":"boolean","example":"true"},"can_delete_physical_location":{"type":"boolean","example":"true"},"can_see_bank_account_label":{"type":"boolean","example":"true"},"can_see_transaction_currency":{"type":"boolean","example":"true"},"is_public":{"type":"boolean","example":"true"},"can_see_transaction_finish_date":{"type":"boolean","example":"true"},"can_add_tag":{"type":"boolean","example":"true"},"can_see_images":{"type":"boolean","example":"true"},"can_see_bank_account_currency":{"type":"boolean","example":"true"},"hide_metadata_if_alias_used":{"type":"boolean","example":"true"},"can_delete_where_tag":{"type":"boolean","example":"true"},"alias":{"type":"string","example":"None"},"can_add_image_url":{"type":"boolean","example":"true"},"can_add_comment":{"type":"boolean","example":"true"},"can_see_image_url":{"type":"boolean","example":"true"},"id":{"type":"string","example":"123"},"can_see_bank_account_national_identifier":{"type":"boolean","example":"true"},"can_see_tags":{"type":"boolean","example":"true"},"can_see_open_corporates_url":{"type":"boolean","example":"true"},"short_name":{"type":"string","example":"short_name"},"can_delete_tag":{"type":"boolean","example":"true"},"can_see_more_info":{"type":"boolean","example":"true"},"can_see_transaction_metadata":{"type":"boolean","example":"true"},"can_delete_comment":{"type":"boolean","example":"true"},"can_see_where_tag":{"type":"boolean","example":"true"},"can_add_private_alias":{"type":"boolean","example":"true"},"can_add_public_alias":{"type":"boolean","example":"true"},"can_see_bank_account_swift_bic":{"type":"boolean","example":"true"},"can_add_image":{"type":"boolean","example":"true"},"can_see_transaction_type":{"type":"boolean","example":"true"},"can_see_other_account_iban":{"type":"boolean","example":"true"},"can_add_physical_location":{"type":"boolean","example":"true"},"can_add_corporate_location":{"type":"boolean","example":"true"},"can_delete_image":{"type":"boolean","example":"true"},"can_see_url":{"type":"boolean","example":"true"},"can_see_bank_account_balance":{"type":"boolean","example":"true"},"can_see_transaction_balance":{"type":"boolean","example":"true"},"can_see_transaction_amount":{"type":"boolean","example":"true"},"can_see_other_account_metadata":{"type":"boolean","example":"true"},"can_see_bank_account_type":{"type":"boolean","example":"true"},"can_see_transaction_description":{"type":"boolean","example":"true"}}},"ReplacementJSON":{"required":["requested_date","reason_requested"],"properties":{"requested_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"reason_requested":{"type":"string","example":"RENEW"}}},"BankId":{"required":["value"],"properties":{"value":{"type":"string","example":"gh.uk.9j"}}},"PhysicalCardsJSON":{"required":["cards"],"properties":{"cards":{"type":"array","items":{"$ref":"#/definitions/PhysicalCardJSON"}}}},"ViewBasic":{"required":["id","name","description"],"properties":{"id":{"type":"string","example":"owner"},"name":{"type":"string","example":"Owner"},"description":{"type":"string","example":"This view is for the owner for the account."}}},"CardObjectJson":{"required":["card_type","card_description","use_type"],"properties":{"card_type":{"type":"string","example":"5"},"card_description":{"type":"string","example":"good"},"use_type":{"type":"string","example":"3"}}},"PhysicalCardJsonV310":{"required":["allows","expires_date","networks","customer_id","issue_number","replacement","enabled","collected","card_number","technology","cancelled","bank_id","card_id","pin_reset","serial_number","account","valid_from_date","name_on_card","posted","card_type","on_hot_list"],"properties":{"allows":{"type":"array","items":{"type":"string"}},"expires_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"networks":{"type":"array","items":{"type":"string"}},"customer_id":{"type":"string","example":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"},"issue_number":{"type":"string","example":"1"},"replacement":{"$ref":"#/definitions/ReplacementJSON"},"enabled":{"type":"boolean","example":"true"},"collected":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"card_number":{"type":"string","example":"364435172576215"},"technology":{"type":"string","example":"technologyString1"},"cancelled":{"type":"boolean","example":"true"},"bank_id":{"type":"string","example":"gh.29.uk"},"card_id":{"type":"string","example":"36f8a9e6-c2b1-407a-8bd0-421b7119307e "},"pin_reset":{"type":"array","items":{"$ref":"#/definitions/PinResetJSON"}},"serial_number":{"type":"string","example":"1324234"},"account":{"$ref":"#/definitions/AccountJSON"},"valid_from_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"name_on_card":{"type":"string","example":"SusanSmith"},"posted":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"card_type":{"type":"string","example":"Credit"},"on_hot_list":{"type":"boolean","example":"true"}}},"AccountBasicV310":{"required":["id","label","views_available","bank_id"],"properties":{"id":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"label":{"type":"string","example":"My Account"},"views_available":{"type":"array","items":{"$ref":"#/definitions/ViewBasic"}},"bank_id":{"type":"string","example":"gh.29.uk"}}},"CreditCardOrderStatusResponseJson":{"required":["cards"],"properties":{"cards":{"type":"array","items":{"$ref":"#/definitions/CardObjectJson"}}}},"CreatePhysicalCardJsonV500":{"required":["allows","expires_date","networks","customer_id","issue_number","enabled","brand","card_number","technology","account_id","pin_reset","serial_number","valid_from_date","name_on_card","card_type"],"properties":{"allows":{"type":"array","items":{"type":"string"}},"expires_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"networks":{"type":"array","items":{"type":"string"}},"customer_id":{"type":"string","example":"7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh"},"issue_number":{"type":"string","example":"1"},"replacement":{"$ref":"#/definitions/ReplacementJSON"},"enabled":{"type":"boolean","example":"true"},"collected":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"brand":{"type":"string","example":"Visa"},"card_number":{"type":"string","example":"364435172576215"},"technology":{"type":"string","example":"technology1"},"account_id":{"type":"string","example":"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0"},"pin_reset":{"type":"array","items":{"$ref":"#/definitions/PinResetJSON"}},"serial_number":{"type":"string","example":"1324234"},"valid_from_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"name_on_card":{"type":"string","example":"SusanSmith"},"posted":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"card_type":{"type":"string","example":"Credit"}}},"PhysicalCardJSON":{"required":["allows","expires_date","networks","issue_number","replacement","enabled","collected","technology","cancelled","bank_id","pin_reset","serial_number","account","valid_from_date","bank_card_number","name_on_card","posted","on_hot_list"],"properties":{"allows":{"type":"array","items":{"type":"string"}},"expires_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"networks":{"type":"array","items":{"type":"string"}},"issue_number":{"type":"string","example":"1"},"replacement":{"$ref":"#/definitions/ReplacementJSON"},"enabled":{"type":"boolean","example":"true"},"collected":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"technology":{"type":"string","example":"String"},"cancelled":{"type":"boolean","example":"true"},"bank_id":{"type":"string","example":"gh.29.uk"},"pin_reset":{"type":"array","items":{"$ref":"#/definitions/PinResetJSON"}},"serial_number":{"type":"string","example":"1324234"},"account":{"$ref":"#/definitions/AccountJSON"},"valid_from_date":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"bank_card_number":{"type":"string","example":"364435172576215"},"name_on_card":{"type":"string","example":"String"},"posted":{"type":"string","format":"date","example":"1100-01-01T00:00:00Z"},"on_hot_list":{"type":"boolean","example":"true"}}},"CardAttributeJson":{"required":["name","type","value"],"properties":{"name":{"type":"string","example":"OVERDRAFT_START_DATE"},"type":{"type":"string","example":"DOUBLE"},"value":{"type":"string","example":"2012-04-23"}}},"EmptyClassJson":{"required":["jsonString"],"properties":{"jsonString":{"type":"string","example":"{}"}}}}}