---
updatedAt: 2026-02-25T19:39:34.000Z
agentTools:
  projectIndex: https://docs.netpay.com.mx/llms.txt
---

# 2.1 Realizar pago

> ❗️ ACTUALIZACION EN CHECKOUT CUSTOM
>
> Por requerimeintos de nuestra herramienta de seguridad, se agregaron nuevos datos a la integración
>
> 1. Nueva funcion JS *deviceInformation()* que devolvera nueva información del dispositivo que ejecuta la transacción
> 2. Se agregan campos en el enpoint de **charge v3.5** para la ejecucion correcta del 3ds v2. Estos campos se llenan con la información que devulve la función *deviceInformation()*
>
> Para información mas detallada puede consultarla en esta documentación o solicitar una asesoria en la implementacion de estos nuevos datos en conjunto con el equipo de integraciones de Netay. [Cita con integraciones  por API.](https://calendly.com/integraciones_netpay/reunion-con-comercio)

## Installments

Esta sección es necesaria si se van a ofrecer promociones a meses sin intereses, es importante recalcar que esta sección deberá estar acompañada de algún selector en la UI que permita al cliente seleccionar la promoción a meses sin intereses.

```json Installments
"installments": {
      "plan": {
          "count": 6,
          "interval": "month",
          "promotion": "000603"
      }
  }
```

## Ship

Esta sección es necesaria si realizas envió de productos físicos, si los pagos son de servicios y productos digitales se puede omitir esta sección del Json

```json Ship
"ship": {
      "city": "Monterrey",
      "country": "MX",
      "firstName": "Joe",
      "lastName": "Doe",
      "phoneNumber": "1234567890",
      "postalCode": "64700",
      "state": "Nuevo Leon",
      "street1": "Primera",
      "street2": "Centro",
      "shippingMethod": "flatrate_flatrate"
    }
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-sandbox-netpay-custom-sin-guardar-tarjeta",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://gateway-154.netpaydev.com/gateway-ecommerce"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/v3.5/charges": {
      "post": {
        "summary": "2.1 Realizar pago",
        "description": "",
        "operationId": "31-pago-2",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Llave secreta",
            "required": true,
            "schema": {
              "type": "string",
              "default": "sk_netpay_zoZjwnnyfxQhkGOtHXdEfDRMAjALYVVAeXOCGWYwYBXot"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "description": "Contenido",
            "required": true,
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          },
          {
            "name": "User-Agent",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "transactionType",
                  "amount",
                  "source",
                  "description",
                  "paymentMethod",
                  "sessionId",
                  "deviceFingerPrint",
                  "currency",
                  "billing",
                  "redirect3dsUri",
                  "deviceInformation"
                ],
                "properties": {
                  "transactionType": {
                    "type": "string",
                    "default": "Auth"
                  },
                  "amount": {
                    "type": "integer",
                    "description": "Monto a cobrar",
                    "default": 2000,
                    "format": "int32"
                  },
                  "source": {
                    "type": "string",
                    "description": "Token de tarjeta",
                    "default": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                  },
                  "description": {
                    "type": "string",
                    "description": "Información del cargo",
                    "default": "Cargo de prueba"
                  },
                  "paymentMethod": {
                    "type": "string",
                    "description": "Método de pago",
                    "default": "card"
                  },
                  "sessionId": {
                    "type": "string",
                    "description": "Id del dispositivo se obtiene al realizar la toquenizacion",
                    "default": "1668110282365"
                  },
                  "deviceFingerPrint": {
                    "type": "string",
                    "description": "Id del dispositivo se obtiene al realizar la toquenizacion",
                    "default": "1668110282365"
                  },
                  "currency": {
                    "type": "string",
                    "description": "Tipo de moneda (Siempre enviar pesos mexicanos)",
                    "default": "MXN"
                  },
                  "installments": {
                    "type": "object",
                    "description": "Configuración de meses sin intereses",
                    "properties": {
                      "plan": {
                        "type": "object",
                        "required": [
                          "count",
                          "interval",
                          "promotion"
                        ],
                        "properties": {
                          "count": {
                            "type": "integer",
                            "description": "Cantidad de meses de la promoción (3, 6, 9 y 12 para VISA, MC y AMEX; 18 solo para VISA y MC)",
                            "default": 6,
                            "format": "int32"
                          },
                          "interval": {
                            "type": "string",
                            "description": "Descipción del intervalo de la promoción (solo \"month\")",
                            "default": "month"
                          },
                          "promotion": {
                            "type": "string",
                            "description": "Código de la promoción",
                            "default": "000603"
                          }
                        }
                      }
                    }
                  },
                  "billing": {
                    "type": "object",
                    "description": "Datos del facturación del tarjetahabiente",
                    "required": [
                      "firstName",
                      "lastName",
                      "email",
                      "phone",
                      "merchantReferenceCode"
                    ],
                    "properties": {
                      "firstName": {
                        "type": "string",
                        "description": "Nombre del tarjetahabiente",
                        "default": "John"
                      },
                      "lastName": {
                        "type": "string",
                        "description": "Apellido del tarjetahabiente",
                        "default": "Doe"
                      },
                      "email": {
                        "type": "string",
                        "description": "Correo electrónico del tarjetahabiente",
                        "default": "accept@netpay.com.mx"
                      },
                      "phone": {
                        "type": "string",
                        "description": "Número telefónico del tarjetahabiente",
                        "default": "5555555555"
                      },
                      "merchantReferenceCode": {
                        "type": "string",
                        "description": "Identificador de la transacción (Definido por el comercio)",
                        "default": "test-1111"
                      },
                      "address": {
                        "type": "object",
                        "required": [
                          "city",
                          "country",
                          "postalCode",
                          "state",
                          "street1"
                        ],
                        "properties": {
                          "city": {
                            "type": "string",
                            "description": "Ciudad",
                            "default": "San Pedro Garza García"
                          },
                          "country": {
                            "type": "string",
                            "description": "País",
                            "default": "MX"
                          },
                          "postalCode": {
                            "type": "string",
                            "description": "Código postal",
                            "default": "66269"
                          },
                          "state": {
                            "type": "string",
                            "description": "Estado",
                            "default": "NL"
                          },
                          "street1": {
                            "type": "string",
                            "description": "Calle",
                            "default": "Humberto Junco Voigt, México 2307-2o Sector, Santa Engracia"
                          },
                          "street2": {
                            "type": "string",
                            "description": "Calle"
                          }
                        }
                      }
                    }
                  },
                  "ship": {
                    "type": "object",
                    "description": "Datos de envío",
                    "required": [
                      "city",
                      "country",
                      "firstName",
                      "lastName",
                      "phoneNumber",
                      "postalCode",
                      "state",
                      "street1",
                      "shippingMethod"
                    ],
                    "properties": {
                      "city": {
                        "type": "string",
                        "description": "Dirección",
                        "default": "San Pedro Garza García"
                      },
                      "country": {
                        "type": "string",
                        "description": "País",
                        "default": "MX"
                      },
                      "firstName": {
                        "type": "string",
                        "description": "Nombre",
                        "default": "John"
                      },
                      "lastName": {
                        "type": "string",
                        "description": "Apellido",
                        "default": "Doe"
                      },
                      "phoneNumber": {
                        "type": "string",
                        "description": "Número telefónico",
                        "default": "5555555555"
                      },
                      "postalCode": {
                        "type": "string",
                        "description": "Código postal",
                        "default": "66269"
                      },
                      "state": {
                        "type": "string",
                        "description": "Estado",
                        "default": "NL"
                      },
                      "street1": {
                        "type": "string",
                        "description": "Calle",
                        "default": "Humberto Junco Voigt, México 2307-2o Sector, Santa Engracia"
                      },
                      "street2": {
                        "type": "string",
                        "description": "Calle"
                      },
                      "shippingMethod": {
                        "type": "string",
                        "description": "Método de envío",
                        "default": "flatrate_flatrate"
                      }
                    }
                  },
                  "redirect3dsUri": {
                    "type": "string",
                    "description": "URL para respuesta de flujo 3D-Secure",
                    "default": "http://example.com/"
                  },
                  "saveCard": {
                    "type": "string",
                    "description": "Guardado de tarjeta",
                    "default": "false"
                  },
                  "referenceID": {
                    "type": "integer",
                    "description": "Este dato se genera en la funcion **config** como lo vimos en el paso anterior",
                    "default": 1668110499354,
                    "format": "int32"
                  },
                  "deviceInformation": {
                    "type": "object",
                    "description": "Datos necesarios para 3Ds",
                    "required": [
                      "httpBrowserColorDepth",
                      "httpBrowserJavaEnabled",
                      "httpBrowserJavaScriptEnabled",
                      "httpBrowserLanguage",
                      "httpBrowserScreenHeight",
                      "httpBrowserScreenWidth",
                      "httpBrowserTimeDifference",
                      "deviceChannel"
                    ],
                    "properties": {
                      "httpBrowserColorDepth": {
                        "type": "integer",
                        "default": 30,
                        "format": "int32"
                      },
                      "httpBrowserJavaEnabled": {
                        "type": "boolean",
                        "default": false
                      },
                      "httpBrowserJavaScriptEnabled": {
                        "type": "boolean",
                        "default": false
                      },
                      "httpBrowserLanguage": {
                        "type": "string",
                        "default": "en-US"
                      },
                      "httpBrowserScreenHeight": {
                        "type": "integer",
                        "default": 179,
                        "format": "int32"
                      },
                      "httpBrowserScreenWidth": {
                        "type": "integer",
                        "default": 1440,
                        "format": "int32"
                      },
                      "httpBrowserTimeDifference": {
                        "type": "integer",
                        "default": 360,
                        "format": "int32"
                      },
                      "deviceChannel": {
                        "type": "string",
                        "default": "Browser"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "201",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"source\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n    \"amount\": 2000.5,\n    \"description\": \"Cargo de prueba new custom\",\n    \"status\": \"success\",\n    \"transactionTokenId\": \"b3a282d8-918e-4ca5-b75f-08fb312f12ab\",\n    \"redirect3dsUri\": \"http://example.com/\",\n    \"returnUrl\": null,\n    \"paymentMethod\": \"card\",\n    \"currency\": \"MXN\",\n    \"createdAt\": \"2022-08-09T00:56:05.604+0000\",\n    \"error\": null,\n    \"installments\": {\n        \"plan\": {\n            \"count\": 6,\n            \"interval\": \"month\",\n            \"promotion\": \"000603\"\n        }\n    },\n    \"ship\": {\n        \"city\": \"Monterrey\",\n        \"country\": \"MX\",\n        \"firstName\": \"Joe\",\n        \"lastName\": \"Doe\",\n        \"phoneNumber\": \"1234567890\",\n        \"postalCode\": \"64700\",\n        \"state\": \"Nuevo Leon\",\n        \"street1\": \"Primera\",\n        \"street2\": \"Centro\",\n        \"shippingMethod\": \"flatrate_flatrate\"\n    },\n    \"client\": null,\n    \"saveCard\": false,\n    \"instegrationsdk\": null,\n    \"integrationSdkVersion\": null,\n    \"cvv\": null,\n    \"merchantRefCode\": null,\n    \"tokenRequestDTO\": null,\n    \"transactionType\": \"Auth\",\n    \"surcharge\": null,\n    \"tokenAmount\": null,\n    \"expiryDate\": null,\n    \"seamless\": false,\n    \"paymentSource\": {\n        \"cardDefault\": false,\n        \"card\": {\n            \"token\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n            \"expYear\": \"22\",\n            \"expMonth\": \"08\",\n            \"lastFourDigits\": \"0007\",\n            \"cardHolderName\": \"John Doe\",\n            \"brand\": \"mastercard\",\n            \"deviceFingerPrint\": \"hdyAWr63jfvf0nnfvyen\",\n            \"ipAddress\": \"254.254.254.1\",\n            \"bank\": \"PUBLIC\",\n            \"type\": \"credit\",\n            \"country\": \"MY\",\n            \"scheme\": \"credit\",\n            \"cardPrefix\": \"520000\",\n            \"preAuth\": false,\n            \"vault\": false,\n            \"simpleUse\": false\n        },\n        \"source\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n        \"type\": \"card\"\n    },\n    \"billing\": {\n        \"firstName\": \"Jon\",\n        \"lastName\": \"Doe\",\n        \"email\": \"accept@netpay.com.mx\",\n        \"phone\": \"8190034544\",\n        \"ipAddress\": \"254.254.254.1\",\n        \"merchantReferenceCode\": \"test-11124\",\n        \"address\": {\n            \"city\": \"Monterrey\",\n            \"country\": \"MX\",\n            \"postalCode\": \"65700\",\n            \"state\": \"Nuevo Leon\",\n            \"street1\": \"Filósofos 100\",\n            \"street2\": \"Tecnologico\"\n        }\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "source": {
                      "type": "string",
                      "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                    },
                    "amount": {
                      "type": "number",
                      "example": 2000.5,
                      "default": 0
                    },
                    "description": {
                      "type": "string",
                      "example": "Cargo de prueba new custom"
                    },
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "transactionTokenId": {
                      "type": "string",
                      "example": "b3a282d8-918e-4ca5-b75f-08fb312f12ab"
                    },
                    "redirect3dsUri": {
                      "type": "string",
                      "example": "http://example.com/"
                    },
                    "returnUrl": {},
                    "paymentMethod": {
                      "type": "string",
                      "example": "card"
                    },
                    "currency": {
                      "type": "string",
                      "example": "MXN"
                    },
                    "createdAt": {
                      "type": "string",
                      "example": "2022-08-09T00:56:05.604+0000"
                    },
                    "error": {},
                    "installments": {
                      "type": "object",
                      "properties": {
                        "plan": {
                          "type": "object",
                          "properties": {
                            "count": {
                              "type": "integer",
                              "example": 6,
                              "default": 0
                            },
                            "interval": {
                              "type": "string",
                              "example": "month"
                            },
                            "promotion": {
                              "type": "string",
                              "example": "000603"
                            }
                          }
                        }
                      }
                    },
                    "ship": {
                      "type": "object",
                      "properties": {
                        "city": {
                          "type": "string",
                          "example": "Monterrey"
                        },
                        "country": {
                          "type": "string",
                          "example": "MX"
                        },
                        "firstName": {
                          "type": "string",
                          "example": "Joe"
                        },
                        "lastName": {
                          "type": "string",
                          "example": "Doe"
                        },
                        "phoneNumber": {
                          "type": "string",
                          "example": "1234567890"
                        },
                        "postalCode": {
                          "type": "string",
                          "example": "64700"
                        },
                        "state": {
                          "type": "string",
                          "example": "Nuevo Leon"
                        },
                        "street1": {
                          "type": "string",
                          "example": "Primera"
                        },
                        "street2": {
                          "type": "string",
                          "example": "Centro"
                        },
                        "shippingMethod": {
                          "type": "string",
                          "example": "flatrate_flatrate"
                        }
                      }
                    },
                    "client": {},
                    "saveCard": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "instegrationsdk": {},
                    "integrationSdkVersion": {},
                    "cvv": {},
                    "merchantRefCode": {},
                    "tokenRequestDTO": {},
                    "transactionType": {
                      "type": "string",
                      "example": "Auth"
                    },
                    "surcharge": {},
                    "tokenAmount": {},
                    "expiryDate": {},
                    "seamless": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "paymentSource": {
                      "type": "object",
                      "properties": {
                        "cardDefault": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "card": {
                          "type": "object",
                          "properties": {
                            "token": {
                              "type": "string",
                              "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                            },
                            "expYear": {
                              "type": "string",
                              "example": "22"
                            },
                            "expMonth": {
                              "type": "string",
                              "example": "08"
                            },
                            "lastFourDigits": {
                              "type": "string",
                              "example": "0007"
                            },
                            "cardHolderName": {
                              "type": "string",
                              "example": "John Doe"
                            },
                            "brand": {
                              "type": "string",
                              "example": "mastercard"
                            },
                            "deviceFingerPrint": {
                              "type": "string",
                              "example": "hdyAWr63jfvf0nnfvyen"
                            },
                            "ipAddress": {
                              "type": "string",
                              "example": "254.254.254.1"
                            },
                            "bank": {
                              "type": "string",
                              "example": "PUBLIC"
                            },
                            "type": {
                              "type": "string",
                              "example": "credit"
                            },
                            "country": {
                              "type": "string",
                              "example": "MY"
                            },
                            "scheme": {
                              "type": "string",
                              "example": "credit"
                            },
                            "cardPrefix": {
                              "type": "string",
                              "example": "520000"
                            },
                            "preAuth": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            },
                            "vault": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            },
                            "simpleUse": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            }
                          }
                        },
                        "source": {
                          "type": "string",
                          "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                        },
                        "type": {
                          "type": "string",
                          "example": "card"
                        }
                      }
                    },
                    "billing": {
                      "type": "object",
                      "properties": {
                        "firstName": {
                          "type": "string",
                          "example": "Jon"
                        },
                        "lastName": {
                          "type": "string",
                          "example": "Doe"
                        },
                        "email": {
                          "type": "string",
                          "example": "accept@netpay.com.mx"
                        },
                        "phone": {
                          "type": "string",
                          "example": "8190034544"
                        },
                        "ipAddress": {
                          "type": "string",
                          "example": "254.254.254.1"
                        },
                        "merchantReferenceCode": {
                          "type": "string",
                          "example": "test-11124"
                        },
                        "address": {
                          "type": "object",
                          "properties": {
                            "city": {
                              "type": "string",
                              "example": "Monterrey"
                            },
                            "country": {
                              "type": "string",
                              "example": "MX"
                            },
                            "postalCode": {
                              "type": "string",
                              "example": "65700"
                            },
                            "state": {
                              "type": "string",
                              "example": "Nuevo Leon"
                            },
                            "street1": {
                              "type": "string",
                              "example": "Filósofos 100"
                            },
                            "street2": {
                              "type": "string",
                              "example": "Tecnologico"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Bad Request (Payment method blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"paymentMethod\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Payment method null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"paymentMethod\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"paymentMethod\",\n            \"value\": \"must not be null\"\n        }\n    ]\n}"
                  },
                  "Bad Request (currency blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"currency\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Currency null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"currency\",\n            \"value\": \"must not be null\"\n        },\n        {\n            \"field\": \"currency\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (First name blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.firstName\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (First name null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.firstName\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.firstName\",\n            \"value\": \"must not be null\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Last name blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.lastName\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Last name null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.lastName\",\n            \"value\": \"must not be null\"\n        },\n        {\n            \"field\": \"billingDto.lastName\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Invalid email)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.email\",\n            \"value\": \"Invalid Email\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Invalid phone number)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.phone\",\n            \"value\": \"Invalid phone number\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Address blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.postalCode\",\n            \"value\": \"must not be null\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.postalCode\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.street1\",\n            \"value\": \"must not be null\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.street1\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.country\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.city\",\n            \"value\": \"must not be null\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.city\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.state\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.state\",\n            \"value\": \"must not be null\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.country\",\n            \"value\": \"must not be null\"\n        }\n    ]\n}"
                  },
                  "Bad Request (City Null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.city\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.city\",\n            \"value\": \"must not be null\"\n        }\n    ]\n}"
                  },
                  "Bad Request (City Blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.city\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Country blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.country\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Country null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.country\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.country\",\n            \"value\": \"must not be null\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Postal Code Blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.postalCode\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Postal Code Null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.postalCode\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.postalCode\",\n            \"value\": \"must not be null\"\n        }\n    ]\n}"
                  },
                  "Bad Request (State Blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.state\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (State Null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.state\",\n            \"value\": \"must not be null\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.state\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Street 1 Blank)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.street1\",\n            \"value\": \"must not be blank\"\n        }\n    ]\n}"
                  },
                  "Bad Request (Street 1 Null)": {
                    "value": "{\n    \"httpStatus\": \"BAD_REQUEST\",\n    \"message\": \"Argument not valid\",\n    \"status\": 400,\n    \"subErrors\": [\n        {\n            \"field\": \"billingDto.addressDto.street1\",\n            \"value\": \"must not be blank\"\n        },\n        {\n            \"field\": \"billingDto.addressDto.street1\",\n            \"value\": \"must not be null\"\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Bad Request (Payment method blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "paymentMethod"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Payment method null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "paymentMethod"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (currency blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "currency"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Currency null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "currency"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be null"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (First name blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.firstName"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (First name null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.firstName"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Last name blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.lastName"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Last name null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.lastName"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be null"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Invalid email)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.email"
                              },
                              "value": {
                                "type": "string",
                                "example": "Invalid Email"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Invalid phone number)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.phone"
                              },
                              "value": {
                                "type": "string",
                                "example": "Invalid phone number"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Address blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.postalCode"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be null"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (City Null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.city"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (City Blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.city"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Country blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.country"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Country null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.country"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Postal Code Blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.postalCode"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Postal Code Null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.postalCode"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (State Blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.state"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (State Null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.state"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be null"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Street 1 Blank)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.street1"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Bad Request (Street 1 Null)",
                      "type": "object",
                      "properties": {
                        "httpStatus": {
                          "type": "string",
                          "example": "BAD_REQUEST"
                        },
                        "message": {
                          "type": "string",
                          "example": "Argument not valid"
                        },
                        "status": {
                          "type": "integer",
                          "example": 400,
                          "default": 0
                        },
                        "subErrors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "field": {
                                "type": "string",
                                "example": "billingDto.addressDto.street1"
                              },
                              "value": {
                                "type": "string",
                                "example": "must not be blank"
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Not Found (Token not found)": {
                    "value": "{\n    \"timestamp\": \"2022-08-09T01:06:55.563+0000\",\n    \"status\": 404,\n    \"error\": \"Not Found\",\n    \"message\": \"CardTokenAndApiKeyOrStoreId not found with token : ''\",\n    \"path\": \"/gateway-ecommerce/v3/charges\"\n}"
                  },
                  "Not Found (Token null)": {
                    "value": "{\n    \"timestamp\": \"2022-08-09T01:08:13.162+0000\",\n    \"status\": 404,\n    \"error\": \"Not Found\",\n    \"message\": \"Charge not found with Transaction Token Id : 'null'\",\n    \"path\": \"/gateway-ecommerce/v3/charges\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Not Found (Token not found)",
                      "type": "object",
                      "properties": {
                        "timestamp": {
                          "type": "string",
                          "example": "2022-08-09T01:06:55.563+0000"
                        },
                        "status": {
                          "type": "integer",
                          "example": 404,
                          "default": 0
                        },
                        "error": {
                          "type": "string",
                          "example": "Not Found"
                        },
                        "message": {
                          "type": "string",
                          "example": "CardTokenAndApiKeyOrStoreId not found with token : ''"
                        },
                        "path": {
                          "type": "string",
                          "example": "/gateway-ecommerce/v3/charges"
                        }
                      }
                    },
                    {
                      "title": "Not Found (Token null)",
                      "type": "object",
                      "properties": {
                        "timestamp": {
                          "type": "string",
                          "example": "2022-08-09T01:08:13.162+0000"
                        },
                        "status": {
                          "type": "integer",
                          "example": 404,
                          "default": 0
                        },
                        "error": {
                          "type": "string",
                          "example": "Not Found"
                        },
                        "message": {
                          "type": "string",
                          "example": "Charge not found with Transaction Token Id : 'null'"
                        },
                        "path": {
                          "type": "string",
                          "example": "/gateway-ecommerce/v3/charges"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "409": {
            "description": "409",
            "content": {
              "application/json": {
                "examples": {
                  "Conflict (Email blank / null)": {
                    "value": "{\n    \"source\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n    \"amount\": 2000.0,\n    \"description\": \"Cargo de prueba new custom\",\n    \"status\": \"failed\",\n    \"transactionTokenId\": \"ab5b80a8-fa8d-41c9-84f8-350156d2c7ac\",\n    \"redirect3dsUri\": \"http://example.com/\",\n    \"returnUrl\": null,\n    \"paymentMethod\": \"card\",\n    \"currency\": \"MXN\",\n    \"createdAt\": \"2022-08-09T01:24:30.196+0000\",\n    \"error\": \"Rejected by Decision Manager\",\n    \"installments\": {\n        \"plan\": {\n            \"count\": 6,\n            \"interval\": \"month\",\n            \"promotion\": \"000603\"\n        }\n    },\n    \"ship\": {\n        \"city\": \"Monterrey\",\n        \"country\": \"MX\",\n        \"firstName\": \"Joe\",\n        \"lastName\": \"Doe\",\n        \"phoneNumber\": \"1234567890\",\n        \"postalCode\": \"64700\",\n        \"state\": \"Nuevo Leon\",\n        \"street1\": \"Primera\",\n        \"street2\": \"Centro\",\n        \"shippingMethod\": \"flatrate_flatrate\"\n    },\n    \"client\": null,\n    \"saveCard\": false,\n    \"instegrationsdk\": null,\n    \"integrationSdkVersion\": null,\n    \"cvv\": null,\n    \"merchantRefCode\": null,\n    \"tokenRequestDTO\": null,\n    \"transactionType\": null,\n    \"surcharge\": null,\n    \"tokenAmount\": null,\n    \"expiryDate\": null,\n    \"seamless\": false,\n    \"paymentSource\": {\n        \"cardDefault\": false,\n        \"card\": {\n            \"token\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n            \"expYear\": \"22\",\n            \"expMonth\": \"08\",\n            \"lastFourDigits\": \"0007\",\n            \"cardHolderName\": \"John Doe\",\n            \"brand\": \"mastercard\",\n            \"deviceFingerPrint\": \"hdyAWr63jfvf0nnfvyen\",\n            \"ipAddress\": \"254.254.254.1\",\n            \"bank\": \"PUBLIC\",\n            \"type\": \"credit\",\n            \"country\": \"MY\",\n            \"scheme\": \"credit\",\n            \"cardPrefix\": \"520000\",\n            \"preAuth\": false,\n            \"vault\": false,\n            \"simpleUse\": false\n        },\n        \"source\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n        \"type\": \"card\"\n    },\n    \"billing\": {\n        \"firstName\": \"Jon\",\n        \"lastName\": \"Doe\",\n        \"email\": \"\",\n        \"phone\": \"8190034544\",\n        \"ipAddress\": \"254.254.254.1\",\n        \"merchantReferenceCode\": \"test-11124\",\n        \"address\": {\n            \"city\": \"Monterrey\",\n            \"country\": \"MX\",\n            \"postalCode\": \"65700\",\n            \"state\": \"Nuevo Leon\",\n            \"street1\": \"Filósofos 100\",\n            \"street2\": \"Tecnologico\"\n        }\n    }\n}"
                  },
                  "Conflict (MerchantReferenceCode blank)": {
                    "value": "{\n    \"source\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n    \"amount\": 2000.0,\n    \"description\": \"Cargo de prueba new custom\",\n    \"status\": \"failed\",\n    \"transactionTokenId\": \"5616614c-9968-4179-9019-32c2bce3d6c7\",\n    \"redirect3dsUri\": \"http://example.com/\",\n    \"returnUrl\": null,\n    \"paymentMethod\": \"card\",\n    \"currency\": \"MXN\",\n    \"createdAt\": \"2022-08-09T01:34:39.060+0000\",\n    \"error\": \"Rejected by Decision Manager\",\n    \"installments\": {\n        \"plan\": {\n            \"count\": 6,\n            \"interval\": \"month\",\n            \"promotion\": \"000603\"\n        }\n    },\n    \"ship\": {\n        \"city\": \"Monterrey\",\n        \"country\": \"MX\",\n        \"firstName\": \"Joe\",\n        \"lastName\": \"Doe\",\n        \"phoneNumber\": \"1234567890\",\n        \"postalCode\": \"64700\",\n        \"state\": \"Nuevo Leon\",\n        \"street1\": \"Primera\",\n        \"street2\": \"Centro\",\n        \"shippingMethod\": \"flatrate_flatrate\"\n    },\n    \"client\": null,\n    \"saveCard\": false,\n    \"instegrationsdk\": null,\n    \"integrationSdkVersion\": null,\n    \"cvv\": null,\n    \"merchantRefCode\": null,\n    \"tokenRequestDTO\": null,\n    \"transactionType\": null,\n    \"surcharge\": null,\n    \"tokenAmount\": null,\n    \"expiryDate\": null,\n    \"seamless\": false,\n    \"paymentSource\": {\n        \"cardDefault\": false,\n        \"card\": {\n            \"token\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n            \"expYear\": \"22\",\n            \"expMonth\": \"08\",\n            \"lastFourDigits\": \"0007\",\n            \"cardHolderName\": \"John Doe\",\n            \"brand\": \"mastercard\",\n            \"deviceFingerPrint\": \"hdyAWr63jfvf0nnfvyen\",\n            \"ipAddress\": \"254.254.254.1\",\n            \"bank\": \"PUBLIC\",\n            \"type\": \"credit\",\n            \"country\": \"MY\",\n            \"scheme\": \"credit\",\n            \"cardPrefix\": \"520000\",\n            \"preAuth\": false,\n            \"vault\": false,\n            \"simpleUse\": false\n        },\n        \"source\": \"token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH\",\n        \"type\": \"card\"\n    },\n    \"billing\": {\n        \"firstName\": \"Jon\",\n        \"lastName\": \"Doe\",\n        \"email\": \"accept@netpay.com.mx\",\n        \"phone\": \"8190034544\",\n        \"ipAddress\": \"254.254.254.1\",\n        \"merchantReferenceCode\": \"\",\n        \"address\": {\n            \"city\": \"Monterrey\",\n            \"country\": \"MX\",\n            \"postalCode\": \"65700\",\n            \"state\": \"Nuevo Leon\",\n            \"street1\": \"Filósofos 100\",\n            \"street2\": \"Tecnologico\"\n        }\n    }\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Conflict (Email blank / null)",
                      "type": "object",
                      "properties": {
                        "source": {
                          "type": "string",
                          "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                        },
                        "amount": {
                          "type": "integer",
                          "example": 2000,
                          "default": 0
                        },
                        "description": {
                          "type": "string",
                          "example": "Cargo de prueba new custom"
                        },
                        "status": {
                          "type": "string",
                          "example": "failed"
                        },
                        "transactionTokenId": {
                          "type": "string",
                          "example": "ab5b80a8-fa8d-41c9-84f8-350156d2c7ac"
                        },
                        "redirect3dsUri": {
                          "type": "string",
                          "example": "http://example.com/"
                        },
                        "returnUrl": {},
                        "paymentMethod": {
                          "type": "string",
                          "example": "card"
                        },
                        "currency": {
                          "type": "string",
                          "example": "MXN"
                        },
                        "createdAt": {
                          "type": "string",
                          "example": "2022-08-09T01:24:30.196+0000"
                        },
                        "error": {
                          "type": "string",
                          "example": "Rejected by Decision Manager"
                        },
                        "installments": {
                          "type": "object",
                          "properties": {
                            "plan": {
                              "type": "object",
                              "properties": {
                                "count": {
                                  "type": "integer",
                                  "example": 6,
                                  "default": 0
                                },
                                "interval": {
                                  "type": "string",
                                  "example": "month"
                                },
                                "promotion": {
                                  "type": "string",
                                  "example": "000603"
                                }
                              }
                            }
                          }
                        },
                        "ship": {
                          "type": "object",
                          "properties": {
                            "city": {
                              "type": "string",
                              "example": "Monterrey"
                            },
                            "country": {
                              "type": "string",
                              "example": "MX"
                            },
                            "firstName": {
                              "type": "string",
                              "example": "Joe"
                            },
                            "lastName": {
                              "type": "string",
                              "example": "Doe"
                            },
                            "phoneNumber": {
                              "type": "string",
                              "example": "1234567890"
                            },
                            "postalCode": {
                              "type": "string",
                              "example": "64700"
                            },
                            "state": {
                              "type": "string",
                              "example": "Nuevo Leon"
                            },
                            "street1": {
                              "type": "string",
                              "example": "Primera"
                            },
                            "street2": {
                              "type": "string",
                              "example": "Centro"
                            },
                            "shippingMethod": {
                              "type": "string",
                              "example": "flatrate_flatrate"
                            }
                          }
                        },
                        "client": {},
                        "saveCard": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "instegrationsdk": {},
                        "integrationSdkVersion": {},
                        "cvv": {},
                        "merchantRefCode": {},
                        "tokenRequestDTO": {},
                        "transactionType": {},
                        "surcharge": {},
                        "tokenAmount": {},
                        "expiryDate": {},
                        "seamless": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "paymentSource": {
                          "type": "object",
                          "properties": {
                            "cardDefault": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            },
                            "card": {
                              "type": "object",
                              "properties": {
                                "token": {
                                  "type": "string",
                                  "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                                },
                                "expYear": {
                                  "type": "string",
                                  "example": "22"
                                },
                                "expMonth": {
                                  "type": "string",
                                  "example": "08"
                                },
                                "lastFourDigits": {
                                  "type": "string",
                                  "example": "0007"
                                },
                                "cardHolderName": {
                                  "type": "string",
                                  "example": "John Doe"
                                },
                                "brand": {
                                  "type": "string",
                                  "example": "mastercard"
                                },
                                "deviceFingerPrint": {
                                  "type": "string",
                                  "example": "hdyAWr63jfvf0nnfvyen"
                                },
                                "ipAddress": {
                                  "type": "string",
                                  "example": "254.254.254.1"
                                },
                                "bank": {
                                  "type": "string",
                                  "example": "PUBLIC"
                                },
                                "type": {
                                  "type": "string",
                                  "example": "credit"
                                },
                                "country": {
                                  "type": "string",
                                  "example": "MY"
                                },
                                "scheme": {
                                  "type": "string",
                                  "example": "credit"
                                },
                                "cardPrefix": {
                                  "type": "string",
                                  "example": "520000"
                                },
                                "preAuth": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "vault": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "simpleUse": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                }
                              }
                            },
                            "source": {
                              "type": "string",
                              "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                            },
                            "type": {
                              "type": "string",
                              "example": "card"
                            }
                          }
                        },
                        "billing": {
                          "type": "object",
                          "properties": {
                            "firstName": {
                              "type": "string",
                              "example": "Jon"
                            },
                            "lastName": {
                              "type": "string",
                              "example": "Doe"
                            },
                            "email": {
                              "type": "string",
                              "example": ""
                            },
                            "phone": {
                              "type": "string",
                              "example": "8190034544"
                            },
                            "ipAddress": {
                              "type": "string",
                              "example": "254.254.254.1"
                            },
                            "merchantReferenceCode": {
                              "type": "string",
                              "example": "test-11124"
                            },
                            "address": {
                              "type": "object",
                              "properties": {
                                "city": {
                                  "type": "string",
                                  "example": "Monterrey"
                                },
                                "country": {
                                  "type": "string",
                                  "example": "MX"
                                },
                                "postalCode": {
                                  "type": "string",
                                  "example": "65700"
                                },
                                "state": {
                                  "type": "string",
                                  "example": "Nuevo Leon"
                                },
                                "street1": {
                                  "type": "string",
                                  "example": "Filósofos 100"
                                },
                                "street2": {
                                  "type": "string",
                                  "example": "Tecnologico"
                                }
                              }
                            }
                          }
                        }
                      }
                    },
                    {
                      "title": "Conflict (MerchantReferenceCode blank)",
                      "type": "object",
                      "properties": {
                        "source": {
                          "type": "string",
                          "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                        },
                        "amount": {
                          "type": "integer",
                          "example": 2000,
                          "default": 0
                        },
                        "description": {
                          "type": "string",
                          "example": "Cargo de prueba new custom"
                        },
                        "status": {
                          "type": "string",
                          "example": "failed"
                        },
                        "transactionTokenId": {
                          "type": "string",
                          "example": "5616614c-9968-4179-9019-32c2bce3d6c7"
                        },
                        "redirect3dsUri": {
                          "type": "string",
                          "example": "http://example.com/"
                        },
                        "returnUrl": {},
                        "paymentMethod": {
                          "type": "string",
                          "example": "card"
                        },
                        "currency": {
                          "type": "string",
                          "example": "MXN"
                        },
                        "createdAt": {
                          "type": "string",
                          "example": "2022-08-09T01:34:39.060+0000"
                        },
                        "error": {
                          "type": "string",
                          "example": "Rejected by Decision Manager"
                        },
                        "installments": {
                          "type": "object",
                          "properties": {
                            "plan": {
                              "type": "object",
                              "properties": {
                                "count": {
                                  "type": "integer",
                                  "example": 6,
                                  "default": 0
                                },
                                "interval": {
                                  "type": "string",
                                  "example": "month"
                                },
                                "promotion": {
                                  "type": "string",
                                  "example": "000603"
                                }
                              }
                            }
                          }
                        },
                        "ship": {
                          "type": "object",
                          "properties": {
                            "city": {
                              "type": "string",
                              "example": "Monterrey"
                            },
                            "country": {
                              "type": "string",
                              "example": "MX"
                            },
                            "firstName": {
                              "type": "string",
                              "example": "Joe"
                            },
                            "lastName": {
                              "type": "string",
                              "example": "Doe"
                            },
                            "phoneNumber": {
                              "type": "string",
                              "example": "1234567890"
                            },
                            "postalCode": {
                              "type": "string",
                              "example": "64700"
                            },
                            "state": {
                              "type": "string",
                              "example": "Nuevo Leon"
                            },
                            "street1": {
                              "type": "string",
                              "example": "Primera"
                            },
                            "street2": {
                              "type": "string",
                              "example": "Centro"
                            },
                            "shippingMethod": {
                              "type": "string",
                              "example": "flatrate_flatrate"
                            }
                          }
                        },
                        "client": {},
                        "saveCard": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "instegrationsdk": {},
                        "integrationSdkVersion": {},
                        "cvv": {},
                        "merchantRefCode": {},
                        "tokenRequestDTO": {},
                        "transactionType": {},
                        "surcharge": {},
                        "tokenAmount": {},
                        "expiryDate": {},
                        "seamless": {
                          "type": "boolean",
                          "example": false,
                          "default": true
                        },
                        "paymentSource": {
                          "type": "object",
                          "properties": {
                            "cardDefault": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            },
                            "card": {
                              "type": "object",
                              "properties": {
                                "token": {
                                  "type": "string",
                                  "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                                },
                                "expYear": {
                                  "type": "string",
                                  "example": "22"
                                },
                                "expMonth": {
                                  "type": "string",
                                  "example": "08"
                                },
                                "lastFourDigits": {
                                  "type": "string",
                                  "example": "0007"
                                },
                                "cardHolderName": {
                                  "type": "string",
                                  "example": "John Doe"
                                },
                                "brand": {
                                  "type": "string",
                                  "example": "mastercard"
                                },
                                "deviceFingerPrint": {
                                  "type": "string",
                                  "example": "hdyAWr63jfvf0nnfvyen"
                                },
                                "ipAddress": {
                                  "type": "string",
                                  "example": "254.254.254.1"
                                },
                                "bank": {
                                  "type": "string",
                                  "example": "PUBLIC"
                                },
                                "type": {
                                  "type": "string",
                                  "example": "credit"
                                },
                                "country": {
                                  "type": "string",
                                  "example": "MY"
                                },
                                "scheme": {
                                  "type": "string",
                                  "example": "credit"
                                },
                                "cardPrefix": {
                                  "type": "string",
                                  "example": "520000"
                                },
                                "preAuth": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "vault": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "simpleUse": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                }
                              }
                            },
                            "source": {
                              "type": "string",
                              "example": "token_vKCUuuSKvuUUySuRuIDKRnpyOLsDDOEJycnvCjjH"
                            },
                            "type": {
                              "type": "string",
                              "example": "card"
                            }
                          }
                        },
                        "billing": {
                          "type": "object",
                          "properties": {
                            "firstName": {
                              "type": "string",
                              "example": "Jon"
                            },
                            "lastName": {
                              "type": "string",
                              "example": "Doe"
                            },
                            "email": {
                              "type": "string",
                              "example": "accept@netpay.com.mx"
                            },
                            "phone": {
                              "type": "string",
                              "example": "8190034544"
                            },
                            "ipAddress": {
                              "type": "string",
                              "example": "254.254.254.1"
                            },
                            "merchantReferenceCode": {
                              "type": "string",
                              "example": ""
                            },
                            "address": {
                              "type": "object",
                              "properties": {
                                "city": {
                                  "type": "string",
                                  "example": "Monterrey"
                                },
                                "country": {
                                  "type": "string",
                                  "example": "MX"
                                },
                                "postalCode": {
                                  "type": "string",
                                  "example": "65700"
                                },
                                "state": {
                                  "type": "string",
                                  "example": "Nuevo Leon"
                                },
                                "street1": {
                                  "type": "string",
                                  "example": "Filósofos 100"
                                },
                                "street2": {
                                  "type": "string",
                                  "example": "Tecnologico"
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Internal Server Error (Billing null)": {
                    "value": "{\n    \"timestamp\": \"2022-08-09T01:15:13.791+0000\",\n    \"status\": 500,\n    \"error\": \"Internal Server Error\",\n    \"message\": \"No message available\",\n    \"path\": \"/gateway-ecommerce/v3/charges\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "timestamp": {
                      "type": "string",
                      "example": "2022-08-09T01:15:13.791+0000"
                    },
                    "status": {
                      "type": "integer",
                      "example": 500,
                      "default": 0
                    },
                    "error": {
                      "type": "string",
                      "example": "Internal Server Error"
                    },
                    "message": {
                      "type": "string",
                      "example": "No message available"
                    },
                    "path": {
                      "type": "string",
                      "example": "/gateway-ecommerce/v3/charges"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```