Payee Tax Profile Component
Rendering the Component
Authenticate and style this component by importing and calling the renderPayeeTaxProfile
function from the Abound Client SDK. This function will render the “Payee Tax Profile” Drop-In UI component in your app.
Render Properties
The following properties are available to passed into the renderPayeeTaxProfile
function:
Customizations
There are several custom options available to customize the appearance of the “Payee Tax Profile” component. Unlike, the properties defined at render, these customizations are defined at the time of accessToken
creation nested under the customizations.payeeTaxProfile
key.
Data Prepopulation
There are two ways to prepopulate the Payee Tax Profile component:
1. Preload from the Previous Submission
If you included a userId
when creating the accessToken
, the component will automatically display (if available) the latest available W-9/W-8 information previously submitted by that User. This behavior can be turned off by setting payeeTaxProfileOptions.shouldPreloadFromUserId
to false
when creating the accessToken
.
2. Preload from Default Values
If you include the payeeTaxProfileOptions.defaults
object when creating an accessToken
, the component will prepopulate select form fields with this data.
Ignoring Defaults
Defaults will only apply if a previous Payee Tax Profile submission was not
found during a userId
lookup or if
payeeTaxProfileOptions.shouldPreloadFromUserId
is set to false
.
Here is an example of how to structure the payeeTaxProfileOptions.defaults
object: