RequestByEmail
This endpoint sends a unique url to the recipients by email to complete their form W-8BEN. The endpoint needs the name and the recipient’s email address to generate the unique url. The recipients will receive an email with the link to complete their W-8BEN in a secured portal. Once the recipients complete the Form W-8BEN, you will receive a webhook notification for the W-8BEN data.
How does this work?
Like any other TaxBandits API Endpoint, the first step is to call the Auth method to get the access token. This access token must be supplied in the request header as the ‘Bearer‘ token. Refer to the OAuth 2.0 Authentication for more information on JWT authentication and how to integrate with the subsequent requests.
The second step is to call the [POST] FormW8Ben/RequestByEmail endpoint with the following values:
- Access Token in the header as Bearer Token (Generated using TaxBandits OAuth authentication API)
- Recipient Name and Address (optional) - The recipient information will be pre-filled on the form when passed in the request.
- Business Logo and Callback URLs (optional) - Customize the business logo on the Form Form W8-BEN. Set callback redirection URLs upon submission or cancelation.
Payee Reference (Unique information that identifies the Recipient). Can be the Vendor id, contractor number, recipient email address, or a random number. Will be used to identify the recipient for future references.
Requester (BusinessId) or TIN- Optional value to save the W8BEN under a particular Business) - To identify and save the W-8BEN under a particular Business. Refer to the Business endpoint to learn more about creating a Business in TaxBandits. If you don’t supply one in the request, it will be associated with the default business (first business created in your account).
Note: When using this endpoint, the client can send W-8BEN requests to multiple recipients in a single submission.
- TaxBandits will send the W-8BEN request emails to the recipients. The email will have the link to complete the Form W-8BEN. The recipient will complete and sign Form W-8BEN through a secure portal. The secured portal can be customized with the client's URL, logo and theme. An electronic signature pad that allows the recipient to sign electronically and submit the form is available.
- Once the recipient completes and signs the Form W-8BEN, the client will be notified via Webhook. The Webhook payload will have the W-8BEN data such as the Name, Address and TIN(US/Foreign) along with the link to download the completed Form W-8BEN.
Refer to the Form W-8BEN webhook to know more about webhook set up and sample payload.
POST FormW8Ben/RequestByEmail
Request Body
Field | Type | Description |
---|---|---|
Requester | object | Business you want the W-8BENs to be created under. If you do not supply the requester information, then the W-8BENs will be created using the default business (First business created in your account). |
BusinessId | Guid | Optional Unique Business Identifier. This ID is generated by TaxBandits after you create a business in your account using the Business endpoint. |
TIN | String | Optional Taxpayer Identification Number. Use this as an alternative for BusinessId. Values: EIN, SSN Size Range: 9-11(Including hyphen) |
Recipients | object[] | Collection of Recipient Name and Email |
PayeeRef | String | Optional An unique identifier for each recipient completing the Form W-8BEN. This identifier will be used in future references of the recipient in the API. Size Range: 1-50 |
Name | string | Name of the recipient Size Range: 1-40 |
string | Email Address of the recipient. This is the email address to which the W-8BEN request email will be sent. Size Range: 1-50 |
Request JSON
- Request 1
- Request 2
- Request 3
{
"Requester": {
"BusinessId": "7746f0cd-e8eb-4428-9240-12ea84160ee8",
"TIN": null
},
"Recipients": [
{
"PayeeRef": "8987844654654654",
"Name": "Allen Smith",
"Email": "sample@bodeem.com"
}
]
}
{
"Requester": {
"BusinessId": "00000000-0000-0000-0000-000000000000",
"TIN": "22-2222222"
},
"Recipients": [
{
"PayeeRef": "8987844654654654",
"Name": "Allen Smith",
"Email": "sample@bodeem.com"
}
]
}
{
"Requester": null,
"Recipients": [
{
"PayeeRef": "8987844654654654",
"Name": "Allen Smith",
"Email": "sample@bodeem.com"
}
]
}
Response Body
Field | Type | Description |
---|---|---|
SubmissionId | Guid | Unique identifier of a submission. |
Requester | Object | Requester information. |
BusinessId | Guid | A unique identifier of the business. |
BusinessNm | String | Requester Name. If the requester is a Business, then the Business Name will be returned. If the requester is an Individual, then the Payer’s full name will be returned. |
TINType | String | TIN Type of the Requester. |
TIN | String | Taxpayer Identification Number of the requester. |
FormW8BENRecords | Object | Details of Form W-8BEN requests given in the request. |
SuccessRecords | Object | Recipients with no error in the request |
PayeeRef | String | Unique identifier of the recipient. |
String | Email Address of the recipient to which W-8BEN request was sent. | |
W8BENStatus | String | Status of the W-8BEN. |
StatusTs | String | Timestamp of the W-8BEN status. |
ErrorRecords | Object | Details of the recipients with errors. |
PayeeRef | String | An unique identifier of a recipient. |
String | Email Address of the recipient given in the request. | |
Errors | object[] | Collection of errors for the recipient. |
Id | string | Error ID number. This ID is assigned by TaxBandits and it is unique for each error. |
Name | string | Name of the errored node. |
Message | string | Shows the error message. |
Errors | object[] | There are a variety of errors in the request. Some of the errors listed under this object are,
|
Response JSON
- Response 1
- Response 2
- Response 3
{
"SubmissionId": "5a7ddb71-a6ac-4312-ab09-7ad9a2b3507d",
"Requester": {
"BusinessId": "7746f0cd-e8eb-4428-9240-12ea84160ee8",
"BusinessNm": "John Enterprises",
"TINType": "EIN",
"TIN": "22-2222222"
},
"FormW8BenRecords": {
"SuccessRecords": [
{
"PayeeRef": "8987844654654654",
"Email": "sample@bodeem.com",
"W8BenStatus": "ORDER_CREATED",
"StatusTs": "2021-03-09 05:21:56 -05:00"
}
],
"ErrorRecords": null
},
"Errors": null
}
{
"SubmissionId": "5a7ddb71-a6ac-4312-ab09-7ad9a2b3507d",
"Requester": {
"BusinessId": "7746f0cd-e8eb-4428-9240-12ea84160ee8",
"BusinessNm": "John Enterprises",
"TINType": "EIN",
"TIN": "22-2222222"
},
"FormW8BenRecords": {
"SuccessRecords": [
{
"PayeeRef": "8987844654654654",
"Email": "sample@bodeem.com",
"W8BenStatus": "ORDER_CREATED",
"StatusTs": "2021-03-09 05:21:56 -05:00"
}
],
"ErrorRecords": null
},
"Errors": null
}
{
"SubmissionId": "5a7ddb71-a6ac-4312-ab09-7ad9a2b3507d",
"Requester": {
"BusinessId": "7746f0cd-e8eb-4428-9240-12ea84160ee8",
"BusinessNm": "John Enterprises",
"TINType": "EIN",
"TIN": "22-2222222"
},
"FormW8BenRecords": {
"SuccessRecords": [
{
"PayeeRef": "8987844654654654",
"Email": "sample@bodeem.com",
"W8BenStatus": "ORDER_CREATED",
"StatusTs": "2021-03-09 05:21:56 -05:00"
}
],
"ErrorRecords": null
},
"Errors": null
}