Creates a new pay run for this business asynchronously (the request will return before the pay run is created).

Request

POST https://api.yourpayroll.com.au/api/v2/business/{businessId}/payrun/async

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

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

{
    "callbackUrl": "string",
    "datePaid": "date-time",
    "externalId": "string",
    "payPeriodEnding": "date-time",
    "payScheduleId": "int32",
    "timesheetImportOption": "string"
}

Properties

Name Type
callbackUrl string
datePaid date-time
externalId string
payPeriodEnding date-time
payScheduleId int32
timesheetImportOption string

Response

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

Status code Description Resource
200 OK

OK