Skip to main content
Razorpay → AwinIntegration guide

Connecting Razorpay to Awin

Razorpay is Indian payments, where UPI dominates and the flow moves through a separate app on the customer's phone. Awin is a traditional last-click affiliate network, and last-click is the whole problem: whoever touched the customer most recently takes the commission, which is a structural invitation for voucher-code sites to intercept sales you had already won. The join between them succeeds or fails on one thing: whether the Awin click reference, awc reaches the Razorpay payment before the conversion happens, because Awin can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Razorpay sales to Awin: send rupees, not paise, or pay 100x

Razorpay reports paise, so convert to rupees with INR before Awin calculates commission. Write the awc reference into the Razorpay order notes at creation, since UPI buyers miss the confirmation tag, and send the conversion server-to-server from payment.captured with the Razorpay order ID as order reference. Use refund.processed to decline refunded orders during validation.

Awin commissions on the value you report, and Razorpay reports amounts in paise. A server-side integration that passes the webhook's amount straight through tells Awin a 1,499 rupee order was worth 149,900, and the publisher's commission is calculated on that. Convert to rupees and send INR before the first live conversion, then check one transaction in the Awin dashboard against the Razorpay payment.

The awc click reference has to be written into the Razorpay order notes when your server creates the order, because Awin's confirmation-page tag misses UPI buyers who never come back from their banking app. Send the conversion from payment.captured server-to-server, with the Razorpay order ID as the order reference so a second payment attempt on the same order cannot create a second commission. Check whether Awin actively operates in the market you sell into; many Indian affiliate programs run on other networks, and the publisher mix decides whether this channel is worth the build.

Cashback and coupon sites are a large part of Indian affiliate traffic and sit at the very end of the journey, so decide your dedup rule against paid media before launch. Use refund.processed during Awin's validation period to decline refunded orders instead of approving everything by default.

Razorpay → Awin · what breaks

Why this join usually fails — Razorpay → Awin

  1. 01

    The Awin click reference, awc 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

    Voucher-code publishers intercepting sales at the checkout

    A customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.

  4. 04

    Nothing reconciles afterwards

    Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.

Razorpay → Awin · the fix

What working looks like — Razorpay → Awin

  • The Awin click reference, awc on every payment

  • Conversions arriving in Awin

    The sale appears as pending, publishers see it in their reporting, and it validates after your approval period.

  • Reconciled against the source

Razorpay → Awin · architecture

How Razorpay and Awin 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

    Awin needs a click to match

    Awin needs the click reference, a unique order reference, the order value and the commission group. Missing the click reference means the sale is untracked and the publisher will query it.

  3. 3

    The identifier is the bridge

    The Awin click reference, awc, 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

    Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.

Razorpay → Awin · normal or broken

Working vs. broken, side by side — Razorpay → Awin

Normal, not a fault

  • The Awin click reference, awc present on the payment

  • Sent from the Razorpay payment.captured webhook

  • Deduplicated correctly

    Awin deduplicates on your order reference. It also supports a dedup flag so you can decline to commission sales that another channel already claimed — which is the feature most advertisers do not know exists and should be using.

  • Reconciles with the source

Actually broken

  • The Awin click reference, awc 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 customer arrives from a paid ad, reaches the basket, opens a new tab to search for a discount code, clicks a voucher site's link and returns to complete the order. Under last-click the voucher site earns the commission on a sale your advertising produced. This is not a fringe case; on many programmes it is the largest single publisher category.

  • Nobody has reconciled it

Razorpay → Awin · diagnose

Diagnostic order — Razorpay → Awin

  1. 01

    Count payments carrying the Awin click reference, awc

  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

    Segment publishers by type and check where the click happened in the journey

    Voucher and cashback clicks that occur within seconds of an order are interception, not acquisition. Use the deduplication flag rather than paying for both.

  5. 05

    Read the match rate, not the success message

    Awin's reporting shows the sale, the publisher and the commission group. Read the publisher type and the time between click and sale — a click seconds before the order tells you what happened.

Razorpay → Awin · prove

How it gets proven — Razorpay → Awin

Source of truth

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

  • The Awin click reference, awc confirmed present on a live payment.
  • Validated sales reconciled per order reference against your own records, with voucher-sourced sales identified and the paid-media overlap stated.
  • A UPI payment approved in the banking app without returning to the site, confirmed to report.

Razorpay → Awin · free audit

What we check in the free audit

  • Count payments carrying the Awin click reference, awc
  • Follow one real conversion end to end
  • Compare captured payments against confirmation-page loads on mobile
  • Segment publishers by type and check where the click happened in the journey
  • 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 → Awin · when not to buy

When you don't need this — Razorpay → Awin

  • Measure identifier coverage yourself first — pull your last hundred payments and count how many carry the Awin click reference, awc.
  • If your Razorpay volume is card-only, the app-switch problem largely disappears.
  • If you run no affiliate programme this is irrelevant. If you do, the commission structure by publisher type will change your economics more than the tracking accuracy will.

Razorpay → Awin · what we deliver

What gets built — Razorpay → Awin

  • 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 Awin

    Server-to-server conversion posting from your order system, or the tracking pixel where server posting is not available.

  • 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 → Awin questions, answered

Razorpay sends amounts in paise. Divide by 100 and send the value in rupees with INR as the currency before reporting to Awin.

Free · 30 min

Get Razorpay and Awin joined properly

Free30 minutesNo obligation