Preview contractor payment debit date
GET {{baseUrl}}/v1/companies/:company_uuid/contractor_payments/preview
Returns a debit_date dependent on the ACH payment speed of the company.
If the payment method is Check or Historical payment, the debitdate will be the same as the checkdate.
scope: payrolls:read
Request Body
{"contractor_payments"=>[{"bonus"=>"<integer>", "contractor_uuid"=>"<string>", "date"=>"<string>", "hourly_rate"=>"<integer>", "hours"=>"<integer>", "payment_method"=>"<string>", "reimbursement"=>"<integer>", "wage"=>"<integer>"}, {"bonus"=>"<integer>", "contractor_uuid"=>"<string>", "date"=>"<string>", "hourly_rate"=>"<integer>", "hours"=>"<integer>", "payment_method"=>"<string>", "reimbursement"=>"<integer>", "wage"=>"<integer>"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"expected_debit_date":"2022-08-16"}