Razorpay Route must be enabled on your Razorpay account before you can use transfer endpoints. Contact Razorpay support to enable Route if it is not already active.
1
Create a transfer
After a payment is captured, call the transfer endpoint to split the amount across linked accounts. Each transfer entry needs an From the client:
account (the linked account ID), an amount, and optional fields such as notes, onHold, and onHoldUntil.server.ts
2
Fetch and list transfers
Retrieve a single transfer by ID, or list transfers filtered by payment ID, date range, and pagination.Server alternative:
3
Edit a transfer
You can change the Server:
onHold status and onHoldUntil timestamp on an existing transfer.4
Reverse a transfer
Reverse a transfer to pull funds back from a linked account. You can reverse the full amount or a partial amount.Server:
React hooks for transfers
The plugin provides TanStack Query mutation and query hooks for transfers.Create a transfer
create-transfer.tsx
List transfers
transfer-list.tsx