This page is part of the Payments Library Guides. For what your backend does after capture, like charging stored tokens and refunds, see the REST API Guides.
Available on npm as
@orchestrasolutions/ewallet.Installation
Data Flow
Quick Start
1. Initialize the Engine
sessionToken comes from your backend via POST /EWalletOperations. Here is how to create a session on your server:
Other Session Parameters
The example above uses the minimum. The session also accepts:operation decides what the session does: CHARGE, TOKENIZE, GATEWAY_TOKENIZE, CHARGE_AND_TOKENIZE or PREAUTH_AND_TOKENIZE. Use one of the combined values when you want to save the card at the same time as taking the payment, which is the usual starting point for scheduled payments.2. Check Available Payment Methods
3. Display Buttons
Add container elements to your HTML:Each payment method requires its own container element with a unique selector. If you add multiple payment methods, create a separate container for each.
4. Handle Results
Payment Methods
What’s Next
Supported Payment Methods
CardPay, ApplePay, GooglePay, PayPal, BankPay, UPI
Library Reference
Button styling, result parsing, address collection, localization
Result Handling
Parse and validate payment results
Complete Example
End-to-end integration example