curl --request POST \
--url https://payout-api.cashfree.com/payout/v1.2/requestTransfer \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '{
"beneId": "<string>",
"amount": 123,
"transferId": "<string>",
"transferMode": "<string>",
"paymentInstrumentId": "<string>",
"remarks": "<string>"
}'
"{\n \"status\":\"SUCCESS\", \n \"subCode\":\"200\", \n \"message\":\"Transfer completed successfully\", \n \"data\": \n {\n \"referenceId\":\"10023\",\n \"utr\":\"P16111765023806\",\n \"acknowledged\": 1\n }\n}\n\n{\n \"status\":\"ERROR\",\n \"subCode\":\"404\",\n \"message\":\"Beneficiary does not exist\"\n}\n\n{\n \"status\":\"ERROR\",\n \"subCode\":\"422\", \n \"message\":\"Remarks can have only numbers,alphabets and whitespaces\"\n}"
Use this API to initiate an amount transfer request at Cashfree by providing beneficiary id, amount, and transfer id. This is a sync transfer request.
curl --request POST \
--url https://payout-api.cashfree.com/payout/v1.2/requestTransfer \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>' \
--data '{
"beneId": "<string>",
"amount": 123,
"transferId": "<string>",
"transferMode": "<string>",
"paymentInstrumentId": "<string>",
"remarks": "<string>"
}'
"{\n \"status\":\"SUCCESS\", \n \"subCode\":\"200\", \n \"message\":\"Transfer completed successfully\", \n \"data\": \n {\n \"referenceId\":\"10023\",\n \"utr\":\"P16111765023806\",\n \"acknowledged\": 1\n }\n}\n\n{\n \"status\":\"ERROR\",\n \"subCode\":\"404\",\n \"message\":\"Beneficiary does not exist\"\n}\n\n{\n \"status\":\"ERROR\",\n \"subCode\":\"422\", \n \"message\":\"Remarks can have only numbers,alphabets and whitespaces\"\n}"
200
The response is of type any
.
Was this page helpful?