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

KeyDatatypeRequiredDescription
X-Gusto-API-VersionstringDetermines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;expected_debit_date&quot;:&quot;2022-08-16&quot;}