Skip to main content
AffiliatesVersion: v3

Upload affiliate tax form

POST/affiliate-manager/{locationId}/affiliates/{affiliateId}/tax-form

Upload a W-8 or W-9 document for an affiliate. Send the document as multipart/form-data; the storage location is assigned by the server.

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:affiliate-manager.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

locationIdstringrequired

Location Id

Example:ve9EPM428h8vShlRW1KT
affiliateIdstringrequired

Affiliate Id

Example:6385d230f6d19db03eef6fb2

Body

filestring<binary>required

Tax form document. Allowed types: application/pdf. Maximum 5 MB.

Example:w9.pdf
formTypestringrequired

Which tax form the uploaded document is

Available optionsw8Formw9Form
Example:w8Form

Response

Tax form uploaded

succeededbooleanrequired

Whether the tax form was stored

Example:true
affiliateIdstringrequired

Affiliate the form belongs to

Example:6336c7285ad8e6c08298f7fc
formTypestringrequired

Which tax form was stored

Available optionsw8Formw9Form
Example:w9Form