swagger: '2.0'
info:
description: "Bank Account Verification API.
Returns the account validator process payload associated with the inquiry. The inquiry is identified by the {inquiryId} path parameter.
Remember the inquiry status of every validator process gives you more information about the process stage.
Inquiry Status
Received Inquiry | RI | Círculo de Crédito has received the account validator inquiry. Círculo de Crédito will begin processing it as soon as possible. |
Sending Notification | SN | Círculo de Crédito has processed the inquiry. Círculo de Crédito is sending the Webhook event notification through the API Hub. |
Delivered Notification | DN | Círculo de Crédito has finished the processing of the inquiry. Círculo de Crédito sent the notification to the Webhook API through API Hub and it received the respective acknowledge. |
Not Delivered Notification | NDN | Círculo de Crédito has completed the processing of the inquiry. Círculo de Crédito tried to send the notification to the Webhook API on several times, however, it never got the acknowledge. |
Consumed Inquiry | CI | You have consumed the response payload associated with the inquiry regardless of the outcome of the notification process. |
Expired Inquiry | EI | The inquiry and the associated result have been archived. Only inquiries that have been made in the last 30 days will be shown. The inquiries that have the EI status are not showing. |
Returns the account validator process payload associated with the inquiry. The inquiry is identified by the {inquiryId} path parameter.
The account doesnt exist, rejected by the bank | 404.1 |
Rejeccted due the bank | 400.1 |
Service Unavailable | 503.1 |
Received, paid and the return to the account was generated. | 200.10 |
Successful transfer without CEP generation | 205.1 |
Service Unavailable | 503.2 |
The CEP has inconsistencies | 503.3 |
An error occurred while downloading the XML | 503.4 |
Rejected by Banxico | 200.6 |
Canceled by Banxico | 200.7 |
Success tranfer, XML not available | 208.0 |
Received, paid and the return to the account was generated. | 200.10 |
Successful transfer without CEP generation | 208.1 |
Requests a account validator process.' tags: - 'Bank Account Verification API' operationId: 'accountValidatorAPI' consumes: - 'application/json' produces: - 'application/json' parameters: - $ref: '#/parameters/x-api-key' - $ref: '#/parameters/username' - $ref: '#/parameters/password' - $ref: '#/parameters/x-signature_url' - $ref: '#/parameters/inquiryId' - in: 'body' name: 'request' description: 'Input parameters in order to start a employment verification process.' required: true schema: $ref: '#/definitions/AccountValidatorWithPrivacyNotice' responses: '200': description: 'OK - Returns an acount validator request acknowledge.' schema: $ref: '#/definitions/AckEVRequest' '400': description: 'Bad request.' schema: $ref: '#/definitions/Errors' examples: application/json: errors: - code: "400" message: "Missign parameters {fields name}" '401': description: 'Unauthorized.' schema: $ref: '#/definitions/Errors' examples: application/json: errors: - code: '401.1' message: 'Unauthorized, invalid x-api-key.' - code: '401.2' message: 'Unauthorized, invalid credentials.' - code: '401.3' message: 'Unauthorized, you do not have the product.' - code: '401.4' message: 'Unauthorized, you do not have access to the resource.' '403': description: 'Forbidden.' schema: $ref: '#/definitions/Errors' examples: application/json: errors: - code: '403.1' message: 'We could not verify the signature, x-signature is invalid.' '429': description: 'Too many requests.' schema: $ref: '#/definitions/Errors' examples: application/json: errors: - code: "429" message: "Too many requests." '500': description: "Internal server error." schema: $ref: '#/definitions/Errors' examples: application/json: errors: - code: "500" message: "There was an unexpected error, try again later." '503': description: "Service unavailable." schema: $ref: '#/definitions/Errors' examples: application/json: errors: - code: "503" message: "Service unavailable." definitions: PrivacyNotice: description: 'The privacy notice the Customer must accept.' type: 'object' required: - 'acceptance' - 'address' properties: acceptanceDate: type: 'string' format: 'date-time' description: 'Date and time of the privacy notice acceptance. As defined by date-time - RFC3339.' example: '2020-04-12T22:20:50.52Z' acceptance: type: 'string' description: 'Y if the Customer has accepted the privacy notice otherwise these field must be N.' minLength: 1 maxLength: 1 enum: - 'Y' - 'N' AccountValidatorWithPrivacyNotice: description: 'Account Validator information. It must include the the privacy notice customer acceptance.' type: 'object' required: - 'accountValidator' properties: accountValidator: $ref: '#/definitions/AccountValidator' AccountValidatorId: description: 'Identifier of the account validator process.' type: 'object' properties: externalId: type: 'string' format: 'uuid' minLength: 36 maxLength: 36 description: 'The identifier of the account validator request given by the API consumer (UUID).' example: '391d151f-1cac-44e7-a05b-79a1199621d6' subscriptionId: type: 'string' format: 'uuid' minLength: 36 maxLength: 36 description: 'The API Hub event subscription identifier (UUID).' example: '7c8a0230-36e0-43f4-9b7a-581dc55ea9c3' inquiryId: type: 'string' format: 'uuid' minLength: 36 maxLength: 36 description: 'The account validator process identifier given by Círculo de Crédito.' example: 'a19fb6b8-2677-44f2-9cd7-3b2f78bb6f8c' readOnly: true AccountValidator: description: 'Account Validator information' type: 'object' allOf: - $ref: '#/definitions/AccountValidatorId' required: - 'externalId' - 'subscriptionId' - 'bankId' - 'accountIdentifier' - 'name' - 'identifierType' - 'accountType' - 'verifierCompany' properties: bankId: type: integer example: 40012 maximum: 99999 minimum: 1000 description: Validate bank catalog from Banxico "https://www.banxico.org.mx/cep-scl/listaInstituciones.do" accountType: description: '1 = persona fisica, 2 = persona moral' type: 'string' enum: ["1", "2"] example: "1" identifierType: description: 'Account Type "CLABE", "AccountNumber".' type: 'string' enum: ["CLABE", "AccountNumber"] example: "CLABE" accountIdentifier: description: ' Clabe or Number account of the recipient of the transaction to validate.' type: 'string' minLength: 16 maxLength: 18 example: '123456789012345678' pattern: "^[0-9]{16,18}$" name: type: 'string' minLength: 1 maxLength: 100 description: 'name or business name' example: 'Juan' pattern: '^[A-Za-z àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇߨøÅ寿œ& 0-9]{1,100}$' secondName: type: 'string' minLength: 1 maxLength: 100 description: 'Second name' example: 'Pruebas' pattern: '^[A-Za-z àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇߨøÅ寿œ 0-9]{1,100}$' lastName: description: 'last name' type: 'string' minLength: 1 maxLength: 100 example: "ocho" pattern: '^[A-Za-z àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇߨøÅ寿œ 0-9]{1,100}$' secondLastName: description: 'second last name' type: 'string' minLength: 1 maxLength: 100 example: "seis" pattern: '^[A-Za-z àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸçÇߨøÅ寿œ 0-9]{1,100}$' citizenId: description: 'Mexican CURP' type: 'string' minLength: 18 maxLength: 18 example: "SSSS010101SSSSXXXX" pattern: "^[A-Za-z0-9]{18,18}$" taxPayerIdentificationNumber: description: 'Mexican RFC' type: 'string' example: "SSSS010101XXX" minLength: 10 maxLength: 13 pattern: "^[A-Za-z0-9]{10,13}$" verifierCompany: description: 'Nombre empresa verificadora sin espacios' type: 'string' example: 'Empresa1' minLength: 1 maxLength: 14 pattern: "^[A-Za-z0-9]{1,14}$" AccountValidators: description: 'A list of account validator processes.' type: 'array' items: $ref: '#/definitions/AccountValidator' AccountValidatorMetadata: description: 'Metadata (paging information) of the list of employment verification processes.' type: 'object' properties: _metadata: $ref: '#/definitions/Metadata' inquiries: $ref: '#/definitions/AccountValidators' CatalogBank: description: '
Code | Bank |
---|---|
40138 | ABC CAPITAL |
40133 | ACTINVER |
40062 | AFIRME |
90638 | NU MEXICO |
90710 | NVIO |
40103 | AMERICAN EXPRES |
90659 | ASP INTEGRA OPC |
40128 | AUTOFIN |
40127 | AZTECA |
37166 | BaBien |
40030 | BAJIO |
40002 | BANAMEX |
40154 | BANCO FINTERRA |
37006 | BANCOMEXT |
40137 | BANCOPPEL |
40160 | BANCO S3 |
40152 | BANCREA |
37019 | BANJERCITO |
40147 | BANKAOOL |
40106 | BANK OF AMERICA |
37009 | BANOBRAS |
40072 | BANORTE |
91872 | BANORTE2 |
40058 | BANREGIO |
40060 | BANSI |
40159 | BANK OF CHINA |
2001 | BANXICO |
40129 | BARCLAYS |
40145 | BBASE |
40012 | BBVA BANCOMER |
40112 | BMONEX |
90677 | CAJA POP MEXICA |
90683 | CAJA TELEFONIST |
90648 | CB Evercore |
90630 | CB INTERCAM |
40143 | CIBANCO |
90631 | CI BOLSA |
90901 | CLS |
90903 | CoDi Valida |
40130 | COMPARTAMOS |
40140 | CONSUBANCO |
90652 | CREDICAPITAL |
90688 | CREDICLUB |
40126 | CREDIT SUISSE |
90680 | CRISTOBAL COLON |
40124 | DEUTSCHE |
40151 | DONDE |
90606 | ESTRUCTURADORES |
90616 | FINAMEX |
90634 | FINCOMUN |
90689 | FOMPED |
90685 | FONDO (FIRA) |
90601 | GBM |
90636 | HDI SEGUROS |
37168 | HIPOTECARIA FED |
40021 | HSBC |
40155 | ICBC |
40036 | INBURSA |
90902 | INDEVAL |
40150 | INMOBILIARIO |
40136 | INTERCAM BANCO |
90686 | INVERCAP |
40059 | INVEX |
40110 | JP MORGAN |
90653 | KUSPIT |
90670 | LIBERTAD |
90602 | MASARI |
40042 | MIFEL |
40158 | MIZUHO BANK |
90600 | MONEXCB |
40108 | MUFG |
40132 | MULTIVA BANCO |
90613 | MULTIVA CBOLSA |
37135 | NAFIN |
90684 | OPM |
40148 | PAGATODO |
90620 | PROFUTURO |
40156 | SABADELL |
40014 | SANTANDER |
40044 | SCOTIABANK |
40157 | SHINHAN |
90646 | STP |
90648 | TACTIV CB |
90703 | TESORED |
90656 | UNAGRA |
90617 | VALMEX |
90605 | VALUE |
90608 | VECTOR |
40113 | VE POR MAS |
40141 | VOLKSWAGEN |
Code | Description |
---|---|
000 | Operation successful |
002 | The message does not match the original string |
010 | Invalid scheme |
012 | Invalid provider |
013 | Configuration not found |
107 | The amount to send must be greater than zero |
110 | The account does not have a sufficient balance to operate |
113 | The type of operation is a required data |
114 | The amount exceeds the maximum allowed. |
126 | The account does not exist. |
127 | A SPEI cannot be made to the same bank. |
128 | Error when carrying out the charge. |
129 | The CLABE does not meet the allowed length. |
130 | The Telephone Number does not meet the allowed length. |
131 | The Debt Card does not meet the allowed length. |
132 | Account type does not exist. |
133 | Error when processing the SPEI. |
134 | Service not available. |
135 | The Amount has an Incorrect format. |
136 | Contact your supplier. |
137 | Invalid character. |
138 | VAT has an incorrect format. |
139 | The Recipient Key does not match the Recipient Institution. |
140 | The reference has expired. |
141 | The reference does not belong to the program. |
Code | Reason Process |
---|---|
404.1 | The account doesnt exist, rejected by the bank |
400.1 | Rejeccted due the bank |
503.1 | Service Unavailable |
200.10 | Received, paid and the return to the account was generated. |
205.1 | Successful transfer without CEP generation |
503.2 | Service Unavailable |
503.3 | The CEP has inconsistencies |
503.4 | An error occurred while downloading the XML |
200.6 | Rejected by Banxico |
200.7 | Canceled by Banxico |
208.0 | Success tranfer, XML not available |
200.10 | Received, paid and the return to the account was generated. |
208.1 | Successful transfer without CEP generation |