Prerequisites
- A PCI Booking merchant account.
- Credentials configured for the payment methods you want to accept. Contact your PCI Booking account manager for setup.
Installation
npm
CDN
eWallet object when loaded via CDN.
Create a Session
Before initializing the library, your server must create a payment session with PCI Booking. The session defines the operation type (e.g.TOKENIZE, CHARGE) and returns a session token.
Pass the session token to your frontend to initialize the library.
Minimal Working Example
Session tokens are single-use. Create a new session for each checkout attempt.
Server-Side Validation
After the customer completes the payment, your callback receives a result token. Send this token to your server and call the Validate Operation endpoint to confirm the result is authentic.Next Steps
Supported Payment Methods
See which methods are available and their supported operations
Library Reference
Full API surface: constructor parameters, all methods, UI options

