PayU Interview Process 2026 — Rounds, Tips & Questions

Published July 22, 2026 · Updated July 31, 2026

21 real PayU interview questions reported by engineers, with difficulty and round context.

21 real questions
1114 engineers asked

Real Questions Asked at PayU

PayU Medium Technical round 2–5 YearsInterview ExperienceJavaScript

Predict the output of this code: console.log(1); setTimeout(() => console.log(2), 0); Promise.resolve().then(() => console.log(3)); console.log(4); Explain the event loop mechanism that determines this order.

↑ 104 upvotes · 78 engineers asked this · Full Stack Developer
PayU Hard Technical round 2–5 YearsInterview ExperienceJavaScript

Implement Promise.allSettled from scratch without using the native method. Then explain the difference between Promise.all, Promise.allSettled, Promise.any, and Promise.race — give a concrete payment flow example for when you would use each.

↑ 97 upvotes · 69 engineers asked this · Full Stack Developer
PayU Medium Technical round 2–5 YearsInterview ExperienceReactJavaScript

Explain the reconciliation algorithm in React. How does React decide which DOM nodes to update when state changes? What is the role of the key prop and what happens when you use an array index as a key versus a stable unique ID?

↑ 96 upvotes · 71 engineers asked this · Full Stack Developer
PayU Medium Technical round 2–5 YearsInterview ExperienceJavaScript

What will the following code output and why? const obj = { x: 10 }; const fn = () => console.log(this.x); obj.fn = fn; obj.fn(); Now rewrite fn as a regular function. How does the output change and what is the reason?

↑ 91 upvotes · 67 engineers asked this · Full Stack Developer
PayU Medium Technical round 2–5 YearsInterview ExperienceJavaScriptReact

Implement a debounce function from scratch in JavaScript. Then explain where you would use debounce vs throttle in a payment checkout flow — for example on a search input, a "Pay Now" button, and a scroll event handler.

↑ 88 upvotes · 62 engineers asked this · Full Stack Developer
PayU Hard Technical round 2–5 YearsInterview ExperienceJavaScript

A payment API call must retry up to 3 times on network failure, with exponential backoff (1s, 2s, 4s delays) between attempts. Implement a retryWithBackoff(fn, maxRetries) utility using Promises. Handle the case where all retries fail.

↑ 88 upvotes · 63 engineers asked this · Full Stack Developer
PayU Hard System Design round 2–5 YearsInterview ExperienceReactJavaScript

You are building a multi-step payment flow: Cart → Address → Payment Method → OTP → Confirmation. Each step has its own data, validation, and API calls. How would you architect state management for this flow in React without Redux? Discuss trade-offs.

↑ 85 upvotes · 61 engineers asked this · Full Stack Developer
PayU Medium Technical round 2–5 YearsInterview ExperienceJavaScript

Design an in-memory rate limiter that allows at most N requests per user per minute. Given a stream of {userId, timestamp} requests, return true if the request should be allowed or false if it should be throttled. Implement using JavaScript.

↑ 83 upvotes · 58 engineers asked this · Full Stack Developer
PayU Medium Technical round 2–5 YearsInterview ExperienceReactJavaScript

Build a custom useFetch hook in React that accepts a URL, returns { data, loading, error }, handles component unmount (cleanup), and prevents state updates on an unmounted component. Show the complete implementation.

↑ 82 upvotes · 59 engineers asked this · Full Stack Developer
PayU Hard System Design round 2–5 YearsInterview ExperienceJavaScriptReactSecurity

Design the frontend architecture for a PayU checkout SDK that can be embedded in any merchant website as a script tag. It must render a payment form in an iframe, handle cross-origin communication, support multiple payment methods (card, UPI, netbanking), and work across React, Vue, and plain HTML merchant sites.

↑ 81 upvotes · 57 engineers asked this · Full Stack Developer

Practice these questions with AI feedback

Get instant grading on your answers, identify your weak areas, and generate a personalised 14-day study plan — all free.

Build my study plan →

What PayU asks by topic

DSA / Arrays DSA / Hashmaps JavaScript / Fundamentals React / Concepts React / Coding JavaScript / Promises React / Architecture Frontend / Hierarchical Navigation Frontend / Best Practices Product Engineering Java / Exceptions

PayU questions by technology

PayU JavaScript PayU Java PayU React

Other company interview processes

Amazon Interview Process Google Interview Process Microsoft Interview Process Flipkart Interview Process Swiggy Interview Process Meta Interview Process Apple Interview Process Netflix Interview Process Uber Interview Process Airbnb Interview Process