paymentMethod (PUT)



  • Endpoint : preview.ilsbsys.com/apirest_v1/quote

Input Fields

Tag name Type Size Priority
request string 30 (Mandatory)
token string 16 (Mandatory)
codigo string 15 (Mandatory)
tdcNumero string 15 (Mandatory)
tdcTipo string 20 (Mandatory)
tdcFechaExpiracion string 15 (Mandatory)
ccv string 10 (Mandatory)
tdcNombre string 300 (Mandatory)
tdcApellido string 300 (Mandatory)


Fields

{
  "request" : "paymentMethod",
  "token" : "rrtttt",
  "codigo" : "RA-test1245",
  "tdcNumero" : "6011000000000012",
  "tdcTipo" : "discover",
  "tdcFechaExpiracion" : "12/2025",
  "ccv" : "781",
  "tdcNombre" : "Penelopa",
  "tdcApellido" : "Ethelny"
}

Results


{ "status": "Aprobado",
  "codigo": "RA-6ECF9A"
}

To decode this response on the client side in an array, if you wish, you must apply the json_decode() function in php or its similar in the programming language you use.

Test Card

They can only be generated in the testing process, when in production it will generate an error.

{
  "numero de la tarjeta" : "6011000000000012",
  "tdc Tipo" : "discover",
  "fecha de expiracion" : "12/2025",
  "ccv" : "781",
  "nombre " : "Penelopa",
  "apellido" : "Ethelny"
}

Common Error Codes

  • 1005 : Invalid Token
  • 6037 : All fields are empty
  • 9090 : Invalid Age Format
  • 9102 : Invalid tdc number
  • 9098 : Incorrect tdc number length
  • 9100 : Invalid TDC CCV
  • 9103 : Incorrect CCV length
  • 9101 : Empty tdc name
  • 9105 : Last name of tdc empty
  • 9106 : Invalid format for expiration date
  • 9104 : Expired date
  • 9107 : The voucher has already been paid