Javascript API Documentation

Secure Frames

Include the optional optimisations to your page

First you must include the PCI-Bridge (Card Tokenization) JavaScript, followed by the ChargeHive JS

Once the JS has been included on your page, you can then initialize your elements, with the following code

For data capture, you must insert the Chargehive elements onto your page. These should be wrapped by a styling container, to make the elements match your website styles.

Name On Card

Name On Card

Card Number

Card Number

Card CVV

CVV

Card Expiry Date

MM/YY

Card Expiry Month

MM

Card Expiry Year

YY

Displaying a card brand