Creates a new BACS settings record for the business.

Request

POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/bacs

Path parameters

Parameter name Value Description Additional
businessId string Required

Request body

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

{
    "accountName": "string",
    "accountNumber": "string",
    "fileFormat": "string",
    "id": "int32",
    "lodgementReference": "string",
    "paymentAdditionalContent": "string",
    "serviceUserNumber": "string",
    "sortCode": "string"
}

Properties

Name Type Description
accountName string String
accountNumber string String
fileFormat string BacsFileFormat

Possible values are:

  • Standard
  • Hsbc
  • BankOfIreland
  • Barclays
  • Lloyds
  • NatWest
  • Sage
  • ClydesdaleBank
  • MetroBank
id int32 Int32
lodgementReference string String
paymentAdditionalContent string PaymentFilePaymentAdditionalContent

Possible values are:

  • None
  • PeriodEndingDate
  • PaymentDate
  • EmployeeId
serviceUserNumber string String
sortCode string String

Response

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

Status code Description Resource
200 OK

OK

UkBacsApiModel