The Kount data collector should be run immediately on a payment page, and may be run multiple times. Each call to createSession() will return a session ID. When submitting, use the latest value. Session IDs need to be provided to the payment API. If you don’t pass a Session ID, Kount will not run correctly.Documentation Index
Fetch the complete documentation index at: https://bancofcalifornia-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Initialize Gateway.js
Start by initializing Gateway.js with your public key. You can view your existing public keys
or create a new one in the merchant portal’s
Security Keys page.
Run the Kount data collector
Run the Kount data collector by calling Kount’s
createSession() and retrieve the session ID
using .then().Build the transaction object
Create a Javascript object with the details of the transaction. The details should include the
credit card information, currency, amount, email, city, address1, country, zip, first_name,
last_name, and
transaction_session_id.