---
updatedAt: 2025-06-02T22:09:49.000Z
agentTools:
  projectIndex: https://developers.aeronpay.in/llms.txt
---

# Virtual Account

Instantly Generate the Virtual Account through AeronPay API and Collect the Funds from your Customers

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "collections",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.aeronpay.in/api/serviceapi-prod/api"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/virtualaccount/bankcollection": {
      "post": {
        "summary": "Virtual Account",
        "description": "Instantly Generate the Virtual Account through AeronPay API and Collect the Funds from your Customers",
        "operationId": "virtual-account-collections",
        "parameters": [
          {
            "name": "client-id",
            "in": "header",
            "description": "Unique Client ID",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client-secret",
            "in": "header",
            "description": "Unique Client Secret",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Content-Type",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "application/json"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "type",
                  "client_referenceId",
                  "name",
                  "email",
                  "phone",
                  "address",
                  "customer_id",
                  "source_bank_account",
                  "source_bank_ifsc"
                ],
                "properties": {
                  "type": {
                    "type": "string",
                    "description": "Pass \"bankaccount\" in the type parameter",
                    "default": "bankaccount"
                  },
                  "client_referenceId": {
                    "type": "string",
                    "description": "Unique Reference ID"
                  },
                  "name": {
                    "type": "string",
                    "description": "Customer Name"
                  },
                  "email": {
                    "type": "string",
                    "description": "Customer Email ID"
                  },
                  "phone": {
                    "type": "string",
                    "description": "Customer Mobile Number"
                  },
                  "address": {
                    "type": "string",
                    "description": "Customer Address"
                  },
                  "source_bank_account": {
                    "type": "string",
                    "description": "Pass the Customer Source Bank Account for Whitelisting"
                  },
                  "source_bank_ifsc": {
                    "type": "string",
                    "description": "Pass the Customer Source IFSC for Account Whitelisting"
                  },
                  "customer_id": {
                    "type": "string",
                    "description": "Pass the Customer ID, Which will be get in Collection Create Customer API"
                  }
                }
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "type": "bankaccount",
                    "client_referenceId": "14882748827",
                    "name": "Rakesh Mittal",
                    "email": "rakesh.mittal@aeronpay.in",
                    "phone": "9999933333",
                    "address": "Rajasthan, India"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\":\"SUCCESS\",\n  \"statusCode\":\"200\",\n  \"message\":\"Virtual Account Generated Successfully\",\n  \"receivers\":{\n  \"bankAccount_number\":\"22XXXXXXXXXXX34\",\n  \"ifscCode\":\"UTIB000XXXX\",\n  \"bankName\":\"Axis Bank\",\n  \"virtual_account_status\":\"active\",\n  \"acknowledged\":\"1\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "statusCode": {
                      "type": "string",
                      "example": "200"
                    },
                    "message": {
                      "type": "string",
                      "example": "Virtual Account Generated Successfully"
                    },
                    "receivers": {
                      "type": "object",
                      "properties": {
                        "bankAccount_number": {
                          "type": "string",
                          "example": "22XXXXXXXXXXX34"
                        },
                        "ifscCode": {
                          "type": "string",
                          "example": "UTIB000XXXX"
                        },
                        "bankName": {
                          "type": "string",
                          "example": "Axis Bank"
                        },
                        "virtual_account_status": {
                          "type": "string",
                          "example": "active"
                        },
                        "acknowledged": {
                          "type": "string",
                          "example": "1"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```