Skip to content

IntegrationsPayment Gateway · Beta

PayU API integration

Put PayU in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Built for specific customer use cases. Issues are resolved quickly.

01Proxy API

Call the PayU API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the PayU API. You call us, we call PayU, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIPayU

GEThttps://api.truto.one/proxy/transactions?integrated_account_id=…

  • GET/proxy/tdr
  • GET/proxy/refunds
  • GET/proxy/bins

PayU’s own response, passed back

02MCP server

PayU tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets PayU tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin PayU
  • Payment statusesList
  • TransactionsList
  • Transaction detailsList
  • TdrList
  • Transaction udfUpdate
  • Additional chargesList
  • Aggregator transactionsList
  • RefundsList, Create
  • Refund request statusesList
  • Transaction refundsList
  • Split refundsList
  • Payment captureCreate
  • BinsList
  • Bin domestic checksList
  • S 2 s eligible binsList
  • Emi eligible binsList
  • Emi amountsList
  • Checkout detailsList
  • Vpa validationsList
  • Sodexo card balancesList
  • Gateway statusesList
  • Issuing bank statusesList
  • Issuing bank down binsList
  • Saved cardsList
  • Payment instrumentsList, Create, Update, Delete
  • Payment cryptogramsList
  • Split infoList
  • Split transactionsList
  • Payment splitCreate
  • Settlement releaseCreate
  • Recurring paymentsCreate, Verify
  • Pre debit notificationCreate
  • MandatesUpdate, Revoke
  • Mandate statusesList
  • Upi mandate statusesList
  • Upi mandatesUpdate, Revoke
  • Netbanking mandate statusesList
  • Bharat qr codesCreate, Cancel
  • Upi intent linksCreate, Cancel
  • Bharat qr transaction statusesList

And 5 more. Open the tool names to see all.

Show tool names56 tools, for developers
  • pay_u_payments_verifyGet the status of one or more transactions by your transaction ID (txnid); use it to reconcile after a payment. PayU command: verify_payment. Required: var1.
  • pay_u_payments_cancelCancel (void) a pre-authorized transaction. PayU command: cancel_transaction. Required: var1, var2.
  • list_all_pay_u_payment_statusesGet the status of a transaction by the PayU ID (mihpayid). PayU command: check_payment. Required: var1.
  • list_all_pay_u_transactionsList transactions created between two date-times (var1 from, var2 to; max 1 day window recommended). PayU command: get_transaction_info. Required: var1, var2.
  • list_all_pay_u_transaction_detailsList transaction details for a date range (var1 from date, var2 to date, yyyy-mm-dd). PayU command: get_Transaction_Details. Required: var1, var2.
  • list_all_pay_u_tdrGet the TDR (transaction discount rate) charged on a transaction by PayU ID. PayU command: get_TDR. Required: var1.
  • update_a_pay_u_transaction_udf_by_idUpdate the UDF (user-defined) fields of a transaction by txnid. PayU command: udf_update. Required: var1.
  • list_all_pay_u_additional_chargesGet the convenience fee / additional charges applied on a transaction. PayU command: get_additional_charge. Required: var1.
  • list_all_pay_u_aggregator_transactionsGet aggregator (parent) transaction information. PayU command: get_aggregator_transactions. Required: var1.
  • create_a_pay_u_refundRefund a captured transaction (full or partial) or cancel an authorized one. var1 PayU ID, var2 your unique refund token, var3 amount. PayU command: cancel_refund_transaction. Required: var1, var2, var3.
  • list_all_pay_u_refundsList all actions (capture, refunds, cancellation) on a transaction by PayU ID, or check a refund by its request ID. PayU command: check_action_status. Required: var1, var2.
  • list_all_pay_u_refund_request_statusesCheck the status of a refund (or other action) by the request ID returned when the refund was created. PayU command: check_action_status_txnid. Required: var1.
  • list_all_pay_u_transaction_refundsGet the full refund history of one or more transactions by txnid. PayU command: getAllRefundsFromTxnIds. Required: var1.
  • list_all_pay_u_split_refundsCheck refund status for split (aggregator) payments by txnid. PayU command: aggregator_check_action_status_txnid. Required: var1.
  • create_a_pay_u_payment_captureCapture a pre-authorized transaction (var1 PayU ID, var2 token, var3 amount). PayU command: capture_transaction. Required: var1, var2, var3.
  • list_all_pay_u_binsGet card BIN details: issuing bank, card type and category, and feature support (single BIN, feature filter or bulk). PayU command: getBinInfo. Required: var1.
  • list_all_pay_u_bin_domestic_checksCheck whether a card BIN is domestic or international, with issuer and card type. PayU command: check_isDomestic. Required: var1.
  • list_all_pay_u_s_2_s_eligible_binsGet BINs eligible for server-to-server (S2S) card payments. PayU command: s2sEligibleBins. Required: var1, var2, var3, var4, var5.
  • list_all_pay_u_emi_eligible_binsCheck whether a card BIN or bank is eligible for EMI. PayU command: eligibleBinsForEMI. Required: var1, var2.
  • list_all_pay_u_emi_amountsGet EMI amounts and interest for each bank and tenure for an amount. PayU command: getEmiAmountAccordingToInterest. Required: var1.
  • list_all_pay_u_checkout_detailsGet the payment options enabled on the account (cards, net banking, wallets, UPI, EMI, BNPL) with their status and offers. PayU command: get_checkout_details. Required: var1.
  • list_all_pay_u_vpa_validationsValidate a UPI VPA (virtual payment address) and get the account holder name. PayU command: validateVPA. Required: var1.
  • list_all_pay_u_sodexo_card_balancesGet the balance of a saved Sodexo meal card (sodexoSourceId is returned as field3 in verify_payment / callbacks). PayU command: check_balance. Required: var1.
  • list_all_pay_u_gateway_statusesGet the live up/down status of net banking, wallet and UPI options (var1 = bank code, or default for all). PayU command: getNetbankingStatus. Required: var1.
  • list_all_pay_u_issuing_bank_statusesGet the up/down status of the issuing bank for a card BIN. PayU command: getIssuingBankStatus. Required: var1.
  • list_all_pay_u_issuing_bank_down_binsList BINs of issuing banks that are currently down. PayU command: getIssuingBankDownBins. Required: var1, var2.
  • list_all_pay_u_saved_cardsList the cards saved for a user (var1 = user_credentials, merchantKey:userId). PayU command: get_user_cards. Required: var1.
  • list_all_pay_u_payment_instrumentsList the tokenized payment instruments saved for a user. PayU command: get_payment_instrument. Required: var1.
  • create_a_pay_u_payment_instrumentSave (tokenize) a card for a user. PayU command: save_payment_instrument. Required: var1, var2, var3, var4, var5, var6, var7, var8, var9.
  • update_a_pay_u_payment_instrument_by_idEdit a saved card (name, expiry and other details). PayU command: edit_payment_instrument. Required: var1, var2, var3, var4, var5, var6, var7, var8, var9.
  • delete_a_pay_u_payment_instrument_by_idDelete a saved card / token for a user. PayU command: delete_payment_instrument. Required: var1, var2.
  • list_all_pay_u_payment_cryptogramsGet token payment details and cryptogram for a saved token. PayU command: get_payment_details. Required: var1, var2, var3, var4, var5.
  • list_all_pay_u_split_infoGet the split details of a transaction. PayU command: get_split_info. Required: var1.
  • list_all_pay_u_split_transactionsGet parent / child split transaction information. PayU command: get_split_transactions. Required: var1.
  • create_a_pay_u_payment_splitSplit a completed payment between child merchants (absolute amounts or percentages) after the transaction. PayU command: payment_split. Required: var1.
  • create_a_pay_u_settlement_releaseRelease a held settlement for a split transaction. PayU command: release_settlement. Required: var1, var2.
  • create_a_pay_u_recurring_paymentCharge a recurring payment against a registered standing-instruction mandate. PayU command: si_transaction. Required: var1.
  • pay_u_recurring_payments_verifyVerify the status of a recurring (SI) payment. PayU command: verify_si_payment. Required: var1.
  • create_a_pay_u_pre_debit_notificationSend the mandatory pre-debit notification before a recurring charge. PayU command: pre_debit_SI. Required: var1.
  • update_a_pay_u_mandate_by_idUpdate a standing-instruction mandate (amount, end date and other details). PayU command: update_SI. Required: var1.
  • pay_u_mandates_revokeCancel (revoke) a card / net banking recurring mandate. PayU command: mandate_revoke. Required: var1.
  • list_all_pay_u_mandate_statusesCheck the status of a card or net banking mandate. PayU command: check_mandate_status. Required: var1.
  • list_all_pay_u_upi_mandate_statusesGet the status of a UPI AutoPay mandate. PayU command: upi_mandate_status. Required: var1.
  • pay_u_upi_mandates_revokeCancel (revoke) a UPI AutoPay mandate. PayU command: upi_mandate_revoke. Required: var1.
  • update_a_pay_u_upi_mandate_by_idModify a UPI AutoPay mandate (amount or end date). PayU command: upi_mandate_modify. Required: var1.
  • list_all_pay_u_netbanking_mandate_statusesGet the status of a net banking (eNACH) mandate. PayU command: NB_mandate_status. Required: var1.
  • create_a_pay_u_bharat_qr_codeGenerate a dynamic Bharat QR / UPI QR for a payment. PayU command: generate_dynamic_bharat_qr. Required: var1.
  • pay_u_bharat_qr_codes_cancelCancel a QR transaction. PayU command: cancel_qr_payment. Required: var1.
  • create_a_pay_u_upi_intent_linkGenerate a UPI intent link for an offline payment. PayU command: generate_upi_intent. Required: var1.
  • pay_u_upi_intent_links_cancelExpire a UPI intent link. PayU command: expire_intent_link. Required: var1.
  • list_all_pay_u_bharat_qr_transaction_statusesCheck the status of a Bharat QR transaction. PayU command: check_bqr_txn_status. Required: var1.
  • create_a_pay_u_static_qr_accountGenerate (or regenerate) a static QR / VPA for a customer (Insta collect). PayU command: generate_insta_account. Required: var1.
  • pay_u_static_qr_accounts_cancelDeactivate a static QR / VPA. PayU command: expire_insta_account. Required: var1.
  • create_a_pay_u_invoice_qr_codeGenerate a QR code to print on an invoice. PayU command: generate_invoice_qr. Required: var1.
  • create_a_pay_u_invoice_qr_messageSend an invoice QR / payment link to a customer by SMS. PayU command: send_sdk_message. Required: var1, var2.
  • create_a_pay_u_cross_border_invoiceUpload the invoice and AWB (airway bill) for a cross-border (OPGSP) transaction. PayU command: opgsp_upload_invoice_awb. Required: var1.

AMCP serverno code

For any MCP client

One URL per connected PayU account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every PayU tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

One API for PayU and every other Payment Gateway app. One mapping to go.

The Unified Payment Gateway API gives every Payment Gateway app the same call and the same data shape. PayU is not mapped to it yet. Map it yourself, or ask us.

PayUon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified Payment Gateway APIOne mapping to goTo do

Then: one call for every Payment Gateway app

  • Path 1 Self-serve

    Map it yourself

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Start free

  • Path 2 We do it

    Ask Truto

    • Tell us the PayU data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync PayU data on a schedule. Sent to your webhook.

A sync job reads PayU records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any PayU endpoint. With the Truto CLI.

Need a PayU endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any PayU path through the Custom API.

On every plan, including Free. Truto CLI

Use cases

Why integrate with PayU.

  1. Embed PayU in subscription billing platforms

    Billing and recurring revenue SaaS can offer merchants a native PayU connection to tokenize cards, send RBI-mandated pre-debit notifications, and trigger recurring charges across cards, eNACH, and UPI AutoPay — without each merchant wiring PayU themselves.

  2. Power marketplace split payouts

    Marketplace and platform SaaS can let their vendors connect PayU once and automatically split incoming transactions between the platform and sellers, then release settlements when services are delivered or milestones hit.

  3. Automate finance reconciliation for merchants

    Accounting, ERP, and finance SaaS can pull PayU transactions, fees (TDR), additional charges, and refunds on behalf of their customers to compute exact net revenue and auto-reconcile ledgers without CSV uploads.

  4. Ship high-conversion checkout experiences

    Checkout, D2C, and commerce SaaS can use PayU's BIN checks, EMI eligibility, VPA validation, and live bank/gateway status to dynamically route payments and hide options that are down — increasing authorization rates for every merchant on the platform.

  5. Enable omnichannel 'Scan to Pay' for POS/retail SaaS

    Retail and POS SaaS can generate Bharat QR codes, UPI intent links, and static/invoice QR codes on behalf of their merchants, and poll transaction status to confirm payment in real time at the counter.

What you can build

Ship these with Truto and PayU.

  • Native PayU connect flow for your merchants

    Let your end users authenticate their PayU merchant account in your product once, and Truto handles credential storage, refresh, and normalized API calls across every PayU endpoint.

  • Recurring mandate lifecycle manager

    Create, modify, revoke, and check status on card, netbanking, and UPI AutoPay mandates — including sending the mandatory pre-debit notifications — from a single workflow in your app.

  • Marketplace split & settlement engine

    Create payment splits at transaction time, audit split refunds, and trigger settlement releases so your platform's vendors get paid out on the right schedule.

  • Fee-aware reconciliation dashboard

    Pull transactions, transaction details, TDR, additional charges, and refund statuses to show merchants exact gross-to-net economics per order inside your product.

  • Smart checkout router

    Use BIN lookups, S2S/EMI eligible BIN checks, EMI amount calculations, VPA validation, gateway status, and issuing bank downtime signals to dynamically present only the payment methods most likely to succeed.

  • QR & UPI intent generator for POS

    Spin up Bharat QR codes, static QR accounts, invoice QR codes, and UPI intent links from your POS or invoicing product, then track transaction status and cancel/expire links when carts are abandoned.

  • Refund and dispute workflow

    Trigger full or partial refunds, cancel refund requests, and surface refund request statuses and split refund history to your merchants' support teams without them logging into PayU.

Security

Your customers’ PayU data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Our OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s PayU account

    Use Truto’s frontend SDK to connect your customer’s PayU account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call PayU

    Truto’s Proxy API is a 1-to-1 mapping of the PayU API. You call us, we call PayU, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate PayU’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about PayU on Truto.

How do end users connect their PayU account to our product?

Your users authenticate with their PayU merchant credentials (merchant key and salt) through Truto's connect flow. Truto securely stores the credentials per-tenant and injects them on every API call, so you never handle secrets directly.

Which PayU capabilities are available through Truto?

Truto exposes PayU's payment verification and capture, transaction and refund listing, TDR and additional charges, saved cards and payment instruments, BIN and EMI eligibility checks, VPA validation, gateway and bank status, split payments and settlements, recurring payments and mandates (card, netbanking, UPI AutoPay), Bharat QR, static/invoice QR, UPI intent links, and cross-border invoice uploads.

Does Truto support PayU's recurring/mandate workflows end-to-end?

Yes. You can create recurring payments, verify them, send pre-debit notifications, update or revoke mandates, and check statuses for card, netbanking, and UPI mandates — all through standardized tool calls.

Can we handle split payments and marketplace flows?

Yes. You can create payment splits, list split info and split transactions, create settlement releases, and audit split refunds to build marketplace and aggregator experiences on top of PayU.

How fresh is the transaction data?

Truto calls PayU's APIs in real time on each request, so transaction, refund, TDR, and status data reflects PayU's current state. You can trigger syncs on-demand or on a schedule that fits your product.

What if we need a PayU endpoint that isn't listed?

PayU integrations on Truto are extensible. If your use case requires an endpoint not currently exposed as a tool, we can add it on request so you don't have to build or maintain it yourself.

Is this integration suitable for Indian compliance requirements like OPGSP and RBI recurring guidelines?

Yes. Truto supports PayU's cross-border invoice uploads for OPGSP compliance and the full pre-debit notification flow required under RBI's recurring payment guidelines.

PayU

Get PayU integrated into your app

Sign up free, connect a test PayU account and make your first call today. No card and no sales call.