Skip to main content
Version: 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.

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location Id

affiliateId stringrequired

Affiliate Id

multipart/form-data

Bodyrequired

    filestring<binary>required

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

    formTypestringrequired

    Which tax form the uploaded document is

    Available optionsw8Formw9Form
application/json

Tax form uploaded

Schema
    succeededbooleanrequired

    Whether the tax form was stored

    affiliateIdstringrequired

    Affiliate the form belongs to

    formTypestringrequired

    Which tax form was stored

    Available optionsw8Formw9Form