Complete 3-D Secure after fingerprinting
Call this only after charge returned data.status of fingerprint_required, once the device-fingerprint iframe has reported completion or timed out. No session ID is needed, because it was stored against the payment during charge.
The response has the same shape as a charge. data.status is success, failed, or 3ds_required with data.threeDsHtml for the issuer challenge. Calling this at any other time is rejected.
When the issuer challenges the customer, the challenge frame posts back to Vestrapay’s 3-D Secure callback, which then sends your parent window a message with type set to vestrapay.3ds.complete. Listen for it, then confirm with verify on your server. As a fallback, watch the checkout.completed event on the checkout events stream.
Authorizations
The accessCode returned by initialise. Scoped to one payment and valid for 60 minutes.
Safe to give to the customer's browser.