POST
/
usa
curl --request POST \
  --url https://payroll.intermezzo.ai/usa \
  --header 'Content-Type: application/json' \
  --data '{
  "payrollRun": [
    {
      "benefits": {
        "medical": 100,
        "retirement": [
          {
            "amount": 5,
            "amountType": "percent",
            "type": "Roth 403(b)"
          }
        ]
      },
      "earnings": {
        "baseSalary": [
          {
            "amount": 3269.23,
            "frequency": "per pay period"
          }
        ],
        "payPeriod": "biweekly"
      },
      "employeeId": 1,
      "stateTaxInfo": {
        "homeAddress": "1110 Waverly St, Philadelphia, PA 19147",
        "taxState": "Pennsylvania",
        "workAddress": "1110 Waverly St, Philadelphia, PA 19147"
      },
      "taxInfo": {
        "additionalWithholding": 0,
        "deductions": 0,
        "dependentAmount": 0,
        "filingStatus": "Married",
        "otherIncome": 0,
        "usePre2020W4": false,
        "workTwoJobs": false
      }
    }
  ]
}'
{
  "employeeGtn": [
    {
      "benefits": {
        "benefits": {
          "dental": "0",
          "dependentFSA": "0",
          "healthcareFSA": "0",
          "healthcareHSA": "0",
          "medical": "100",
          "retirementAmount": "0",
          "retirementPlans": [],
          "vision": "0"
        },
        "pretaxDeductions": "100"
      },
      "earnings": {
        "baseSalary": "3269.23",
        "hourlyPay": "0.0",
        "overtime": "0",
        "totalEarnings": "3269.23"
      },
      "employeeId": 1,
      "posttax": {
        "posttaxDeductions": "163.46",
        "retirementPlans": [
          {
            "amount": "163.46",
            "type": "Roth 403(b)"
          }
        ]
      },
      "taxes": {
        "additionalMedicareTaxes": "0.00",
        "federalTaxes": "223.50",
        "medicareTaxes": "45.95",
        "socialSecurityTaxes": "196.49",
        "stateTaxes": {
          "earnedIncomeTax": "122.60",
          "localServiceTax": "0.00",
          "stateIncomeTax": "97.30",
          "stateUnemploymentInsurance": "2.29",
          "taxState": "Pennsylvania",
          "totalStateTaxes": "222.19"
        },
        "totalTaxes": "688.13"
      }
    }
  ],
  "summary": {
    "benefits": {
      "benefits": {
        "dental": "0",
        "dependentFSA": "0",
        "healthcareFSA": "0",
        "healthcareHSA": "0",
        "medical": "100",
        "retirementAmount": "0",
        "vision": "0"
      },
      "pretaxDeductions": "100"
    },
    "earnings": {
      "baseSalary": "3269.23",
      "hourlyPay": "0.0",
      "overtime": "0",
      "totalEarnings": "3269.23"
    },
    "posttax": {
      "posttaxDeductions": "163.46"
    },
    "taxes": {
      "additionalMedicareTaxes": "0.00",
      "federalTaxes": "223.50",
      "medicareTaxes": "45.95",
      "socialSecurityTaxes": "196.49",
      "stateTaxes": {
        "stateIncomeTax": "0",
        "taxState": "Pennsylvania",
        "totalStateTaxes": "0"
      },
      "totalTaxes": "688.13"
    }
  }
}

Query Parameters

request_model_exclude_unset
any

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.