--- swagger: "2.0" info: description: The API's defined here are used for the security - encryption features title: CCP Security - E2E Key version: 1.0.0-rev3 x-ibm-name: ccp-security---e2e-key basePath: /api/v1 schemes: - https x-ibm-configuration: enforced: true phase: realized testable: false externalDocs: [] attachments: [] tags: - description: API's for User Security name: Security definitions: E2ESuccessResponse: properties: modulus: description: This is the public key modulus example: 000000000001704858800000000000170485880000000000017048588 type: string exponent: description: This is the public key exponent example: "3" type: string required: - modulus - exponent type: object securityDefinitions: Client ID: type: apiKey name: X-IBM-Client-Id in: header description: "" Client ID (Query): type: apiKey name: client_id in: query description: "" OAuth2 Application Flow: type: oauth2 flow: application scopes: /api/v1: Default scope tokenUrl: https://api.banamex.com/mx-gcgapi/api/v1/oauth/token description: "" paths: /security/e2eKey: get: description: This API would retrieve the exponent / modulus for encrypting the password tags: [] summary: Certificate retrieval from the system parameters: - default: a7d1e304-83a9-4413-af97-62615e57eae66807840 description: A 128 bit universally unique identifier (UUID) that you generate for every request and is used for tracking. It is recommended to use the output from Java UUID class or an equivalent. name: uuid required: true type: string in: header - default: application/json description: Content-Types that are acceptable for the response. Currently we support application/json name: Accept required: true type: string in: header - default: application/json description: Content-Type in http header. Currently we support application/json name: Content-Type required: true type: string in: header - default: en-US description: HTTP Accept-Language header name: Accept-Language required: true type: string in: header - default: AU description: 2 character ISO country code name: countryCode required: true type: string in: header - default: GCB description: 3 character business code name: businessCode required: true type: string in: header - default: CML description: channel ID used by the user name: channelId required: true type: string in: header - default: abbb4837-8343-418c-93d8-77a8519dff9e description: sid name: sid type: string in: header - default: iX4xW5lG0gD6cX3uI5qN3pF6yK5nY2kB0eY5tB3xQ4rD4fD2xO description: The client ID you received during application registration in the developer portal name: client_id required: true type: string in: header - default: iX4xW5lG0gD6cX3uI5qN3pF6yK5nY2kB0eY5tB3xQ4rD4fD2xO description: Client Secret generated during application registration name: client_secret required: true type: string in: header responses: 200: description: Customer phone successfully retrieved schema: $ref: '#/definitions/E2ESuccessResponse' 400: description: (BAD REQUEST) - Request was not processed 403: description: (FORBIDDEN) - Unauthorized to perform the requested operation on resource. 500: description: (INTERNAL SERVER ERROR) - API Server Error. security: - Client ID (Query): [] OAuth2 Application Flow: - /api/v1 - Client ID: [] OAuth2 Application Flow: - /api/v1 security: - Client ID (Query): [] OAuth2 Application Flow: - /api/v1 - Client ID: [] OAuth2 Application Flow: - /api/v1 x-ibm-endpoints: - endpointUrl: https://api.banamex.com/mx-gcgapi type: - production - development ...