{"swagger":"2.0","info":{"title":"CNBV9 CNBV9","description":"License: Unknown","contact":{"name":"TESOBE GmbH. / Open Bank Project","url":"https://openbankproject.com","email":"contact@tesobe.com"},"version":"v1.0.0"},"host":"obp-api.intercam.com.mx","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":{"/CNBV9/v1.0.0/atms":{"get":{"tags":["ATM","MXOpenFinance"],"summary":"Get ATMS","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<pre><code>        Gets a list of all ATM objects.</code></pre><p>Authentication is Optional</p>","operationId":"getMxAtms","parameters":[],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/JvalueCaseClass"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUnknownError"}}}},"head":{"tags":["ATM","MXOpenFinance"],"summary":"Head ATMS","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<pre><code>        Gets header information on the current set of ATM data</code></pre><p>Authentication is Optional</p>","operationId":"headMxAtms","parameters":[],"responses":{"200":{"description":"Success"},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUnknownError"}}}}},"/test-dynamic-resource-doc/my_user/MY_USER_ID":{"post":{"tags":["Dynamic-Resource-Doc"],"summary":"A test endpoint","security":[{"directLogin":[],"gatewayLogin":[]}],"description":"<p>A test endpoint.</p><p>Just for debug method body of dynamic resource doc.<br />better watch the following introduction video first<br />* <a href=\"https://vimeo.com/623381607\">Dynamic resourceDoc version1</a></p><p>The endpoint return the response from PractiseEndpoint code.<br />Here, code.api.DynamicEndpoints.dynamic.practise.PractiseEndpoint.process<br />You can test the method body grammar, and try the business logic, but need to restart the OBP-API code .</p><p>Authentication is Optional</p>","operationId":"test-dynamic-resource-doc","parameters":[{"in":"body","name":"body","description":"RequestRootJsonClass object that needs to be added.","required":true,"schema":{"$ref":"#/definitions/RequestRootJsonClass"}}],"responses":{"201":{"description":"Success","schema":{"$ref":"#/definitions/RequestRootJsonClass"}},"400":{"description":"Error","schema":{"$ref":"#/definitions/ErrorUnknownError"}}}}}},"definitions":{"ErrorUnknownError":{"properties":{"message":{"type":"string","example":"OBP-50000: Unknown Error."}}},"JvalueCaseClass":{"required":["jvalueToCaseclass"],"properties":{"jvalueToCaseclass":{"type":"object","properties":{"meta":{"type":"object","properties":{"LastUpdated":{"type":"string","example":"2021-05-26T14:49:38.258Z"},"TotalResults":{"type":"integer","format":"int32","example":"0"},"Agreement":{"type":"string","example":"To be confirmed"},"License":{"type":"string","example":"To be confirmed"},"TermsOfUse":{"type":"string","example":"To be confirmed"}},"required":["LastUpdated","TotalResults","Agreement","License","TermsOfUse"]},"data":{"type":"array","items":{"type":"object","properties":{"Brand":{"type":"array","items":{"type":"object","properties":{"BrandName":{"type":"string","example":"MÉXICO"},"ATM":{"type":"array","items":{"type":"object","properties":{"Identification":{"type":"string","example":"999994090"},"SupportedLanguages":{"type":"array","items":{"type":"string","example":"es"}},"ATMServices":{"type":"array","items":{"type":"string","example":"ATBA"}},"Accessibility":{"type":"array","items":{"type":"string","example":"ATAC"}},"Access24HoursIndicator":{"type":"boolean","example":"true"},"SupportedCurrencies":{"type":"array","items":{"type":"string","example":"MXN"}},"MinimumPossibleAmount":{"type":"string","example":"5"},"Note":{"type":"array","items":{"type":"string","example":"string"}},"OtherAccessibility":{"type":"array","items":{"type":"object","properties":{"Code":{"type":"string","example":"stri"},"Description":{"type":"string","example":"string"},"Name":{"type":"string","example":"string"}},"required":["Code","Description","Name"]}},"OtherATMServices":{"type":"array","items":{"type":"object","properties":{"Code":{"type":"string","example":"stri"},"Description":{"type":"string","example":"string"},"Name":{"type":"string","example":"string"}},"required":["Code","Description","Name"]}},"Branch":{"type":"object","properties":{"Identification":{"type":"string","example":"N/A"}},"required":["Identification"]},"Location":{"type":"object","properties":{"LocationCategory":{"type":"array","items":{"type":"string","example":"ATBE"}},"OtherLocationCategory":{"type":"array","items":{"type":"object","properties":{"Code":{"type":"string","example":"stri"},"Description":{"type":"string","example":"string"},"Name":{"type":"string","example":"TELEFONOS DE MEXICO SAB DE CV SAN JERONIMO"}},"required":["Code","Description","Name"]}},"Site":{"type":"object","properties":{"Identification":{"type":"string","example":"string"},"Name":{"type":"string","example":"string"}},"required":["Identification","Name"]},"PostalAddress":{"type":"object","properties":{"AddressLine":{"type":"string","example":"SAN JERONIMO LIDICE"},"BuildingNumber":{"type":"string","example":"9"},"StreetName":{"type":"string","example":"PINOS"},"TownName":{"type":"string","example":"MAGDALENA CONTRERAS"},"CountrySubDivision":{"type":"array","items":{"type":"string","example":"CD MEXICO"}},"Country":{"type":"string","example":"MX"},"PostCode":{"type":"string","example":"10100"},"GeoLocation":{"type":"object","properties":{"GeographicCoordinates":{"type":"object","properties":{"Latitude":{"type":"string","example":"19.333474"},"Longitude":{"type":"string","example":"-99.215063"}},"required":["Latitude","Longitude"]}},"required":["GeographicCoordinates"]}},"required":["AddressLine","BuildingNumber","StreetName","TownName","CountrySubDivision","Country","PostCode","GeoLocation"]}},"required":["LocationCategory","OtherLocationCategory","Site","PostalAddress"]},"FeeSurcharges":{"type":"object","properties":{"CashWithdrawalNational":{"type":"string","example":"20.00 MXN"},"CashWithdrawalInternational":{"type":"string","example":"20.00 MXN"},"BalanceInquiry":{"type":"string","example":"20.00MXN"}},"required":["CashWithdrawalNational","CashWithdrawalInternational","BalanceInquiry"]}},"required":["Identification","SupportedLanguages","ATMServices","Accessibility","Access24HoursIndicator","SupportedCurrencies","MinimumPossibleAmount","Note","OtherAccessibility","OtherATMServices","Branch","Location","FeeSurcharges"]}}},"required":["BrandName","ATM"]}}},"required":["Brand"]}},"additionalProp1":{"type":"string","example":"string"},"additionalProp2":{"type":"string","example":"string"},"additionalProp3":{"type":"string","example":"string"}},"required":["meta","data","additionalProp1","additionalProp2","additionalProp3"]}}},"RequestRootJsonClass":{"required":["name","age","hobby"],"properties":{"name":{"type":"string","example":"ACCOUNT_MANAGEMENT_FEE"},"age":{"type":"integer","format":"int64","example":"18"},"hobby":{"type":"array","items":{"type":"string"}}}}}}