Continúa después de un desafío 3DS
Reanuda un pago pausado por un desafío 3DS. Pasa el sessionId de la respuesta pending_3ds. No se requiere clave de API.
status: "pending_3ds", el titular de la tarjeta debe completar un desafío 3D Secure en la URL proporcionada en actionRequired.url. Una vez que el titular de la tarjeta termina el desafío, llama a POST /payment/resume para continuar procesando el pago y recibir el resultado final.
Cómo funciona la reanudación de 3DS
- Tu llamada de purchase o autorización devuelve
status: "pending_3ds"con un objetoactionRequired. - Redirige al titular de la tarjeta (o abre un iframe) a
actionRequired.url. - Después de que se completa el desafío, el titular de la tarjeta es redirigido de vuelta a tu sitio.
- Llamas a
POST /payment/resumecon elsessionIdpara obtener el resultado final del pago.
sessionId actúa como la credencial y está limitado a un solo pago pendiente. Las sesiones expiran 15 minutos después de que se emite el desafío 3DS — si la sesión ha expirado, se debe reintentar el purchase o la autorización original.status final, refusalCode en caso de rechazo, y todo lo demás — la misma forma que purchase/authorization.
Reanudar después de un desafío 3DS
Sesión expirada —400 Bad Request
Cuerpo
The sessionId from a pending_3ds / pending_action payment response.
Respuesta
Resumed payment result
The Therius payment id. Returned by POST /payment/authorization and POST /payment/purchase; use it as the {id} path segment for capture, refund, cancel and cancel_or_refund.
"9f8b2c1e-4d5a-6b7c-8d9e-0f1a2b3c4d5e"
captured - funds settled; authorized - funds reserved, call capture to settle; declined - issuer declined, see refusalCode; pending_3ds - a 3DS challenge is required, see actionRequired; pending_action - an external action (redirect, voucher) is required, see actionRequired; failed - processing error unrelated to the issuer; cancelled - authorization voided; refunded - captured funds returned.
captured, authorized, declined, pending_3ds, pending_action, failed, cancelled, refunded Therius receipt ID, for reconciliation, support and Inquiry. NOT the handle for capture/refund/cancel — use id for that.
"PC-1234567890"
Your orderCode, echoed back.
Your merchantCode, echoed back.
Issuer authorization code on an approved payment. The field name is misspelled on the wire (no h) - this is intentional and stable.
Payment method used, e.g. card, pix, ach.
Code of the gateway connection that processed the payment.
Display name of the gateway connection that processed the payment.
Card details from the response: masked PAN, brand, type, and the network transaction/reference IDs to cite on future MIT charges.
Alternative-payment-method details (redirect URL, QR code, barcode) when paymentMethod is an APM.
Present when the card was tokenized (tokenize: true).
Present when status is pending_3ds or pending_action. Describes what the cardholder must do next — with the Therius JS SDK, pass the whole object to sdk.handleAction().
Present when status is declined. See the Declined Payments concept page for the full code table and how to react to each recoveryAction.

