WhCertificate Status Change
When the recipients submit either W-9 or W-8BEN (based on their citizenship), you will be notified via this Webhook. This applies to the endpoint WHCertificate/RequestByUrl or WHCertificate/RequestByEmail. The Webhook payload will have W-8BEN details. It may also contain the TIN matching status and the URL to download the completed form (if you opted for it).
Steps to Configure Webhook for WhCertificate Status Change
-
Log in to the Developer Console Site. Navigate to Settings >> Webhook Notifications.
-
Click the Add Webhook button and choose the Event Type as ‘WhCertificate Status Change’.
-
Enter the callback URL and click on the Submit button. Ensure that the callback URL you enter is valid, as the API will authenticate this URL by posting a sample JSON. The URL will be activated only when we receive the 200 response. You must follow these best practices to have a valid callback URL for Webhook.
-
Then, provide a Notify email. This email will be used by TaxBandits to notify you regarding any failed attempts of Webhook posting.
Status Codes:
Following are the different types of status codes that you will receive through Webhooks
For W-9 without TIN Matching
- Completed - The recipient has completed and signed the Form W-9
For W8-Ben
- Completed - The recipient has completed and signed the Form W8-BEN
For W8-BEN-E
- Completed - The recipient has completed and signed the Form W8-BEN-E
For W-9 with TIN Matching
- Order Created - The recipient completed the Form W-9, and a TIN Matching order is created in Taxbandits. The TIN Matching request is yet to be sent to the IRS.
- Sent to Agency - The order has been sent to the IRS for TIN verification, and TaxBandits is waiting for the response from the IRS. Usually, the IRS takes one business day to complete the TIN verification process.
- Success - The recipient’s Name and TIN combination match the records in the IRS database.
- Failed - The recipient’s Name and TIN combination do not match the records in the IRS database.
Receive Webhook Requests from API
Once the Webhooks are configured and the callback URL is authenticated by receiving a 200 response using a sample post, our API will start issuing an HTTP Post to the URL every time your recipients complete and submit either a W-9 or W-8 BEN. The request’s POST parameter will contain JSON data.
Here is the sample Webhook Post:
{
"FormType": "FormW9",
"WebhookRef": "6l97fcaa-fbda-4bf6-8210-46de3479fe48",
"FormW9": {
"SubmissionId": "81ac3d1b-6f4d-4ed7-95b9-4b508e3cb55d",
"Requester": {
"BusinessId": "16b7bbmc-1865-4740-9ef9-a0de62157af3",
"PayerRef": "Snow123",
"BusinessNm": "Snowdaze LLC",
"FirstNm": null,
"MiddleNm": null,
"LastNm": null,
"Suffix": null,
"TINType": "EIN",
"TIN": "XX-XXX6789",
"DBAId": null,
"DBARef": null
},
"PayeeRef": "Pe1310",
"RecipientId": "f2fc48bb-e6b2-4ecc-b706-3c547c44a6c4",
"W9Status": "COMPLETED",
"StatusTs": "2024-11-25 01:48:46 -05:00",
"TINMatching": null,
"FormW9RequestType": "COMMON_URL_API",
"PdfUrl": "https://s3.amazonaws.com/taxbandits-sb-api/ba8f8005-5bfb-43fc-bc39-73feaf0c670b.Pdf",
"Email": null,
"FormData": {
"Line1Nm": "James",
"Line2Nm": "Dairy Delights LLC",
"FirstNm": null,
"MiddleNm": null,
"LastNm": null,
"Suffix": null,
"TINType": "EIN",
"TIN": "62-3768479",
"Address": {
"Address1": "71 SAINT NICHOLAS DR",
"Address2": null,
"City": "NORTH POLE",
"State": "AK",
"ZipCd": "99705"
},
"AccountNum": "PL1310",
"FederalTaxClassification": "Individual or Sole proprietor or Single-member LLC",
"IsLine3b": false,
"ExemptPayeeCd": null,
"ExemptFromFATCA": null,
"IsBackUpWH": false
},
"Errors": null
},
"FormW8Ben": null,
"FormW8BenE": null
}
Respond to Webhook Post from API
You must respond to the Webhook post by sending an HTTP 200 OK Response. Any other code other than 200 will be treated as an incomplete call. This API does not support 301 redirects, which will be treated as an error. Learn more
You are required to initiate a response to our Webhook request within 5 seconds, if not, the request will be treated as timeout. If the API doesn’t receive a response during the 5-second time window or in case of an error, it will attempt to retry the connection a total of 9 times within 24 hours.
Before you respond to a Webhook request, you must validate if the request was sent from TaxBandits. To learn how to validate Webhook requests, click here.