logoOPEN BANKING DOCS

Create virtual account

Create a new virtual account for a customer

POST
/accounts/virtual
X-API-Key<token>

In: header

Header Parameters

X-API-Keystring

API key for the application

X-App-Idstring

UUID of the application

Formatuuid
customerIdstring
Formatuuid
accountNamestring
walletId?string | null
Formatuuid

Response Body

curl -X POST "https://virtual-accounts-api.vantacrest.com/company/v1/accounts/virtual" \  -H "X-API-Key: string" \  -H "X-App-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",    "accountName": "string"  }'
{
  "data": {
    "accountNumber": "string",
    "accountName": "string",
    "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
    "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac"
  }
}
{
  "success": true,
  "message": "string",
  "data": {},
  "timestamp": "2019-08-24T14:15:22Z"
}
{
  "success": true,
  "message": "string",
  "data": {},
  "timestamp": "2019-08-24T14:15:22Z"
}