Razorpay logoMelio logoRazorpay to Melio
AvailableNative · RazorpayNative · Melio

Connect Razorpay to Melio with Well

Stop chasing reimbursements: Razorpay outbound payments arrive in Melio pre-matched to the originating context inside Well, with the source receipt attached on every bill.

About Razorpay and Melio

Razorpay logo
Razorpay
Source

The Razorpay integration imports payment data from India's leading payment gateway into Well.

Melio logo
Melio
Target

The Melio connection delivers extracted bills into Melio through its Pay Bills email address.

Why this pair

Razorpay collects revenue from Indian customers in INR; Melio pays vendors in USD on US banking rails.

The currency translation and timing rarely match. Connecting Razorpay to Melio through Well stamps each Melio scheduled payment with the Razorpay-side settlement reference and the FX rate of the booking date, so cross-border treasury flow is auditable across both sides. Razorpay's MCP server pushes settlement events to Well; Melio's Smart Bill Capture creates the bill from the forwarded PDF with the FX reference attached; your team confirms before scheduling the payment.

What Well does between Razorpay and Melio

  • One-way: Razorpay into Well into Melio
  • Sync mode: Real-time MCP push
  • Events arrive in seconds
Razorpay logo
Trigger from Razorpay
8 events · pick one
Well engine·recipe·When a Razorpay payment is captured
Source
from payment · live webhook
Verdant Foods
via Razorpay
Payment
When a Razorpay payment is captured
ch_1q5nk · 22 Apr 2026€1,284.00
Extract
6 fields read from Razorpay
6 fields read
  • CustomerVerdant Foods
  • Charge date22 Apr 2026
  • Charge amount€1,284.00
  • CurrencyEUR
  • Processing fee€37.24
Enrich
against your historical record graph
4 fields added
  • Customer recordVerdant Foods
  • Domainverdantfoods.eu
  • Tax idES98765432100
  • Sales journalVE · 2026
Confidence97%
<55% refused5585% review85% auto-posts
Post
schedule as bills
Create a bill in your Melio inbox
auto-posted
posted
  • TypeBill
  • VendorVerdant Foods
  • Amount€1,284.00
  • LedgerVE · 2026
  • Source docattached
  • Confidence97%
audit linkto Melio
Melio logo
Action in Melio
1 compatible with this trigger
Create a bill in your Melio inbox

Bridge Razorpay payouts to Melio reimbursements.

01Featured

Bridge merchant payouts to vendor reimbursements

Razorpay payout batches are joined to the reimbursement records inside Well by date and total. The per-line breakdown becomes individual documents forwarded to Melio, so a payout that covers 30 reimbursements arrives as 30 entries you can confirm one by one, not one lump sum to chase down later.

02

Detect failed disbursements

A failed Razorpay disbursement triggers a flag inside Well: the linked vendor payment is marked needs reschedule, the Razorpay failure code is attached, and the workspace owner is notified with the candidate next-payment date based on your standard reschedule policy.

03

Tie chargebacks to the originating vendor bill

Chargebacks landing in Razorpay are traced back to the originating vendor bill inside Well by reference and amount. The chargeback context is forwarded to Melio on the affected document, so AP can decide whether to reschedule a corrected payment or write off the loss with the original Razorpay reason in hand.

04

Settle expense reimbursements weekly

Approved expense reimbursements are batched inside Well into a weekly Razorpay disbursement run, paid in a single ACH window, and matched on settlement. The per-claim audit trail stays intact inside Well and on the matched documents forwarded to Melio.

12 signals and actions across Razorpay and Melio

  • When a Razorpay refund is processed

    Detects refunds against captured payments and links back to the order.

    Trigger·Transaction
  • When a Razorpay dispute is created

    Captures chargebacks with the contested payment and merchant response window.

    Trigger·Transaction
  • When a Razorpay order is fully paid

    Detects when an order is fully captured and links the underlying payments to the order reference.

    Trigger·Transaction
  • When a Razorpay payment fails

    Captures failed payment attempts with the error code so you can chase the customer or retry.

    Trigger·Transaction
  • When a Razorpay invoice is paid

    Pulls the paid invoice with its line items, customer, and applied tax.

    Trigger·Invoice
  • When a Razorpay payout is processed

    Detects payout batches as Razorpay processes them toward your bank.

    Trigger·Transaction
  • When a Razorpay subscription cycle renews

    Detects renewal cycles and links the new invoice to the recurring contract.

    Trigger·Invoice
  • When a Razorpay payment is captured

    Captures successful Razorpay payments with currency, fees, and order linkage.

    Trigger·Transaction
  • Attach the bill PDF to the Melio record

    The forwarded PDF is stored on the bill in your Melio inbox.

    Action·Document
Reference
Field mapping for RazorpayMelio
10 fields across 3 record types, open to see the full table.

Transaction fields

4 fields flow from Razorpay into Melio.

Razorpay fieldMelio field
payment.amountamount
payment.currencycurrency
payment.created_atscheduled_for
payment.idpayment_id

Invoice fields

3 fields flow from Razorpay into Melio.

Razorpay fieldMelio field
invoice.numberbill_number
invoice.currencycurrency
invoice.customer_idbill_id

Company fields

3 fields flow from Razorpay into Melio.

Razorpay fieldMelio field
customer.namevendor_name
customer.emailemail
customer.idvendor_id

Connect Razorpay and Melio in three steps.

  1. Razorpay logo1

    Connect Razorpay

    Click Connect with Razorpay; Razorpay's MCP server handles authorisation. Razorpay's MCP server registers a read-scoped Well client through DCR; no credential paste, no shared secret.

    • AuthOAuth 2.0
  2. 2

    Map your accounts

    Well discovers Razorpay's captured payments, refunds, settlements, disputes, subscription cycles, and paid invoices and the the Melio Bills Inbox awaiting payment scheduling. Each payout is paired to its scheduled vendor payment by date and total; failed transfers reverse the linked payment automatically so the schedule self-corrects.

    • Auto-post above85% confidence
    • Overridemanual anytime
  3. Melio logo3

    Connect Melio

    In Melio, open Settings > Integrations and generate an API token with payment-write scope. Paste the key into Well; Melio's discovery endpoints are reached over TLS 1.3 and the secret is never echoed in the UI.

    • AuthConnect
    • First sync~10 min

How Razorpay and Melio stay secure with Well

Well connects to Razorpay through its MCP server, which issues short-lived access tokens via Dynamic Client Registration. Well never holds a long-lived Razorpay secret; the server refreshes its own tokens on each session. Well's storage region is configured per workspace regardless of where Razorpay and Melio host theirs.

MCP server authStorage region per workspaceGDPR-aligned
Scopes Well requestsmcp.razorpay.com/mcp
  • Read Razorpay records

    Scoped to captured payments, refunds, settlements, disputes, and related records. No access to anything else in your Razorpay account.

    granted
  • Deliver documents to your Melio inbox

    Well forwards the extracted document to your Melio email-in address; Melio reads bills via email-in at @invoicesmelio.com, with vendor, amount, and due date populated by Smart Bill Capture from it and you review and post. No write credential to Melio is requested.

    granted
  • Modify or delete Razorpay records

    Not granted. Razorpay is read-only on Well's side; the source of truth never moves.

    refused
  • Read other workspaces' data

    Encryption keys are per-workspace; another tenant's records are inaccessible by design.

    refused
Disconnect any time from Well settings or Razorpay’s admin panel.

Frequently asked questions about Razorpay and Melio on Well

01What Razorpay data does Well pull into Melio?
Razorpay streams captured payments, refunds, settlements, disputes, subscription cycles, and paid invoices to Well over its MCP server. After Well resolves the counterparty and assigns a confidence score, the matched record posts to Melio as bills via email-in at @invoicesmelio.com, with vendor, amount, and due date populated by Smart Bill Capture, with the Razorpay event ID preserved on the entry for audit.
02How often does Razorpay data sync to Melio?
Razorpay pushes events to Well over its MCP server, so most records land within seconds of the underlying action. Each event is matched immediately and reaches Melio within a confidence window: above 85% it posts, 55-85% queues for review, below 55% is refused.
03How does Well match Razorpay records to entries in Melio?
Well scores every candidate match between Razorpay records and existing Melio entries on counterparty name, amount, date proximity, currency, and reference. Above 85% the record links to the historical entry and Melio updates; between 55% and 85% the candidates are queued for sign-off; below 55% the record stays open with the candidate list available.
04Does Well handle multi-currency records between Razorpay and Melio?
Razorpay carries the original transaction currency on every record, but Melio ledgers in a single base; Well preserves the source currency, attaches the FX rate at the timestamp of the event, and the converted figure and the source amount both travel on the document Well forwards to Melio, so both sides of the trade are visible when you post.
05Can I customise which Razorpay fields are sent to Melio?
The default mapping connects each Razorpay record to the Melio bill shape (vendor, amount, due date, approval policy). Settings let you override the vendor source, swap default approvers, attach a different document on the bill, or pull GL codes from your connected data. Mapping versions are immutable for already-paid bills so audit traces stay intact.
06How does Well authenticate with Razorpay and Melio?
Razorpay's MCP server handles authorisation directly; Well receives an access token through Dynamic Client Registration and never sees raw user credentials. For the delivery side, Well forwards the reconciled document to your Melio email-in address once it clears the matching threshold; Melio creates the draft record from it and you confirm and post it. Well holds no write credential to Melio. Tokens are encrypted at rest and in transit under TLS 1.3. Razorpay and Melio together cover multiple regions; Well's storage region is configured per workspace.
Razorpay logoMelio logo

Connect Razorpay to Melio.

Connect both sides. Razorpay bills pay cleanly through Melio with audit attached.

  • Read-only scopes on Razorpay
  • AES-256 at rest, TLS 1.3 in transit
  • GDPR-aligned
  • Revocable Melio access in one click