Creates a new bank account for the employee.
POST https://api.nzpayroll.co.nz/api/v2/business/{businessId}/employee/{employeeId}/bankaccount
Parameter name | Value | Description | Additional |
---|---|---|---|
businessId | string | Required | |
employeeId | string | Required |
The request body takes a complete NzBankAccountModel resource, containing the following writable properties:
{
"accountCode": "string",
"accountName": "string",
"accountNumber": "string",
"accountParticulars": "string",
"accountType": "string",
"allocateBalance": "boolean",
"allocatedPercentage": "double",
"bsb": "string",
"canBeDeleted": "boolean",
"employeeId": "int32",
"externalReferenceId": "string",
"fixedAmount": "double",
"fullAccountNumber": "string",
"id": "int32",
"isEmployeeEditable": "boolean"
}
Name | Type | Description |
---|---|---|
accountCode | string | String |
accountName | string | String |
accountNumber | string | String |
accountParticulars | string | String |
accountType | string |
BankAccountTypeEnum
Possible values are:
|
allocateBalance | boolean | Boolean |
allocatedPercentage | double |
Nullable |
bsb | string | String |
canBeDeleted | boolean | Boolean |
employeeId | int32 | Int32 |
externalReferenceId | string | String |
fixedAmount | double |
Nullable |
fullAccountNumber | string | String |
id | int32 | Int32 |
isEmployeeEditable | boolean | Boolean |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
NzSaveBankAccountResponseModel |
Powered by DapperDox