Creates or updates payment details for a subcontractor
POST https://api.yourpayroll.co.uk/api/v2/business/{businessId}/subcontractor/{subcontractorId}/paymentdetails
Parameter name | Value | Description | Additional |
---|---|---|---|
subcontractorId | int32 | Required | |
businessId | string | Required |
The request body takes a complete UkSaveSubcontractorPaymentDetailsModel resource, containing the following writable properties:
{
"accountName": "string",
"accountNumber": "string",
"accountType": "string",
"bankAccountId": "int32",
"lastPaymentDate": "date-time",
"payCategoryId": "int32",
"payScheduleId": "int32",
"rollNumber": "string",
"sortCode": "string"
}
Name | Type | Description |
---|---|---|
accountName | string | String |
accountNumber | string | String |
accountType | string |
BankAccountTypeEnum
Possible values are:
|
bankAccountId | int32 |
Nullable |
lastPaymentDate | date-time |
Nullable |
payCategoryId | int32 |
Nullable |
payScheduleId | int32 |
Nullable |
rollNumber | string | String |
sortCode | string | String |
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK OK |
UkSubcontractorPaymentDetailsModel |
Powered by DapperDox