POST
/
fundsources
/
connected
/
virtual-account
curl --request POST \
  --url https://sandbox.cashfree.com/payout/fundsources/connected/virtual-account \
  --header 'Content-Type: application/json' \
  --data '{
  "displayName": "Demo1",
  "accountPrefix": 1234
}'
{
  "status": "SUCCESS",
  "subCode": "200",
  "message": "Virtual account created",
  "data": {
    "paymentInstrumentId": "KOTAKCR_CONNECTED_376933_9e478d1",
    "virtualAccountNumber": "90909010KR0M"
  }
}

Body

application/json
Find the request parameters to create the virtual account
displayName
string
required

It is the name you want to display for the virtual account.

accountPrefix
string

It is the account prefix as allocated by the bank. This paramete is mandatory during the first account creation.

Response

200
application/json
Virtual account successfully created.
status
string

It displays the status of the request (SUCCESS/FAILURE).

subCode
string

It displays the sub code of the request.

message
string

It displays the outcome of the request.

data
object

Response data.