Checkoutform webhook

Checkoutform webhook

A continuación encontrará las respuestas del webhook del checkoutform

 

 

Respuestas sin 3DS

Si su webhook configurado es el siguiente https://mywebhook.com/ la respuesta del checkoutform sin 3DS llegará a la url https://mywebhook.com/ esa url debe existir en su backend

Recuerde debe configurar su webhook para su comercio, o solicitar al equipo de soporte la ayuda respectiva, revisar sección Webhook V2

Respuesta exitosa

{ "status": 200, "orderId": "compra-2024-10-28-USD-928", "authorization": "831000", "amount": 31, "currency": "USD", "token": "f46528c0-954f-11ef-8500-27f1ad691f71", "internalRef": 6587408164264, "transactionId": "1758af74-302c-4602-8f40-69c30dff39cc", "errors": [], "last4": "1815", "brand": "Mastercard" }

Respuesta fallida

{ "status": 500, "orderId": "compra-2024-10-28-USD-842", "authorization": null, "amount": 37, "currency": "USD", "token": null, "internalRef": 239443691564, "transactionId": "e6afefac-5aed-4deb-96af-784241addc38", "errors": [ "invalid PAN" ], "last4": "1811", "brand": "Mastercard" }

Respuestas con 3DS

Si su webhook configurado es el siguiente https://mywebhook.com/ la respuesta del checkoutform con 3DS llegará a la url https://mywebhook.com/3DS esa url debe existir en su backend

Recuerde debe configurar su webhook para su comercio, o solicitar al equipo de soporte la ayuda respectiva, revisar sección Webhook V2

Respuesta exitosa

{ "id": "7301477069456173304951", "code": "0c03441a-33d5-44cf-8d8a-84c1cad46992", "status": "AUTHENTICATION_SUCCESSFUL", "authenticationTransactionId": "355fc5RZAUYv3hKAn1k0", "acsTransactionId": "8328baed-7537-43aa-bf5d-407af2b88050", "paresStatus": "Y", "threeDSServerTransactionId": "26b49c8b-f3e6-41ef-a95d-f906c4554497", "veresEnrolled": "Y", "directoryServerTransactionId": "c037f78e-075c-4ccf-b79a-9a7616f1d750", "error": {}, "consumerAuthenticationInformation": { "acsTransactionId": "8328baed-7537-43aa-bf5d-407af2b88050", "authenticationTransactionId": "355fc5RZAUYv3hKAn1k0", "cavv": "AJkBBkhgQQAAAE4gSEJydQAAAAA=", "ecommerceIndicator": "vbv", "eci": "05", "eciRaw": "05", "paresStatus": "Y", "specificationVersion": "2.2.0", "threeDSServerTransactionId": "26b49c8b-f3e6-41ef-a95d-f906c4554497", "veresEnrolled": "Y", "xid": "AJkBBkhgQQAAAE4gSEJydQAAAAA=", "directoryServerTransactionId": "c037f78e-075c-4ccf-b79a-9a7616f1d750", "acsOperatorID": "MerchantACS", "acsReferenceNumber": "Cardinal ACS" }, "transaction": { "id": "0c03441a-33d5-44cf-8d8a-84c1cad46992", "status": "SUCCESSFUL", "description": "API-V2-CRC", "authorization": "831000", "webhook_url": "https://webhook.site/65abb7cf-6502-4df6-b3af-cc5893527c87", "orderReference": "API-V2-CRC-6885" } }

Respuesta fallida