Skip to main content
Razorpay → The Trade DeskIntegration guide

Connecting Razorpay to The Trade Desk

Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. The Trade Desk buys across the open internet rather than inside a walled garden, which means it cannot rely on a logged-in graph and has to work with identity you help it construct. The join between them succeeds or fails on one thing: whether Unified ID 2.0, derived from a hashed email reaches the Razorpay payment before the conversion happens, because The Trade Desk can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Razorpay conversions to The Trade Desk with UID2 from phone or email

The Trade Desk matches on UID2 from hashed email or E.164 phone, and Razorpay's most reliable identifier is the mobile number. Normalize contacts to +91 and send payment.captured with rupee value, the Razorpay order ID and the payment timestamp. Sort out notice, opt-out and Digital Personal Data Protection Act consent before using payment phone numbers for advertising.

The Trade Desk can only match conversions it can tie to a UID2 or a hashed email, and Razorpay's most reliable identifier is a mobile number. UID2 can also be generated from a phone number in E.164 format, which matters here: many Razorpay checkouts make email optional, so a pipeline that only hashes email leaves out a large share of captured payments. Normalise Razorpay's contact field to +91 followed by ten digits before generating the identifier.

Send the conversion from payment.captured with the value in rupees, the Razorpay order ID as the conversion identifier and the payment timestamp, not the time your job ran. Check whether The Trade Desk buys the Indian inventory you care about and how well UID2 is adopted by Indian publishers, because an identifier the supply side does not carry gives you little to match against.

UID2 requires that users were told and given a way to opt out, and India's Digital Personal Data Protection Act adds its own consent obligations. A phone number collected to send a UPI payment request has not been cleared for advertising just because it is in Razorpay. Sort out notice and consent first; the integration itself is the small part of this pair.

Razorpay → The Trade Desk · what breaks

Why this join usually fails — Razorpay → The Trade Desk

  1. 01

    Unified ID 2.0, derived from a hashed email never reaches Razorpay

    UPI sends the customer into a banking app to approve, and on mobile that app switch frequently ends the browser session. The payment completes and the browser that started it may never come back to fire anything.

  2. 02

    UPI app switching ends the browser session

    The customer leaves the browser for a banking app to approve, and on many devices does not return. Payment succeeds, page never fires — and UPI is the majority method in this market.

  3. 03

    View-through conversions on the open internet

    A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.

  4. 04

    Nothing reconciles afterwards

    The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.

Razorpay → The Trade Desk · the fix

What working looks like — Razorpay → The Trade Desk

  • Unified ID 2.0, derived from a hashed email on every payment

  • Conversions arriving in The Trade Desk

    The conversion is matched to an impression or click where identity resolves, and feeds the bidding models.

  • Reconciled against the source

Razorpay → The Trade Desk · architecture

How Razorpay and The Trade Desk actually connect

  1. 1

    Razorpay holds the truth

    Razorpay separates authorised and captured. Auto-capture is common but not universal, and reporting on authorised inflates the figure by whatever fails to capture.

  2. 2

    The Trade Desk needs a click to match

    The Trade Desk needs the conversion with a UID2 or a hashed email it can resolve, plus the value and timestamp. Conversions from anonymous visitors cannot be matched at all.

  3. 3

    The identifier is the bridge

    Unified ID 2.0, derived from a hashed email, captured at the visit and carried into the Razorpay payment.

  4. 4

    The event source decides reliability

    Fire on captured. The app-switch behaviour of UPI makes any browser-based trigger unreliable in a way that is much more pronounced here than on card markets.

  5. 5

    Deduplication at the destination

    Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.

Razorpay → The Trade Desk · normal or broken

Working vs. broken, side by side — Razorpay → The Trade Desk

Normal, not a fault

  • Unified ID 2.0, derived from a hashed email present on the payment

  • Sent from the Razorpay payment.captured webhook

  • Deduplicated correctly

    Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.

  • Reconciles with the source

Actually broken

  • Unified ID 2.0, derived from a hashed email missing on most records

    UPI sends the customer into a banking app to approve, and on mobile that app switch frequently ends the browser session. The payment completes and the browser that started it may never come back to fire anything.

  • Sent from the browser

    The customer leaves the browser for a banking app to approve, and on many devices does not return. Payment succeeds, page never fires — and UPI is the majority method in this market.

  • Counted twice, or not at all

    A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.

  • Nobody has reconciled it

Razorpay → The Trade Desk · diagnose

Diagnostic order — Razorpay → The Trade Desk

  1. 01

    Count payments carrying Unified ID 2.0, derived from a hashed email

  2. 02

    Follow one real conversion end to end

  3. 03

    Compare captured payments against confirmation-page loads on mobile

    Split by payment method. The UPI gap will be much larger than the card gap.

  4. 04

    Split reported conversions into click-through and view-through

    If the great majority are view-through, the honest next step is an incrementality test rather than a bid adjustment.

  5. 05

    Read the match rate, not the success message

    The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.

Razorpay → The Trade Desk · prove

How it gets proven — Razorpay → The Trade Desk

Source of truth

Razorpay's captured payments by date, net of refunds.

  • Unified ID 2.0, derived from a hashed email confirmed present on a live payment.
  • Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
  • A UPI payment approved in the banking app without returning to the site, confirmed to report.

Razorpay → The Trade Desk · free audit

What we check in the free audit

  • Count payments carrying Unified ID 2.0, derived from a hashed email
  • Follow one real conversion end to end
  • Compare captured payments against confirmation-page loads on mobile
  • Split reported conversions into click-through and view-through
  • Read the match rate, not the success message

Checked against

Razorpay's captured payments by date, net of refunds.

Get my free conversion tracking audit

Free30 minutesNo obligation

Razorpay → The Trade Desk · when not to buy

When you don't need this — Razorpay → The Trade Desk

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry Unified ID 2.0, derived from a hashed email.
  • If your Razorpay volume is card-only, the app-switch problem largely disappears.
  • If you cannot collect email addresses from a meaningful share of your buyers, UID2 has little to work with and the open internet is not yet an addressable channel for you.

Razorpay → The Trade Desk · what we deliver

What gets built — Razorpay → The Trade Desk

  • Identifier capture into Razorpay

    Pass the click identifier into the Razorpay order's notes when your server creates the order. Notes survive to the payment and to the webhook regardless of what the browser did.

  • Event source: the Razorpay payment.captured webhook

    Fire on captured. The app-switch behaviour of UPI makes any browser-based trigger unreliable in a way that is much more pronounced here than on card markets.

  • Dispatch to The Trade Desk

    Server-side conversion upload with the hashed identity and value, from your order system.

  • Reversals where they exist

    Refunds are exposed and carry the original notes.

Written guarantee

95%+ tracking accuracy

Measured against Razorpay's captured payments by date, net of refunds.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Razorpay → The Trade Desk questions, answered

UID2 can be generated from phone numbers in E.164 format, but only with proper notice and opt-out, and you need to check India's DPDP Act obligations first.

Free · 30 min

Get Razorpay and The Trade Desk joined properly

Free30 minutesNo obligation