Skip to content

Ensure Payroll Integration Email

employers.ensure_payroll_integration_email(employer_id) -> EmployerEnsurePayrollIntegrationEmailResponse { data }
PUT/v1/employers/{employer_id}/payroll-integration-email

Provision and return the employer’s payroll integration email.

ParametersExpand Collapse
employer_id: String

Unique employer identifier (empr_*)

ReturnsExpand Collapse
class EmployerEnsurePayrollIntegrationEmailResponse { data }

Response containing a single payroll integration email resource.

data: { integration_email}
integration_email: String
formatemail

Ensure Payroll Integration Email

require "vitable_connect"

vitable_connect = VitableConnect::Client.new(
  api_key: "My API Key",
  environment: "environment_1" # defaults to "production"
)

response = vitable_connect.employers.ensure_payroll_integration_email("empr_abc123def456")

puts(response)
{
  "data": {
    "integration_email": "dev@stainless.com"
  }
}
Returns Examples
{
  "data": {
    "integration_email": "dev@stainless.com"
  }
}