Developers
Create A Free Invoice
pdfstub.com
API Reference Download Again

API Integration

Revolutionize Payroll: Generate Genuine Paystub PDFs Instantly through our robust API.

Welcome to the Future of Payroll Processing

With our advanced Paystub Generator Tool API, we provide a robust and streamlined solution for all your paystub creation needs. This innovative tool seamlessly integrates with your existing payroll system, empowering you to automate paystub generation, and deliver genuine, compliant PDF files in real-time.

Whether you're running a small business or a large enterprise, our API is designed to simplify your payroll procedures, reduce administrative overheads, and ensure accuracy in every paystub. The API's powerful communication capabilities mean that it easily interfaces with your payroll software, eliminating the need for manual data entry and reducing the likelihood of errors.

In addition, we prioritize data security and compliance. Each paystub generated using our API adheres to the highest standards of confidentiality and regulatory compliance, giving you and your employees peace of mind.

Ready to revolutionize your payroll system? Get started with our Paystub Generator Tool API today, and experience the convenience of automated, authentic, and instant paystub generation.

Paystub Generator API Documentation

Endpoints

POST https://pdfstub.com/api/paystub/

Generates a new paystub.

Request
Headers
API-KEY: YOUR_API_KEY
Content-Type: application/json
    
Get Your API Key
Body
{
  "CompanyName"         : "ACME LLC",
  "BankName"            : "ACME BANK",
  "CheckNumber"         : "000",
  "CompanyAddress"      : "1234 SOME ADDRESS",
  "CompanyNameShort"    : "ACME",
  "EmployeeId"          : "1111",
  "EmployeeName"        : "JOHN DOE",
  "EmployeeSSN"         : "1111",
  "EmployeeAddress"     : "5678 OTHER ADDRESS",
  "FederalMarriedStatus": "Single",
  "GrossPay"            : "11,600.00",
  "HireDate"            : "03\/11\/2019",
  "NetPay"              : "7,208.85",
  "PaymentPeriod"       : "06\/01\/2022-06\/30\/2022",
  "State"               : "TX",
  "StateMarriedStatus"  : "Single",
  "W4Date"              : "01\/01\/2021",
  "YearToDateGross"     : "32,800.00",
  "EmployeeBankAccount" : "0000",
  "CheckDate"           : "06\/30\/2022",
  "Group"               : "",
  "Loc"                 : "",
  "Dept"                : "",
  "AccruedSickHours"    : "14.4",
  "UsedSickHours"       : "0",
  "Earnings"            : [
    {
      "EarningName" : "Regular",
      "EarningValue": "11,600.00",
      "YearToDate"  : "40,800.00",
      "Hours"       : "200",
      "HourlyRate"  : "68"
    }
  ],
  "Deductions"          : [
    {
      "DeductionName" : "Federal Tax",
      "DeductionValue": "2,609.00",
      "YearToDate"    : "7,827.00"
    },
    {
      "DeductionName" : "State Tax",
      "DeductionValue": "741.75",
      "YearToDate"    : "2,225.25"
    },
    {
      "DeductionName" : "FICA Social Security",
      "DeductionValue": "843.20",
      "YearToDate"    : "2,529.60"
    },
    {
      "DeductionName" : "FICA Medicare",
      "DeductionValue": "197.20",
      "YearToDate"    : "591.60"
    }
  ],
  "TotalDeductions"     : "4,391.15",
  "TotalEarnings"       : "11,600.00"
}
    
Response
Success

HTTP status code: 200 OK

{
    "download_url": "https://pdfstub.com/path-to-file",
    "quota": 12
}
    

In a successful response, you will receive a download URL to access the generated paystub. The "items_left" field indicates how many paystubs you can generate with your current quota.

Error

HTTP status code: 403 Forbidden

{
    "error": "not_enough_quota"
}
    

If you've exhausted your quota for the current billing period, you will receive a 403 Forbidden status with the "not_enough_quota" error message.

Choose the Plan That's Right for You

Take control of your payroll system with our powerful API. Generate paystubs effortlessly with our flexible pricing plans tailored to suit your needs. Whether you're a startup looking for an affordable option, or a large enterprise seeking unlimited capabilities, we've got you covered.

Basic
$100/month

  • Up to 30 paystubs per month
Get Started
Pro
$250/month

  • Up to 90 paystubs per month
Get Started
Unlimited
Contact Us

  • Unlimited paystubs
Contact us

Ready to Create Your Paystub?

Follow our simple 9-step guide and get started now!

Start Creating Now