For any MCP client
One URL per connected Setu account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.
Server URLhttps://api.truto.one/mcp/<token>
IntegrationsPayment Gateway · Beta
Put Setu 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
Truto’s Proxy API is a 1-to-1 mapping of the Setu API. You call us, we call Setu, and pass the response back in the same cycle. Truto handles authentication and token refresh.
On every plan, including Free.
GEThttps://api.truto.one/proxy/
Setu’s own response, passed back
02MCP server
Whatever your agent runs on, it gets Setu tools for each customer’s account: through an MCP server, or straight from the tools API.
On every plan, including Free.
create_a_setu_auth_tokenGenerate a Setu access token from a Bridge OAuth key (clientID and secret). Truto calls this automatically when connecting and every 20 minutes to refresh the token; call it directly only to check a key. Tokens are valid for 1800 seconds. Returns status, success and data (token, expiresIn).create_a_setu_payment_linkCreate a UPI DeepLinks payment link (a UPI deep link, short link and QR) that a customer can pay from any UPI app. Amounts are in paise. Returns data with platformBillID, paymentLink (upiID, shortURL, upiLink) and the bill details. Required: amountExactness, billerBillID.get_single_setu_payment_link_by_idGet the payment status of a UPI DeepLinks payment link by its platformBillID. Returns data with status (BILL_CREATED, PAYMENT_SUCCESSFUL, PAYMENT_FAILED, CREDIT_RECEIVED, SETTLEMENT_SUCCESSFUL, SETTLEMENT_FAILED, BILL_EXPIRED), amount details, receipt and payment details. Required: id.create_a_setu_bill_expiryExpire an unpaid Setu bill or UPI DeepLinks payment link by its platformBillID so it can no longer be paid. Works for UPI DeepLinks links and BBPS BillCollect bills. Returns status and success. Required: platform_bill_id.create_a_setu_refund_batchInitiate a batch of full or partial refunds for one or more UPI DeepLinks payments, identified by bill ID. Returns data with batchID and per-refund results (refund ID, status, amounts) plus errors for items that failed validation. Required: refunds.get_single_setu_refund_batch_by_idGet the status of a UPI DeepLinks refund batch by batch ID. Returns data with batchID and the refunds in the batch with their status (Created, Initiated, Success, Rejected, Failed) and amounts. Required: id.get_single_setu_refund_by_idGet the status of a single UPI DeepLinks refund by refund ID. Returns data with the refund id, bill ID, status, refund amount, type and timestamps. Required: id.create_a_setu_mock_paymentSandbox only: simulate a customer paying a UPI DeepLinks payment link so the bill moves to PAYMENT_SUCCESSFUL and notifications fire. Not available in production. Returns status, success and data with the mock UTR. Required: amount, destinationAccount, sourceAccount.create_a_setu_mock_settlementSandbox only: simulate settlement of one or more paid UPI DeepLinks transactions so they move to SETTLEMENT_SUCCESSFUL. Not available in production. Returns an empty body on success. Required: transactions.create_a_setu_transaction_reportRetrieve Setu transaction, settlement or refund report rows for UPI DeepLinks or BBPS BillCollect, for reconciliation. Filter by date range and bill status; page with pagination.cursor and limit (100-500). Requires the Partner ID to be set on the connection. Returns the rows and the next cursor. Required: productInstanceIDOfReport.list_all_setu_billersList the BBPS billers available to this BBPS BillCollect product configuration. Returns data with each biller and its customer identifiers and categories.create_a_setu_bill_fetchFetch the outstanding bills of a customer from a BBPS biller using the customer identifiers. Returns data with the customer, billFetchStatus and the bills (platformBillID, amount, due date, payment amount exactness). Required: billerProductInstanceID, customerIdentifiers.get_single_setu_bill_by_idGet a BBPS BillCollect bill by its Setu platformBillID, including its payment status. Returns data with the bill, status, receipt and settlement details. Required: id.get_single_setu_biller_bill_by_idGet a BBPS BillCollect bill by the biller's own bill ID (billerBillID), optionally filtered by status. Returns data with the matching bill and its payment status. Required: id.create_a_setu_bill_fulfilmentRequest payment of a fetched BBPS bill by its platformBillID, passing the amount and payment details. Returns data with the bill status and receipt. Required: platform_bill_id, payment, transactionID.create_a_setu_bill_settlementSettle one or more paid BBPS bills to a settlement account. Returns status, success and data with the settlement result. Required: settlement.create_a_setu_customer_validationValidate a customer with a BBPS biller (validate and pay flow) using the customer identifiers before collecting payment. Returns data with the validated customer and validation status. Required: billerProductInstanceID, customerIdentifiers.create_a_setu_whatsapp_billWhatsApp Collect: create a bill and send it to the customer on WhatsApp with a Pay Now UPI link. Production only (Setu has no WhatsApp Collect sandbox). Returns the send result. Required: bill, channels.create_a_setu_whatsapp_bill_fetchWhatsApp Collect: fetch the latest bill from your system through your configured bill fetch API and send it to the customer on WhatsApp with a Pay Now link. Production only. Returns the send result. Required: bill, channels.create_a_setu_whatsapp_campaignWhatsApp Collect: upload a CSV to create or fetch bills in bulk and send them, or payment reminders, to customers on WhatsApp. Production only. Returns the campaign result. Required: name, channel, id, file.No tool matches.
One URL per connected Setu account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.
Server URLhttps://api.truto.one/mcp/<token>
One call returns every Setu 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.
Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.
Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.
Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.
Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.
Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.
Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.
03Unified API
The Unified Payment Gateway API gives every Payment Gateway app the same call and the same data shape. Setu is not mapped to it yet. Map it yourself, or ask us.
Then: one call for every Payment Gateway app
Path 1 Self-serve
Path 2 We do it
Price Add-on
04Sync and webhooks
A sync job reads Setu 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
Need a Setu endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Setu path through the Custom API.
On every plan, including Free. Truto CLI →
Use cases
Loan management SaaS and NBFC platforms can offer native EMI collection via UPI deep links and WhatsApp reminders, reducing bounce rates without forcing their users to build Setu plumbing themselves.
School ERPs, housing society platforms, and utility billing SaaS can make their customers discoverable as billers on any Indian banking app, with live bill fetch driven directly from the SaaS's own invoice ledger.
Order management and returns SaaS can initiate batched UPI refunds the moment a return is approved, and keep customer-facing status in sync without manual finance ops.
Billing and subscription SaaS serving the Indian market can offer bulk WhatsApp payment campaigns as a native feature, letting their customers push due invoices to borrowers or subscribers with a pay-now UPI link.
ERP and AR automation SaaS can pull Setu transaction reports on a schedule to auto-reconcile invoices, replacing manual bank statement matching for their finance ops users.
What you can build
Generate a Setu payment link with QR, short URL, and UPI intent on invoice creation, with strict amount exactness so customers can't short-pay.
Respond to BBPS bill-fetch and customer validation requests in real time so end-consumers can pay your users' bills from any UPI or banking app.
Upload a CSV of due invoices to trigger a Setu WhatsApp campaign that sends personalized pay-now links, plus one-off WhatsApp bills for ad-hoc collections.
Fire a Setu refund batch on return approval and poll the batch and individual refund status to drive a live refund tracker in your product UI.
Use bill expiry to invalidate stale links on missed due dates and immediately issue a new link with late fees recalculated by your billing logic.
Wire mock payment and mock settlement calls into your test suite to simulate UPI success and settlement cycles without moving real money.
Security
Customer records are not kept. Truto fetches them when your product asks and passes them on.
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 II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre →
How it works
Use Truto’s frontend SDK to connect your customer’s Setu account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.
Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.
Truto’s Proxy API is a 1-to-1 mapping of the Setu API. You call us, we call Setu, and pass the response back in the same cycle.
Every response follows a single format across all integrations. We translate Setu’s pagination into unified cursor-based pagination. Data is always in the result attribute.
FAQs
Setu uses token-based auth. Truto handles the create auth token flow for each of your connected users, refreshes tokens on expiry, and injects them into every downstream API call so you never store Setu credentials yourself.
The current toolset covers UPI DeepLinks (payment links, refunds, transaction reports), BBPS BillCollect (billers, bill fetch, customer validation, bill fulfilment, bill settlement), and WhatsApp Collect (WhatsApp bills, bill fetch, and campaigns), along with mock payment and settlement for sandbox testing.
Yes. You can call the Setu transaction report tool with a date range and product instance to pull paginated reconciliation data, which is the recommended pattern for updating invoice status in bulk rather than per-transaction polling.
Yes. Setu exposes mock payment and mock settlement endpoints, both available as Truto tools, so you can simulate successful UPI collections and settlement cycles end-to-end in CI without real funds.
You create a refund batch containing one or more refunds, then retrieve the batch or individual refund by ID to track status. This lets you power a refund tracker that moves from initiated to success in your own UI.
The tools let you register and query billers, create bill fetches, validate customers, and fulfil and settle bills. The inbound webhook from Setu (when a consumer initiates payment from their banking app) is handled via Truto's webhook forwarding so your backend can respond with the live outstanding amount.
Setu
Sign up free, connect a test Setu account and make your first call today. No card and no sales call.