Introduction
Agreement
Authentication
Batch
Browser Payment
Gateway
Hosted Checkout
Payment Plan
Session
Tokenization
Transaction
Wallet
RESOURCES
Changelog
Rupay SDK overview
The rupay.js is a JavaScript based client-side SDK for Rupay authentication flows for online payments.
Supported only in API version 55 and later.
URL Copied to clipboard
https://test-nbkpayment.mtf.gateway.mastercard.com/static/rupay/1.0.0/rupay.jsFunctions Copied to clipboard
configure()
Configuration method for initializing the API.
isConfigured()
Convenience method to check if the API has been configured successfully.
onEvent()
Method to subscribe for event changes.
initiateAuthentication()
Initiate RuPay Authentication for the arguments passed.
authenticatePayer()
Authentication method for authenticating payer using RuPay that was initiated using initiateAuthentication
call.
getLastCorrelationId()
Get the last correlation id that was used for making the REST API call.