Card Capture IFrame API
JavaScript API to work with Card Capture IFrame
<iframe
id="cardCaptureIframe"
height="300"
scrolling="no"
style="border: 0;"
src="{{cardCaptureIframeUrl}}">
</iframe>IFrame communication
Submit Form
const cardCaptureIframe = document.getElementById("cardCaptureIframe");
cardCaptureIframe.contentWindow.postMessage("submit", "https://pci.vaultera.co");Validate Form
Handle response
Validate response
Submit response
IFrame configuration
Accepted card types
Custom styles
Language
Service Code
Optional
Hidden
Last updated