To complete the payer information for 1099 filing, TaxBandits will supply the URL that can be opened on its own or embedded as an Iframe into a web page or native app. To get the URL, you will have to send a request to our API with a unique Payer Reference Number such as a random number or even an email address (This will be used to identify the payer for future references).
How does this work?
Call the [Get] Business/RequestByURL endpoint. If you are trying to embed this link into your web page, this endpoint must be called before you load the page. Supply the following parameters:
- Access Token in the header as Bearer Token (generated using TaxBandits OAuth authentication API).
- Payer Reference (Unique information that identifies the Payer). The Payer Reference can be anything that uniquely identifies the payer such as reference number or a random number or even an email address (This will be used to identify the payer for future references).
- Callback URLs (Optional) - You can set the callback redirection for payer form completion/cancel. Ensure that the callback URL is valid, as the API will post a sample JSON. The callback URL is expected to return an HTTP 200 response code in order to remain active. If the API doesn’t return a 200 response code, then the callback URL will go inactive.
TaxBandits API will generate a unique URL and send the link in the response, which must then be embedded into the page or shown by itself (Hosted Solution) for the Payer to click. When clicked, the Payer will be provided with the Payer Information page with built-in validations.
You will be notified via webhook whenever the payer completes the Payer Information page. The payer data, such as name, address, and EIN/SSN, will be included in the webhook payload.
Refer to Business Complete webhook to learn on how to set up the webhook URLs and for a sample payload.
|PayerRef||String||An unique identifier for each payer completing their information. This identifier can be used in future references of the payer in the API.Size Range: 1-50|
|FormType||String||A Type of Form for requesting Business URL.Allowed values: "form1099"|
Note: If you do not provide the Cancel Callback Redirection URL, the cancel button will not be shown to the payer.Size Range: ..150
|SubmissionId||Guid||Unique identifier of a submission.|
|PayerRef||string||Unique identifier of the payer.|
|BusinessUrl||string||URL that can be accessed on its own or embedded on the client's website using Iframe or other means.|
|Errors||Object||Shows error information. This object will list the errors in the request parameters.|
Request 1: Request with PayerRef and Redirection URLs. Make sure to configure the Business Complete Webhook console.
Response 1: Distinctive URL is generated for specific PayerRef to fill and complete the business form. When a Payer submits the form, the "Business Complete" webhook payload will include the status data.
Request 2: Request with just the PayerRef and formtype
Response 2: Unique URL will generated for the specific PayerRef and the formtype. The completed form will be saved against a default business.
Request 3: Request without the PayerRef
Response 3: System will throw an error that PayerRef is required.
"Message": "PayerReference is required"