Transfer via Payments
POST https://api.razorpay.com/v1/payments/{pay_id}/transfers
You can use this
API
to transfer a
captured
payment to one or more linked accounts using
account_id
. A response will be generated on a successful transfer with a collection of transfer entities created for the 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 | | |
RESPONSES
status: ``