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.
- Extensions
- Gateway Components (Gateway.js)
Kount Variable
When a customer is on a payment page, the Kount library will provide the following, which you must submit to the payment API in order for Kount to function properly:| Variable | Description | When Received |
|---|---|---|
| transaction_session_id | A single use session ID used by Kount to link the transaction and Data Collector information together.This ID should be generated every time a payment form is loaded by the cardholder, and be random/unpredictable (do not use sequential IDs). This ID should not be reused within a 30 day period. | After the Kount data collector has run |
Quick Start Guide
Initialize Gateway.js
Start with the Initialize Gateway.js guide.
Run the Kount Data Collector
Call Kount’s
createSession() and use then() to retrieve the session ID.- If running Kount with Collect.js:
Render a Collect.js form to collect the credit card information. Use Collect.js’s
configure()method to supply a callback. The callback will provide the Collect.js payment token in place of the credit card details.
Create a Javascript object with the details of the transaction
The details should include:
Session IDs need to be provided to the payment API. If you don’t pass a Session ID, Kount will
not run correctly.
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.
cardNumber,cardExpMonth,cardExpYear,currency,amount,emailcity,address1,country,zip,first_name,last_name, andtransaction_session_id.
If running Kount with Collect.js, paymentToken will replace card details.


Example
Testing CardEase 3DS Server Integration