Rupay SDK overview

The rupay.js is a JavaScript based client-side SDK for Rupay authentication flows for online payments.

Supported only in Web-Services API version 55 and later.


URL Copied to clipboard

https://gateway-japa.americanexpress.com/static/rupay/1.0.0/rupay.js

Functions 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.