Paths
/v1/servicing/customers/merchants/retrieve
To obtain all previously registered merchants for a customer so he can perform a payment
This API is used to obtain all previously registered merchants for a customer so he can perform a payment
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
Content-Types that are sent in the request2 character ISO country code
{
"default": "MX"
}
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Type of the account
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/servicing/customers/merchants/info/{merchantTableReferenceId}
To retrieve the information of one specific merchant
This API is used to retrieve the information of one specific merchant
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
Content-Types that are sent in the request2 character ISO country code
{
"default": "MX"
}
Business code identified during application registration
Channel where request originated
SessionId sent by Consumer
Service Database Identifier
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": {
"merchants": {
"type": "array",
"items": {
"$ref": "#/definitions/Merchant"
}
}
}
}
{
"type": "object",
"properties": {
"merchantId": {
"description": "Unique identifier of a company which provides a product or service (merchant)",
"type": "string",
"example": "117418"
},
"merchantCategoryCode": {
"description": "Line of business or activity of the merchant",
"type": "string",
"example": "1174"
},
"merchantBusinessName": {
"description": "Legal name of the merchant under which it performs their business",
"type": "string",
"example": "Teléfonos de México, S. A. B. de C. V."
},
"merchantNickName": {
"description": "Nick Name of Merchant, given by customer for easier recognition",
"type": "string",
"example": "Teléfono"
},
"transactionLimitAmount": {
"description": "Any transaction amount limit fixed for any payee.",
"type": "number",
"format": "double",
"example": 1234.56
},
"currencyCode": {
"description": "The currency code identifier of the account",
"type": "integer",
"format": "int32",
"example": 1
},
"currencyCodeDescription": {
"description": "Currency Code of the account",
"type": "string",
"example": "MXN"
},
"merchantServiceInformation": {
"type": "array",
"items": {
"$ref": "#/definitions/MerchantServiceInformation"
}
}
},
"required": [
"merchantBusinessName",
"merchantCategoryCode",
"merchantNickName",
"transactionLimitAmount",
"merchantServiceInformation",
"currencyCode"
]
}
{
"type": "object",
"properties": {
"merchantSubCategory": {
"description": "Identifier of the service provided by the merchant",
"type": "string",
"example": "18"
},
"merchantName": {
"description": "Name of the merchant",
"type": "string",
"example": "Telmex"
},
"merchantTableReferenceId": {
"description": "Service Database Identifier",
"type": "string",
"example": "1000:084"
}
},
"required": [
"merchantSubCategory",
"merchantName",
"merchantTableReferenceId"
]
}
{
"type": "object",
"properties": {
"merchantId": {
"description": "Unique identifier of a company which provides a product or service (merchant)",
"type": "string",
"example": "117418"
},
"captureLineType": {
"description": "Type of the capture line",
"type": "string",
"example": "3"
},
"captureLineAccessType": {
"description": "Type of the access of the capture line",
"type": "string",
"example": "1"
},
"imageName": {
"description": "Name of the image, used to help icon",
"type": "string",
"example": "117418"
},
"multiplePaymentCode": {
"description": "Code to identify if the payment can be do it one or more times. Values A) more than one B) once",
"type": "string",
"example": "A"
},
"modifyAmountFlag": {
"description": "Flag to indicate if the amount could be modified or not",
"type": "boolean",
"example": false
},
"paymentOperationType": {
"description": "Type of the payment operation, to identify if is going to use DB with capture line or with web services",
"type": "string",
"example": "1"
},
"paymentOperationSubType": {
"description": "Subtype of the payment operation, if the payment is going to use web services, identify if is going to be direct or in group",
"type": "string",
"example": "1"
},
"paymentConfiguration": {
"type": "array",
"items": {
"$ref": "#/definitions/PaymentConfiguration"
}
}
},
"required": [
"paymentConfiguration",
"merchantId",
"captureLineType",
"captureLineAccessType"
]
}
{
"type": "object",
"properties": {
"referenceId": {
"description": "Unique ID used by front-end to identify the input of the payment reference",
"type": "integer",
"format": "int32",
"example": 77
},
"referenceLabel": {
"description": "Label and placeholder to the input of the form of the reference field",
"type": "string",
"example": "LINEA CAPTURA"
},
"referenceMaximumLength": {
"description": "Max length of the input of the form of the reference field",
"type": "integer",
"format": "int32",
"example": 20
},
"referenceMinimumLength": {
"description": "Min length of the input of the form of the reference field",
"type": "integer",
"format": "int32",
"example": 2
},
"referenceType": {
"description": "Data Type of the reference field",
"type": "string",
"example": "N"
}
},
"required": [
"referenceId",
"referenceLabel",
"referenceType",
"referenceMaximumLength"
]
}
{
"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"
]
}