--- swagger: "2.0" info: description: Api Documentation version: "1.0" title: ValidateUser - CitiBanamexPay termsOfService: urn:tos contact: [] license: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0 x-ibm-name: validateuser---citibanamexpay name: "" basePath: /api tags: - name: Wallet Security description: All API(s) related to Wallet Security Microservice paths: /v1/wallets/auth/validation: post: tags: - Wallet Security summary: Validate User operationId: validateUserUsingPOST consumes: - application/json produces: - application/json parameters: - in: body name: request description: request required: true schema: $ref: '#/definitions/ValidateUserRequest' - name: Content-Type in: header description: Content-Type required: true type: string - name: uuid in: header description: uuid required: true type: string - name: Accept in: header description: Accept required: false type: string - name: Accept-Language in: header description: Accept-Language required: false type: string - name: countryCode in: header description: countryCode required: true type: string - name: businessCode in: header description: businessCode required: true type: string - name: sid in: header description: sid required: true type: string - name: scope in: header description: scope required: true type: string - name: channelId in: header description: channelId required: true type: string responses: 200: description: OK schema: type: string 201: description: Created 400: description: |- ### Request was not processed. |Type|Code|Details| |----------|----------|--------------------| |error|invalidRequest|Missing or invalid Parameters schema: $ref: '#/definitions/ErrorResponse' 401: description: |- ### Missing or invalid authorization header. |Type|Code|Details| |----------|----------|--------------------| |error|unAuthorized|Authorization credentials are missing or invalid schema: $ref: '#/definitions/ErrorResponse' 403: description: |- ### Unauthorized to perform the requested operation on resource. |Type|Code|Details|More Info| |----------|----------|--------------------| |error|accessNotConfigured|The request operation is not configured to access this resource|Channel/Country/Business provided in the request is not supported currently| | schema: $ref: '#/definitions/ErrorResponse' 404: description: Not Found 500: description: |- ### API Server Error |Type|Code|Details| |----------|----------|--------------------| |fatal|serverUnavailable|The request failed due to an internal error/server unavailability schema: $ref: '#/definitions/ErrorResponse' definitions: ValidateUserRequest: type: object required: - ccsId - transactionMemo - walletServiceProviderId properties: ccsId: type: string example: This is the ID for CCS system (common credentials system) description: mode in which the otp has to send to user transactionMemo: type: string example: WALLET_REGISTRATION description: This specifies the below login context events. 1. GenerateOTP 2. GenerateNetKey 3. Reset PIN walletServiceProviderId: type: string example: "05" description: It is the ID assigned for a Wallet Service Provider for the Wallet where CITI cards are provisioned , values=[01,05] ErrorResponse: type: object properties: code: type: string details: type: string location: type: string moreInfo: type: string type: type: string x-ibm-configuration: enforced: true testable: true phase: realized securityDefinitions: OAuth2 Application Flow: type: oauth2 description: OAuth Client Credentials Grant Type flow: application scopes: /api: Default scope tokenUrl: https://api.banamex.com/mx-gcgapi/api/oauth/token ClientID (Query): type: apiKey description: ClientID (Query) in: query name: client_id ClientID: type: apiKey description: ClientID in: header name: X-IBM-Client-Id security: - OAuth2 Application Flow: - /api ClientID (Query): [] - OAuth2 Application Flow: - /api ClientID: [] x-ibm-endpoints: - endpointUrl: https://api.banamex.com/mx-gcgapi type: - production - development ...