Pago en un sólo paso
Changed onPermite generar una orden de cobro, almacenar la tarjeta y realizar el pago en una sola petición. Sólo usable por clientes PCI.
Si el pago es no seguro y se proporciona el TraceID en el campo extra_data.cof.txnid, se realizará un pago directo (MIT).
Si el pago es seguro se devolverá el enlace al pago tokenizado por 3DS para que el usuario finalice el pago de forma segura. En caso de que el antifraude detecte riesgo, se devolverá un enlace para que el usuario finalice el pago tokenizado por 3DS.
Si se envían datos de tarjetas dinámicas (DPAN) como aquellas obtenidas a través de Google Pay, Apple Pay o VTS/MDES, es obligatorio enviar los campos cryptogram y eci en el objeto dpan_data si se trata de una CIT. En pagos MIT, basta con indicar los datos de la tarjeta y el TraceID.
Request
- Base URLhttps://api.paylands.com/v1/sandbox
- URLhttps://api.paylands.com/v1/sandbox/charge
- Authnone required
Parameters
Request body
Example request
{
"signature": "341f7de8e6fc49da8d8736473af6b03a",
"amount": 100,
"operative": "AUTHORIZATION",
"secure": false,
"customer_ext_id": "test",
"service": "9A1BDCC8-DB30-4ED2-8523-62B330A67873",
"description": "Payment #1",
"additional": null,
"url_post": "https://my.website.com/process",
"url_ok": "https://my.website.com/ok",
"url_ko": "https://my.website.com/ko",
"template_uuid": "6412549E-933E-4DFE-A225-2E87FBF7623E",
"dcc_template_uuid": "BF418CA6-7043-4864-B36F-F02C2CF2B76B",
"card_holder": "Jose",
"card_pan": "4761739000060016",
"card_expiry_month": "12",
"card_expiry_year": "21",
"card_additional": "Card additional",
"card_cvv": "123",
"customer_ip": "127.0.0.1",
"reference": "50620",
"dynamic_descriptor": "PNP*NombreComercio",
"threeds_data": {
"version": 2.2,
"trans_status": "Y",
"eci": 5,
"cavv": "012fE34RTD34567AkFlR98Ol65Fr",
"ds_trans_id": "ba2fad84-2a9f-4a5a-8ca6-9eb74f7908ac"
},
"expires_in": 3600
}Response
OK
Changes
- breaking
removed the enum value
jaof the request property/// - warning
added the new
jpenum value to the////response property for the response status - info
added the new
jpenum value to the request property/// - info
removed the
jaenum value from the////response property for the response status
- breaking
- breaking
removed the enum value
jpof the request property/// - warning
added the new
jaenum value to the////response property for the response status - info
added the new
jaenum value to the request property/// - info
removed the
jpenum value from the////response property for the response status
- breaking