Paths
/v1/customers/codi-banxico/register
The API helps to register a device to Banxico for Codi feature
The API helps to register a device to Banxico for Codi feature
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
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 |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/customers/codi-banxico/validate
The API helps to validate a device with Banxico for Codi feature
The API helps to validate a device with Banxico for Codi feature
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
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 |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/customers/codi-banxico/key-source/generate
The API helps to generate key source for Codi feature
The API helps to generate key source for Codi feature
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
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 |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
/v1/customers/codi-banxico/default/application/set
The API helps to set the default banking application for Codi
The API helps to set the default banking application for Codi
Client ID generated during application registration
The Authorization Token received during login
Content-Types that are acceptable for the response
128 bit UUID that you generate for every request
List of acceptable human languages for response
Content-Types that are sent in the request
Channel where request originated
SessionId sent by Consumer
Successful operation.
Type | Code | Details |
error | invalidRequest | Missing or invalid Parameters |
Type | Code | Details |
error | unAuthorized | Authorization credentials are missing or invalid |
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 |
Type | Code | Details | More Info |
error | resourceNotFound | The requested resource was not found | Empty resource/resource not found |
Type | Code | Details |
error | businessValidationFailed | Business validation error occured on one or more parameters |
Type | Code | Details |
fatal | serverUnavailable | The request failed due to an internal error/server unavailability |
Definitions
{
"type": "object",
"properties": {
"deviceDetails": {
"$ref": "#/definitions/Device"
}
}
}
{
"type": "object",
"properties": {
"deviceMake": {
"description": "Maker of the device which the client is using to enroll with Citibanamex CoDi",
"type": "string",
"example": "samsung"
},
"deviceModel": {
"description": "Model of the device which the client is using to enroll with Citibanamex CoDi",
"type": "string",
"example": "SM-G935F"
},
"deviceOsName": {
"description": "Operative system of the device with the client is using to enroll with Citibanamex CoDi",
"type": "string",
"example": "Android"
},
"deviceOsVersion": {
"description": "Version of the operative system of the device which the user is using to enroll with Citibanamex CoDi",
"type": "string",
"example": "8.0.0"
},
"deviceSerialNumber": {
"description": "Serial number of the device which a new user is enrolling with Citibanamex CoDi",
"type": "string",
"example": "12d58955dcd9e1f4-com.citibanamex.banamexmobile"
},
"phoneNumber": {
"description": "CoDi client phone number",
"type": "string",
"example": "5512345678"
}
},
"required": [
"deviceMake",
"deviceModel",
"deviceOsName",
"deviceOsVersion",
"deviceSerialNumber",
"phoneNumber"
]
}
{
"type": "object",
"properties": {
"uniqueCodiCcsId": {
"description": "CoDi Citibanamex id composed of customer phonenumber and banxico check code",
"type": "string",
"example": "5512345678000"
},
"encryptedGoogleId": {
"description": "Encrypted Id of the project enrolled with Google in order to request a new FirebaseId releated to the project",
"type": "string",
"example": ""
}
},
"required": [
"uniqueCodiCcsId"
]
}
{
"type": "object",
"properties": {
"firebaseId": {
"description": "Firebase id of the customer registered with Banxico in order to receive PUSH notifications",
"type": "string",
"example": "dUww7Jl4b9o:APA91bGHVzEMF6xdD_ZV1L4CF5ZgrBqDQGl9QO4OIemuIf04sMzbFBl_duDoWZOO4rADGviq0Rf4UCz-cYS6zvijYesfRbUR1a4BQqKUQ4z56cgmTyEjtQdQQgIz_-8KLRxmJdI9571o"
},
"uniqueCodiCcsId": {
"description": "CoDi Citibanamex id composed of customer phonenumber and banxico check code",
"type": "string",
"example": "5512345678000"
},
"customerId": {
"description": "Unique identifier for customer holding a Citibanamex Account",
"type": "string",
"example": "1098765423718"
},
"deviceInfo": {
"$ref": "#/definitions/DeviceInfo"
}
},
"required": [
"firebaseId",
"uniqueCodiCcsId",
"customerId"
]
}
{
"type": "object",
"properties": {
"deviceMake": {
"description": "Maker of the device which the client is using to enroll with Citibanamex CoDi",
"type": "string",
"example": "samsung"
},
"deviceModel": {
"description": "Model of the device which the client is using to enroll with Citibanamex CoDi",
"type": "string",
"example": "SM-G935F"
},
"deviceOsName": {
"description": "Operative system of the device with the client is using to enroll with Citibanamex CoDi",
"type": "string",
"example": "Android"
},
"deviceOsVersion": {
"description": "Version of the operative system of the device which the user is using to enroll with Citibanamex CoDi",
"type": "string",
"example": "8.0.0"
},
"deviceSerialNumber": {
"description": "Serial number of the device which a new user is enrolling with Citibanamex CoDi",
"type": "string",
"example": "12d58955dcd9e1f4-com.citibanamex.banamexmobile"
}
},
"required": [
"deviceMake",
"deviceModel",
"deviceOsName",
"deviceOsVersion",
"deviceSerialNumber"
]
}
{
"type": "object",
"properties": {
"banamexDefaultCodiBankingAppFlag": {
"description": "Boolean value that determines if the Ctibanamex Mobile App is the default one to use CoDi",
"type": "boolean",
"example": true
}
},
"required": [
"banamexDefaultCodiBankingAppFlag"
]
}
{
"type": "object",
"properties": {
"deviceSerialNumber": {
"description": "Serial number of the device which a new user is enrolling with Citibanamex CoDi",
"type": "string",
"example": "12d58955dcd9e1f4-com.citibanamex.banamexmobile"
},
"encryptedGoogleId": {
"description": "Encrypted Id of the project enrolled with Google in order to request a new FirebaseId releated to the project",
"type": "string",
"example": ""
},
"oneTimePassword": {
"description": "OTP numerical value of 6 digits sent by Banxico through SMS to validate that a customer is enrolling with CoDi Banxico",
"type": "string",
"example": "123456"
},
"uniqueCodiCcsId": {
"description": "CoDi Citibanamex id composed of customer phone number and banxico check code",
"type": "string",
"example": "5512345678000"
},
"customerId": {
"description": "Unique identifier for customer holding a Citibanamex Account",
"type": "string",
"example": "1098765423718"
}
},
"required": [
"deviceSerialNumber",
"encryptedGoogleId",
"oneTimePassword",
"uniqueCodiCcsId",
"customerId"
]
}
{
"type": "object",
"properties": {
"decryptedGoogleId": {
"description": "Decrypted Id of the project enrolled with Google in order to request a new FirebaseId releated to the project",
"type": "string",
"example": "dUww7Jl4b9o:APA91bGHVzEMF6xdD_ZV1L4CF5ZgrBqDQGl9QO4OIemuIf04sMzbFBl_duDoWZOO4rADGviq0Rf4UCz-cYS6zvijYesfRbUR1a4BQqKUQ4z56cgmTyEjtQdQQgIz_-8KLRxmJdI9571o"
}
},
"required": [
"decryptedGoogleId"
]
}
{
"type": "object",
"properties": {
"uniqueCodiCcsId": {
"description": "CoDi Citibanamex id composed of customer phonenumber and banxico check code",
"type": "string",
"example": "5512345678000"
},
"customerId": {
"description": "Unique identifier for customer holding a Citibanamex Account",
"type": "string",
"example": "1098765423718"
}
},
"required": [
"uniqueCodiCcsId",
"customerId"
]
}
{
"type": "object",
"properties": {
"banamexDefaultCodiBankingAppFlag": {
"description": "Boolean value that determines if the Citibanamex Mobile App has been setted as the default app for CoDi with Banxico",
"type": "boolean",
"example": true
}
},
"required": [
"banamexDefaultCodiBankingAppFlag"
]
}
{
"properties": {
"type": {
"type": "string",
"description": "Invalid - Request did not confirm to the specification and was unprocessed and rejected. Please fix the value and try again",
"enum": [
"error",
"warn",
"invalid",
"fatal"
]
},
"code": {
"description": "Error code which qualifies the error",
"type": "string"
},
"details": {
"description": "Human readable explanation specific to the occurrence of the problem",
"type": "string"
},
"location": {
"description": "The name of the field that resulted in the error",
"type": "string"
},
"moreInfo": {
"description": "More Info can be used to pass any additional details",
"type": "string"
},
"uuid": {
"description": "128 bit UUID that you generate for every request",
"type": "string"
},
"timestamp": {
"description": "Timestamp of the error",
"type": "string"
}
},
"required": [
"type",
"code"
]
}