Change Virtual Account Status

Use this API to change virtual account status from ACTIVE to INACTIVE and vice-versa.

ℹ️

URLs

Request and Response Sample Code

Status:200

{
   "vAccountId":"cashfreetest",
   "status":"INACTIVE"
}
{
   "status": "SUCCESS", 
   "subCode": "200", 
   "message": "Vitual account status updated succesfully"
}

Status:403

{
   "vAccountId":"abcd123",
   "status":"ACTIVE"
}
{
   "status": "ERROR", 
   "subCode": "403", 
   "message": "Virtual account not found with given id"
}

Status:422

{
   "vAccountId":"cashfreetest",
   "status":"ACTIVATE"
}
{
   "status": "ERROR", 
   "subCode": "422", 
   "message": "Please provide a valid status"
}
Language
Click Try It! to start a request and see the response here!