Take control of the UI/UX and send Zeal the necessary contractor onboarding information through our API.

In order for an contractor to be onboarded we must collect the following:

  • Contractor Profile Information
  • Bank Account Information

Give as much information about the contractor. Zeal requires all fields to be filled out for the contractor at the final stage when you set them as onboarded.

curl --location --requests POST 'hthttps://api.joinpuzzl.com/contractors'
   --header 'Content-Type: application/json'
   --header 'Authorization: Bearer <YOUR API KEY>'
   --data-raw '{
         "companyID": "1b5n28nrideucd24",
         "new_contractors": [
            {
               "email": "[email protected]",
               "working_state": "CA",
               "first_name": "Erlich",
               "last_name": "Bachman",
               "type": "business",
               "business_name": "Aviato",
               "ein": "098765432",
               "address": "1 Ferry Building",
               "city": "San Francisco",
               "state": "CA",
               "zip": "94110"
            }
         ]  
   }’

curl --location --requests POST 'https://api.joinpuzzl.com/bankaccount'
   --header 'Content-Type: application/json'
   --header 'Authorization: Bearer <YOUR API KEY>'
   --data-raw '{
      "companyID": "0987654321",
      "id": "0982354562734",
      "institution_name": "Chase",
      "account_number": "1243686537",
      "routing_number": "09876283743",
      "type": "checking"
   }’

Set onboarded to true to set the contractor as onboarded. Setting this field yourself will only work if a bank account has been created for the contractor and if the following contractor profile fields have been completed: first name, last name, email, working state, type, ssn OR (ein & business name), address, city, state, and zip. Otherwise, Zeal will return an error indicating that some fields are missing. Once the contractor is onboarded successfully, they can get paid!

curl --location --requests POST 'https://api.joinpuzzl.com/contractors'
   --header 'Content-Type: application/json'
   --header 'Authorization: Bearer <YOUR API KEY>'
   --data-raw '{
      "companyID": "0987654321",
      "contractor":  {
         "contractorID": "0982354562734",
         "onboarded": true
      }
   }’

Did this page help you?