Body
-
The contractor's home address.
-
The contractor's business name.
-
Set of key-value pairs that you can attach to an object. Used to store additional information about the contractor in a structured format.
-
The contractor's email address.
-
The contractor's first name.
-
The contractor's last name.
-
The contractor's middle name.
-
The contractor's phone number.
-
The contractor's tax identification number. For example, an employer identification number (EIN) if the contractor operates as a corporate entity or a social security number if the contractor operates as a sole proprietor.
POST
/api/v1/contractors
curl \
--request POST 'https://api.1099policy.com/api/v1/contractors' \
--header "Content-Type: application/json" \
--data '{"address":{"country":"null","line1":"92 Geary St","line2":"null","locality":"San Francisco","postalcode":94114,"region":"CA"},"company_name":"string","custom_metadata":{},"email":"string","first_name":"string","last_name":"string","middle_name":"string","phone":"string","tax_identification":"string","withhold_premium":true}'
Request examples
{
"address": {
"country": "null",
"line1": "92 Geary St",
"line2": "null",
"locality": "San Francisco",
"postalcode": 94114,
"region": "CA"
},
"company_name": "string",
"custom_metadata": {},
"email": "string",
"first_name": "string",
"last_name": "string",
"middle_name": "string",
"phone": "string",
"tax_identification": "string",
"withhold_premium": true
}
Response examples (201)
{
"address": {
"country": "null",
"line1": "92 Geary St",
"line2": "null",
"locality": "San Francisco",
"postalcode": 94114,
"region": "CA"
},
"company_name": "Acme Co.",
"created": 1646818364,
"custom_metadata": {
"campaign": "Red Bull"
},
"email": "[email protected]",
"first_name": "Joe",
"id": "string",
"last_name": "Parker",
"middle_name": "null",
"phone": "415-474-9088",
"withhold_premium": false
}