v1

latestOpenAPI 3.1.02026-07-24360204.4 KB

Deactivate Virtual Account

Use this API to deactivate a virtual account.

post/v1/accounts/{account_id}/deactivate

Path parameters

account_idstring required

Unique identifier of the account that should be deactivated.<br><br>Example: va_wOkbh2GM7TcqNOB4VDEKH1IkH

Response

200

idstring
objectstring
typestring
used_asstring
bank_namestring
namestring
mobile_numberstring
emailstring
account_numberstring
ifsc_codestring
{"stackTrail":"paths:/v1/accounts/{account_id}/deactivate:post:responses:200:content:application/json:schema:properties:vpa","oasType":"schema","type":"unknown"}
additional_vpaobject[]
whitelisted_remittersobject[]
whitelisted_beneficiariesobject[]
{"stackTrail":"paths:/v1/accounts/{account_id}/deactivate:post:responses:200:content:application/json:schema:properties:kyc_url","oasType":"schema","type":"unknown"}
statusstring
created_atinteger
is_sandboxboolean
{"stackTrail":"paths:/v1/accounts/{account_id}/deactivate:post:responses:200:content:application/json:schema:properties:settlement_account_id","oasType":"schema","type":"unknown"}
verified_beneficiariesobject[]
verified_remittersobject[]

Example response

{
  "id": "va_gsXD5cMqH8XyrfTe3HelnFe43",
  "object": "account.virtual",
  "type": "virtual",
  "used_as": "collection_tool",
  "bank_name": "yes_bank",
  "name": "Lush Adobe",
  "mobile_number": "9876543210",
  "email": "anil.reddy@example.com",
  "account_number": "3636365909131910",
  "ifsc_code": "YESB0CMSNOC",
  "kyc": {
    "city": "Bangalore",
    "postal_code": "560010",
    "state_code": "KA",
    "pan": "XXXXXX905H",
    "business_type": "partnership",
    "business_category": "garage_owners",
    "contact_person": "Rahul Reddy"
  },
  "customer": {
    "id": "cus_LuCej8PYu2A3AXD2VSsRFqNob",
    "mobile_number": "9876543210"
  },
  "metadata": {
    "key_1": "DD",
    "key_2": "XOF"
  },
  "status": "deactivated",
  "created_at": 1758100959
}