--- swagger: "2.0" info: x-ibm-name: lookups title: Lookups version: 1.2.7 description: The Lookups API provides information related to the Bank's points of presence, such as Branches, ATMs and other. contact: name: rapidlink support email: rapidlink@piraeusbank.gr url: https://rapidlink.piraeusbank.gr termsOfService: Privacy Policy license: name: Terms and Conditions of Use url: https://rapidlink.piraeusbank.gr/terms schemes: - https basePath: /v1.2/info consumes: - application/json produces: - application/json - alextg@piraeusbank.gr securityDefinitions: clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id description: Client ID Header security: - clientIdHeader: [] x-ibm-configuration: testable: true enforced: true phase: realized categories: - Customer, Branches paths: /toIban/{accountNumber}: get: responses: 200: description: OK 400: description: Bad Request schema: $ref: '#/definitions/Error_Output' description: Return the IBAN representation of a piraeusbank account tags: - Lookups - Account - IBAN - Convert parameters: - name: accountNumber type: string required: true in: path description: The account number to convert to IBAN format /verifyIban/{Iban}: get: responses: 200: description: OK 400: description: Bad Request schema: $ref: '#/definitions/Error_Output' description: Verify the validity of a piraeusbank account tags: - Lookups - Account - IBAN - Verify parameters: - name: Iban type: string required: true in: path description: The IBAN to be verified /countries: get: responses: 200: description: OK 400: description: Bad Request schema: $ref: '#/definitions/Error_Output' 401: description: Unauthorized schema: $ref: '#/definitions/Error_Output' summary: Get a list of Countries description: Return a list of Countries tags: - Lookups - Countries /pointsOfPresence: get: responses: 200: description: OK schema: $ref: '#/definitions/POP_PointType_Output' 400: description: Bad Request schema: $ref: '#/definitions/Error_Output' 412: description: Precondition Failed schema: $ref: '#/definitions/Error_Output' description: Return a list of all Points of Presence (POPs), e.g. Branches / ATMs / APSes / eBranches tags: - Lookups - POP - Point of Presence - Branch - ATM parameters: - name: language type: string required: false in: header description: set to GR (default if empty) or EN to get points of presense to the apropriate language /pointsOfPresence/{PointTypeName}: get: responses: 200: description: OK schema: $ref: '#/definitions/POP_PointType_Output' 400: description: Bad Request schema: $ref: '#/definitions/Error_Output' 412: description: Precondition Failed schema: $ref: '#/definitions/Error_Output' summary: Get a list of Branches / ATMs / APSes description: Returns a list of the specified Point of Presence type (Branch / ATM / APS / eBranch) tags: - Lookups - POP - Point of Presence - Branch - ATM parameters: - $ref: '#/parameters/PointTypeName' - name: language type: string required: false in: header description: set to GR (default if empty) or EN to get points of presense to the apropriate language tags: [] definitions: ToIban_Output: description: "" type: object properties: iban: type: string isValid: type: boolean example: "{\n\t\"iban\": \"sample string 1\",\n\t\"isValid\": true\n}" VerifyIban_Output: description: "" type: object properties: IsValid: type: boolean example: "{\n\t\"IsValid\": true\n}" Error_Output: description: "" type: object properties: httpCode: type: string httpMessage: type: string errorCode: type: string errorMessage: type: string example: "{\n\t\"httpCode\": \"412\",\n\t\"httpMessage\": \"Precondition Failed\",\n\t\"errorCode\": \"API-987\",\n\t\"errorMessage\": \"sample error message\"\n}" POP_PointType_Output: description: "" type: object properties: POPs: type: array items: properties: Id: type: string Code: type: string Name: type: string Type: type: string Longitude: type: number Latitude: type: number Prefecture: type: string Municipality: type: string Address: type: string PostalCode: type: string Telephone: type: string WorkingHours: type: string Status: type: string type: object example: "{\n\t\"POPs\": [\n\t\t{\n\t\t\t\"Id\": \"sample string 2\",\n\t\t\t\"Code\": \"sample string 3\",\n\t\t\t\"Name\": \"sample string 1\",\n\t\t\t\"Type\": \"sample string pt\",\n\t\t\t\"Longitude\": 22.9376,\n\t\t\t\"Latitude\": 40.6341,\n\t\t\t\"Prefecture\": \"sample string 4\",\n\t\t\t\"Municipality\": \"sample string 3\",\n\t\t\t\"Address\": \"sample string 9\",\n\t\t\t\"PostalCode\": \"sample string 5\",\n\t\t\t\"Telephone\": \"sample telephone\",\n\t\t\t\"WorkingHours\": \"working hours sample\",\n\t\t\t\"Status\": \"sample status\"\n\t\t}\n\t]\n}\n" parameters: Authorization: name: Authorization type: string required: false in: header description: This header should be in the form "Bearer Token", where Token is returned from the call to OAuth2 PointTypeName: name: PointTypeName type: string required: true in: path description: 'The point type name used as a search filter for the retrieved list of Points Of Presence. Possible values are: Branch, ATM, APS, eBranch' externalDocs: description: Getting Started url: https://rapidlink.piraeusbank.gr/start x-ibm-endpoints: - endpointUrl: https://api.rapidlink.piraeusbank.gr/piraeusbank/production description: Base Gateway API Endpoint type: - production - development ...