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 Token6037
: All fields are empty9090
: Invalid Age Format9102
: Invalid tdc number9098
: Incorrect tdc number length9100
: Invalid TDC CCV9103
: Incorrect CCV length9101
: Empty tdc name9105
: Last name of tdc empty9106
: Invalid format for expiration date9104
: Expired date9107
: The voucher has already been paid