Updates the payment file record with the specified ID.

Request

PUT https://apimy.yourpayroll.io/api/v2/business/{businessId}/paymentfiles/{id}

Path parameters

Parameter name Value Description Additional
id int32 Required
businessId string Required

Request body

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

{
    "accountName": "string",
    "accountNumber": "string",
    "bankCode": "string",
    "branchCode": "string",
    "corporateId": "string",
    "fileFormat": "string",
    "hsbcConnectCustomerId": "string",
    "hsbcnetCustomerId": "string",
    "id": "int32",
    "lodgementReference": "string",
    "organisationCode": "string",
    "paymentAdditionalContent": "string",
    "paymentCode": "string",
    "valueDateDaysBeforeDatePaid": "int32"
}

Properties

Name Type Description
accountName string String
accountNumber string String
bankCode string String
branchCode string String
corporateId string String
fileFormat string BankFileFormatMy

Possible values are:

  • HSBC
  • Maybank
  • HSBCnet
  • AmBank
  • CIMBBulkPayment
  • PublicBankECP
  • HongLeongConnectFirst
  • HongLeongConnectBiz
  • OCBCGiro
  • Maybank2UBiz
  • Maybank2E_StaffPayroll
  • RHBSmartPayroll
  • AllianceBizSmart
  • EAmPayday
  • UnitedOverseas
  • StandardCharteredS2B
  • IslamBulkPayment
hsbcConnectCustomerId string String
hsbcnetCustomerId string String
id int32 Nullable
lodgementReference string String
organisationCode string String
paymentAdditionalContent string PaymentFilePaymentAdditionalContent

Possible values are:

  • None
  • PeriodEndingDate
  • PaymentDate
  • EmployeeId
  • PayRunId
paymentCode string String
valueDateDaysBeforeDatePaid int32 Nullable

Response

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

Status code Description Resource
200 OK

OK