Skip to main content
POST
/
organizations
/
{organization_id}
/
employees
/
{employee_id}
/
bank-accounts
Create Employee Bank Account
curl --request POST \
  --url https://sandbox.intermezzo.ai/organizations/{organization_id}/employees/{employee_id}/bank-accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "financialInstitutionName": "Deutsche Bank",
  "accountNumber": "DE89370400440532013000",
  "routingNumber": "<string>",
  "iban": "<string>",
  "isActive": true,
  "isPrimary": false
}'
{
  "financialInstitutionName": "Deutsche Bank",
  "accountNumber": "DE89370400440532013000",
  "routingNumber": "<string>",
  "iban": "<string>",
  "isActive": true,
  "isPrimary": false,
  "id": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization_id
required
employee_id
required

Body

application/json

Schema for creating bank accounts

financialInstitutionName
string
required
Examples:

"Deutsche Bank"

accountNumber
string | null
Examples:

"DE89370400440532013000"

routingNumber
string | null
Required string length: 9
iban
string | null
Maximum length: 34
isActive
boolean
default:true
isPrimary
boolean
default:false

Response

Successful Response

Schema for bank account responses

financialInstitutionName
string
required
Examples:

"Deutsche Bank"

id
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
accountNumber
string | null
Examples:

"DE89370400440532013000"

routingNumber
string | null
Required string length: 9
iban
string | null
isActive
boolean
default:true
isPrimary
boolean
default:false
I