• Getting Started
    • Mobile Integration (Android/IOS)
      Enterprise Solutions
      Accept Payments
      Process Payments
      Disbursals
      API References
      Webhooks
      Testing
      Refunds
      Guides
      Other Processes
      Mini Program Platform
        Website Integration

      Additional API

      Paytm provides you additional JS APIs to "bridge" the gap between native and web app (e.g geolocation ,contacts,gallery ,camera, permission).

      Note: This is an optional integration for your specific requirements. However, we recommend you to integrate these JS APIs to enhance user experience wherever required

      The list of JS APIs currently supported are given below:

      S.NOJS APIFunctionality
      Navigator control
      1.paytmPushWindowpaytmPushWindow is used to push a new window to show new page. It adds a page to the stack and can be launched with custom startup params.
      2.popWindowpopWindow is used to close the current page. Can be called to exit the AppContainer.
      Tool
      3.checkJSAPIJSApi usability judgment
      Permissions
      4.paytmCheckPermissionChecks if permissions are granted/denied.
      5.paytmRequestPermissionA bridge that requests permissions from users.
      Fetch Location
      6.paytmGetLocationBridge to fetch location. Need to implement custom providers to use this bridge
      Open Gallery And Pick Image
      7.paytmOpenGalleryUse the bridge below to open a custom image picker on iOS/Android, and get a callback once the user has picked an image or has cancelled
      Authentication
      8.paytmFetchAuthCodeThis API can be used to get AuthCode and OpenID for the user accessing the Mini Program.
      Payment
      9.paytmPaymentThis method can be used to invoke paytm payment option, user will be able to see all the available payment options, after successful transaction client side will receive the callback