AlphaAlpha Docs
API ReferenceCompany bank accounts

Create a new company bank account

POST
/company-bank-accounts
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "http://localhost:18080/api/v1/company-bank-accounts" \  -H "Content-Type: application/json" \  -d '{    "accountNumber": "string",    "accountType": "CHECKING",    "autoMatchEnabled": true,    "currency": "string",    "isActive": true,    "subsidiaryId": "string"  }'
{
  "accountName": "string",
  "accountNumber": "string",
  "accountType": "CHECKING",
  "autoMatchEnabled": true,
  "bankName": "string",
  "bic": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "currency": "string",
  "defaultGLAccountId": "string",
  "id": "string",
  "isActive": true,
  "lastBalanceDate": "2019-08-24T14:15:22Z",
  "lastImportDate": "2019-08-24T14:15:22Z",
  "lastKnownBalance": 0.1,
  "subsidiaryId": "string",
  "subsidiaryName": "string",
  "tenantId": "string",
  "transactionCount": 0,
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}