Saves the employee's bank account details.

Request

POST https://api.yourpayroll.com.au/api/v2/ess/{employeeId}/bankaccounts

Path parameters

Parameter name Value Description Additional
employeeId string Required

Request body

The request body takes a complete BankAccountEditModel resource, containing the following writable properties:

{
    "accountName": "string",
    "accountNumber": "string",
    "accountType": "string",
    "allocateBalance": "boolean",
    "allocatedPercentage": "double",
    "bsb": "string",
    "canBeDeleted": "boolean",
    "deleted": "boolean",
    "externalReferenceId": "string",
    "fixedAmount": "double",
    "id": "int32",
    "isEmployeeEditable": "boolean",
    "source": "string"
}

Properties

Name Type
accountName string
accountNumber string
accountType string
allocateBalance boolean
allocatedPercentage double
bsb string
canBeDeleted boolean
deleted boolean
externalReferenceId string
fixedAmount double
id int32
isEmployeeEditable boolean
source string

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

OK