Permite conocer los tipos de pagos a meses aceptados para un monto y tipo de tarjeta especificados.
El endpoint de installments de la API de métodos de pago te devuelve una lista de cuotas aceptadas para un monto y un número BIN o un método de pago proporcionados, de forma que puedas ofrecerlas a tu cliente.
La llamada debe tener el monto y el número BIN, o el monto y el método de pago (visa, mastercard, etc).
Header parameters (parámetros del encabezado)
La siguiente tabla describe el esquema de los parámetros del encabezado:
Parámetro |
Descripción |
Tipo |
Requerido / Opcional |
Notas |
|
Content-Type |
Define el formato del objeto de la llamada |
application/json |
Requerido |
Solicitud en formato JSON |
|
Authorization |
Especifica el token de acceso |
String |
Requerido |
token de autenticación |
Query parameters (parámetros del cuerpo de la solicitud)
La siguiente tabla describe el esquema de los parámetros de consulta:
Parámetro |
Descripción |
Tipo |
Ejemplo |
Requerido / Opcional |
Notas |
|
amount |
Monto de la transacción. |
Float |
100.50 |
Requerido |
Acepta hasta 2 decimales.. |
|
bin |
Número BIN |
String |
"424242” |
Opcional |
Número BIN a 6 dígitos. |
|
payment_method_id |
Nombre del método de pago |
String |
“visa” |
Opcional |
del método de pago. Posibles valores: amex, visa, master, arcuspay. |
Respuesta
La respuesta contiene todos los elementos enviados en el body más los campos que se muestran en la siguiente tabla:
Parámetro |
Descripción |
Tipo |
Notas |
||
id |
id del método de pago. |
String |
Identificación del método de pago. Posibles valores: amex, visa, master, arcuspay. Arcuspay hace referencia a Clip Cash o pago en efectivo. |
||
logo |
URL con la imágen del método de pago. |
String |
URL del logotipo del método de pago. |
||
name |
Nombre del método de pago. |
String |
Nombre completo del método de pago.. Posibles valores:American Express, Visa, Mastercard y Arcus Pay. |
||
status |
Status del método de pago. |
String |
Posibles valores: active, deactive. |
||
type |
Tipo de tarjeta. |
String |
Posibles valores: credit_card, debit_card, ticket (efectivo). |
||
validations |
Objeto con los tipos de validación. |
Objeto |
|
||
|
name |
Nombre del tipo de validación. |
String |
Posibles valores: bin, card_number, cvv, accepted_amount |
|
|
metadata |
NObjeto con los valores del tipo de validación. |
Objeto |
Solo pueden incluirse hasta 30 parámetros. Cada parámetro tiene una longitud máxima de 255 caracteres. Acepta un tamaño máximo de 1 MB. |
|
|
|
pattern |
Patrón del número BIN. |
String |
Valor asociado con el tipo de validación “bin”. |
|
|
exclusion_pattern |
Patrón de exclusión. |
String |
Valor asociado con el tipo de validación “bin”. |
|
|
installments_pattern |
Meses sin intereses disponibles para el número BIN. |
String |
Valor asociado con el tipo de validación “bin”. |
|
|
algorithm |
Algoritmo del número de tarjeta. |
String |
Valor asociado con el tipo de validación “card_number”. |
|
|
length |
Longitud del número de la tarjeta. |
String |
Valor asociado con el tipo de validación “card_number”. |
|
|
card_location |
Ubicación del número CVV. |
String |
Valor asociado con el tipo de validación “cvv”. Posibles valores: front o back |
|
|
length |
Longitud del número CVV. |
String |
Valor asociado con el tipo de validación “cvv”. |
|
|
type |
Indica si el CVV es obligatorio u opcional. |
String |
Valor asociado con el tipo de validación “cvv”. |
|
|
min |
Monto mínimo aceptado para este método de pago. |
String |
Valor asociado con el tipo de validación “accepted_amount”. |
|
|
max |
Monto máximo aceptado para este método de pago. |
String |
Valor asociado con el tipo de validación “accepted_amount”. |
installments |
Objeto con la información de las cuotas diferidas disponibles. |
Objeto |
|
||
|
quantity |
Número de cuotas mensuales. |
Number |
Posibles valores: 1,3,6,9,12,18,24. |
|
|
fee |
Comisión. |
Float |
Si el fee es 0, corresponde a meses sin intereses. Si el fee es mayor a 0, significa que es pagos. |
|
|
amount |
Monto de la mensualidad. |
Float |
Si el fee es 0, corresponde a meses sin intereses. Monto de cada mensualidad. |
|
|
total_amount |
Monto de la mensualidad más la comisión. |
Float |
Si el fee es 0, corresponde a meses sin intereses. Monto de cada mensualidad más la comisión. |
Código de ejemplo
Ejemplo de una llamada.
El siguiente bloque de código muestra un ejemplo de la solicitud cURL:
curl --location --request POST 'https://api.payclip.com/installments?amount=3000&payment_method_id=master' \
--header 'Authorization: Basic MTBkMTA2Y2QtMTI4Ny00MjI1LWE0ZWQtNzY3MWRkM2Y5ZDEzOjExNWYwMjE0LWJkZDgtNGY1ZS04ODRmLWVhMTM0YjVhNTUyNA==' \
Ejemplo de un objeto de la respuesta
El siguiente objeto es una respuesta de éxito con código HTTP 201 OK:
[
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "AFIRME",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "AFIRME PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "AZTECA",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "AZTECA PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "BAJIO",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "BANJERCITO",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "BANORTE",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "BANORTE PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "BBVA",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
},
{
"quantity": 24,
"fee": 0.4035,
"amount": 175.44,
"total_amount": 4210.5
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "CACAO PAYCARD SOLUTIONS",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "CITIBANAMEX",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
},
{
"quantity": 24,
"fee": 0.4035,
"amount": 175.44,
"total_amount": 4210.5
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "EDENRED",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "EDENRED EG",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "EDENRED MC",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "FUNDACION DONDE BANCO",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
},
{
"quantity": 24,
"fee": 0.4035,
"amount": 175.44,
"total_amount": 4210.5
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "HSBC",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "HSBC PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "INBURSA",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "INBURSA PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "INVEX",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "IXE",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "IXE BANCO",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "MIFEL",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "MIFEL PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "NU MEXICO FINANCIERA",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
},
{
"quantity": 24,
"fee": 0.4035,
"amount": 175.44,
"total_amount": 4210.5
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "SANTANDER",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "SANTANDER PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "SCOTIABANK",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "SCOTIABANK INVERLAT",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "SERVICIOS BROXEL",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "SERVICIOS BROXEL PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "SERVICIOS FINANCIEROS SORIANA",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "SERVICIOS FINANCIEROS SORIANA PR",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "TARJETAS BANAMEX",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
},
{
"quantity": 24,
"fee": 0.4035,
"amount": 175.44,
"total_amount": 4210.5
}
],
"tags": []
},
{
"payment_method_id": "master",
"type": "credit_card",
"issuer": {
"default": false,
"name": "TECNOLOGIAS DIFIERE",
"country": "MX"
},
"validations": [
{
"name": "bin",
"metadata": {
"exclusion_pattern": "",
"pattern": "^(5|(2(221|222|223|224|225|226|227|228|229|23|24|25|26|27|28|29|3|4|5|6|70|71|720)))"
}
},
{
"name": "card_number",
"metadata": {
"algorithm": "luhn",
"length": 16
}
},
{
"name": "cvv",
"metadata": {
"card_location": "back",
"length": 3,
"type": "mandatory"
}
},
{
"name": "accepted_amount",
"metadata": {
"max": 300000,
"min": 3
}
}
],
"installments": [
{
"quantity": 1,
"fee": 0,
"amount": 3000,
"total_amount": 3000
},
{
"quantity": 3,
"fee": 0,
"amount": 1000,
"total_amount": 3000
},
{
"quantity": 6,
"fee": 0,
"amount": 500,
"total_amount": 3000
},
{
"quantity": 9,
"fee": 0,
"amount": 333.33,
"total_amount": 3000
},
{
"quantity": 12,
"fee": 0,
"amount": 250,
"total_amount": 3000
},
{
"quantity": 18,
"fee": 0.3038,
"amount": 217.3,
"total_amount": 3911.4
},
{
"quantity": 24,
"fee": 0.4035,
"amount": 175.44,
"total_amount": 4210.5
}
],
"tags": []
}
]
Códigos de respuesta
La siguiente tabla contiene una lista de los códigos de respuesta y su asociación con algunos de los estados HTTP:
404 |
BR1301 |
Not Found |
|
401 |
CL1501 |
Unauthorized |
|
500 |
AI1899 |
Internal error. |
Este es un ejemplo del objeto de error en formato JSON:
{
"error_code": "BR1301",
"message": "Not found",
"detail": [
"Not found"
]
}
Llamada de prueba
Puedes realizar una llamada de prueba llenando los campos necesarios en el formulario que se muestra a continuación.
Asegúrate de poner tu token de autenticación en el campo "Header: Autorization" del widget localizado a tu derecha:
Por último dale click en el botón "Try It!":