Transfers via Payments

POST https://api.razorpay.com/v1/payments/{pay_id}/transfers

Use this API to route a captured payment to one or several linked accounts using their account_id. When the transfer succeeds, the response includes a collection of transfer entities generated for that payment.

Request Body


{"transfers"=>[{"account"=>"acc_id", "amount"=>100, "currency"=>"INR", "notes"=>{"name"=>"Gaurav Kumar", "roll_no"=>"IEC2011025"}, "linked_account_notes"=>["roll_no"], "on_hold"=>true, "on_hold_until"=>1671222870}, {"account"=>"acc_id", "amount"=>100, "currency"=>"INR", "notes"=>{"name"=>"Saurav Kumar", "roll_no"=>"IEC2011026"}, "linked_account_notes"=>["roll_no"], "on_hold"=>false}]}

HEADERS

| Key | Datatype | Required | Description |

| -------------- | -------- | -------- | ----------- |

| content-type | string | | |