Add Compliance Information
users
transfers
payout-links
payments
payment-intents
payment-customers
checkout-sessions
accounts-payable
- GETList all vendors
- POSTCreate a vendor
- GETGet vendor details
- DELDelete a vendor
- GETList all payment methods for a vendor
- POSTCreate a payment method for a vendor
- GETGet vendor payment method details
- DELDelete a vendor payment method
- GETList all payables
- POSTCreate a payable
- POSTCreate a payable from a file
- GETGet payable details
- PATCHUpdate a payable
- POSTUpload file to the payable
- DELDelete file from the payable
- POSTCancel a payable
- POSTSubmit a payable for approval
- POSTApprove a payable
- POSTReject a payable
- POSTPay a payable
- GETList all approval policies
- POSTCreate an approval policy
- DELDelete an approval policy
- PATCHUpdate priority of an approval policy
- GETList all approvers for api app
apps
- GETList all Apps
- POSTCreate an App
- GETRetrieve an App
- GETRetrieve an App's Compliance Information
- PUTUpdate an App's Compliance Information
- GETGet App ACH Account
- PUTAdd App ACH Account
- POSTDeposit Funds into App Wallet
- POSTWithdraw Funds From App Wallet
- POSTRefresh compliance flow
- POSTUpdate an application's settings
payment-methods
Add Compliance Information
Add compliance information to a user via the API.
curl --request PUT \
--url https://api.dots.dev/api/v2/users/{user_id}/compliance \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"w9": {
"entity_type": "individual",
"business_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"tin": "<string>",
"address": {
"line_1": "<string>",
"line_2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postcode": "<string>"
}
},
"w8ben": {
"name": "<string>",
"citizenship_country": "<string>",
"date_of_birth": "2023-12-25",
"tin": "<string>",
"foreign_tax_id": "<string>",
"tax_treaty_country": "<string>",
"tax_treaty_citation": "<string>",
"tax_treaty_rate": 123,
"tax_treaty_income_type": "interest1",
"tax_treaty_explanation": "<string>",
"address": {
"line_1": "<string>",
"line_2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postcode": "<string>"
},
"signature": {
"consent": true,
"name": "<string>",
"email": "<string>"
}
}
}'
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
Id of the user to fetch
Body
application/json
Response
200
OK
Was this page helpful?
curl --request PUT \
--url https://api.dots.dev/api/v2/users/{user_id}/compliance \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"w9": {
"entity_type": "individual",
"business_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"tin": "<string>",
"address": {
"line_1": "<string>",
"line_2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postcode": "<string>"
}
},
"w8ben": {
"name": "<string>",
"citizenship_country": "<string>",
"date_of_birth": "2023-12-25",
"tin": "<string>",
"foreign_tax_id": "<string>",
"tax_treaty_country": "<string>",
"tax_treaty_citation": "<string>",
"tax_treaty_rate": 123,
"tax_treaty_income_type": "interest1",
"tax_treaty_explanation": "<string>",
"address": {
"line_1": "<string>",
"line_2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"postcode": "<string>"
},
"signature": {
"consent": true,
"name": "<string>",
"email": "<string>"
}
}
}'