SDK Integration
  • Getting Started
  • Onboarding Requirements
  • Hash Generation
  • Test Merchant list
  • Android
    • Android SDK Offering
    • PayUCheckoutPro
      • Integration
      • Build the Payment Params
        • Additional Params
      • Hash Generation
      • Set up the payment hashes
      • Initiate the Payment
      • Customized Integration
        • Set Webview Properties
        • SDK Configuration
        • Additional Offerings
      • Offers Integration
      • Convenience Fee Integration
      • Custom Note Integration
      • MCP Integration
    • Core
      • Supported Payment Types
      • TPV Integration
      • Merchant Web Services
        • Getting Enabled Payment Options
        • GetCheckoutDetails API
        • Lookup API
    • Custom Browser
      • Integration
        • CustomBrowser Config
        • CustomBrowserCallback
        • Supporting below Lollipop Versions
        • Third-Party Payments Support
      • Sample App
      • Change Logs
    • Native OTP Assist
      • Integration
      • Customization
      • Change Logs
    • UPI
      • Integration
      • TPV Integration in UPI
      • Sample App
      • Change Logs
    • Google Pay™
      • Integration
      • Sample App
    • PhonePe
      • Integration
      • Sample App
      • Change Logs
    • OlaMoney
    • PayU OTP Parser
      • Integration
    • FAQ Android
  • iOS
    • PayUCheckoutPro
      • Integration
      • Advanced Integration
      • Set up the payment hashes
      • Convenience Fee Integration
      • MCP Integration
      • Custom Note Integration
    • Core
      • POD Integration
      • Seamless
      • Web Services
      • Objective C-Non-Seamless
      • Standing Instructions
      • TPV Integration
      • Sample App
    • Custom Browser
      • Sample App
    • OlaMoney
    • Native OTP Assist
      • Integration
      • Customization
    • UPI
      • Integration
      • Sample App
    • PayUParams
      • PayUSIParams
      • PayUBeneficiaryParams
  • Releasing to Apple
  • React-Native
    • PayUCheckoutPro
      • Integration
      • Set up the payment hashes
      • Advanced Integration
      • Change Logs
    • Core
    • Non-Seamless Wrapper
    • TPV (beta)
      • Integration
  • FAQ iOS
Powered by GitBook
On this page
  • Merchant Logo
  • Theme Colour
  • Merchant Response Timeout
  • Disable Merchant Summary from UI.
  • Card Bin Eligibility Check

Was this helpful?

  1. iOS
  2. Native OTP Assist

Customization

The Native OTP Assist SDK provides several customization options allowing you to make the SDK closer to the look & feel of your app and work as per your business requirements.

Following customizations are allowed:

  • Update merchant Logo.

  • Change the theme color.

  • Update merchant response timeout for fallback.

  • Disable Merchant Summary from UI.

Merchant Logo

You can display your brand logo in the PayU Native OTP Assist SDK to reinforce trust and branding. To set a logo in the SDK, you need to pass the drawable id of the logo image resource from your app.

let config = PayUOtpAssistConfig()
config.merchantLogo = #imageLiteral(resourceName: "logo")

Theme Colour

Our SDK allows you to change the theme colour, you just need to set this primary colour in your colour file.

let config = PayUOtpAssistConfig()
config.themeColor = #colorLiteral(red: 0.01960784314, green: 0.231372549, blue: 0.7568627451, alpha: 1)

Merchant Response Timeout

This is the duration PayU will wait for merchant surl/furl to load before passing the transaction response back to the app. If merchant surl/furl pages take longer to load then by default PayU has a response timeout of 10 sec. However, if merchants feel that their Surl/Furl can take longer than 10 seconds then they can set this flag.

let config = PayUOtpAssistConfig()
config.merchantResponseTimeout = 10000 // In milliseconds

Disable Merchant Summary from UI.

You can disable merchant summary from the UI.

let config = PayUOtpAssistConfig()
config.shouldShowMerchantSummary = true

Card Bin Eligibility Check

You can check the card whether your card bin eligible or not for the OTP on the Merchant App.

Please refer to this document for the eligibility call.

PreviousIntegrationNextUPI

Last updated 3 years ago

Was this helpful?

281KB
ZeroRedirectElgibleBins API.pdf
pdf
Bin Eligibility Check