---
updatedAt: 2026-09-15T20:50:20.000Z
---

# Download Tax Form

The Download Tax Form API downloads the selected tax form document as a byte stream.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Payments",
    "version": "1.0",
    "contact": {
      "name": "Walmart Marketplace API Support",
      "url": "https://developer.walmart.com/support"
    },
    "description": "These APIs are specifically designed for payment use cases within the Walmart Marketplace."
  },
  "x-readme": {
    "samples-languages": [
      "shell"
    ],
    "proxy-enabled": false
  },
  "servers": [
    {
      "url": "https://marketplace.walmartapis.com",
      "description": "Refers to the URL used for accessing the production server."
    },
    {
      "url": "https://sandbox.walmartapis.com",
      "description": "Refers to the URL used for accessing the sandbox server."
    }
  ],
  "security": [
    {
      "basicScheme": []
    }
  ],
  "paths": {
    "/v1/settings/downloadtaxformprofile": {
      "get": {
        "tags": [
          "Tax Form APIs"
        ],
        "summary": "Download Tax Form",
        "description": "The Download Tax Form API downloads the selected tax form document as a byte stream.",
        "operationId": "downloadTaxForm",
        "parameters": [
          {
            "in": "header",
            "name": "WM_SEC.ACCESS_TOKEN",
            "description": "Access token obtained from the Token API. This is required for authenticating requests to Walmart Marketplace APIs.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "eyJraWQiOiIxNWNhNGIyYi0yODVjLTQ0ZDUtYmExNC05ZDk1NTlkZmUwNjgiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiZGlyIn0...."
          },
          {
            "in": "header",
            "name": "WM_QOS.CORRELATION_ID",
            "description": "A unique ID that identifies each API call and is used to track and debug issues. Use a randomly generated GUID for this ID",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "b3261d2d-028a-4ef7-8602-633c23200af6"
          },
          {
            "in": "header",
            "name": "WM_SVC.NAME",
            "description": "Specifies the name of the Walmart service being called.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Walmart Service Name"
          },
          {
            "name": "WM_GLOBAL_VERSION",
            "in": "header",
            "description": "The version of the global API used.",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "3.1"
              ]
            }
          },
          {
            "in": "header",
            "name": "WM_MARKET",
            "description": "Identifies the Walmart Marketplace region for the request. If not specified, US is used by default.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "US"
          },
          {
            "name": "WM_PARTNER_ID",
            "in": "header",
            "description": "The partner (seller) identifier registered in Walmart Marketplace.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "123456789"
          },
          {
            "name": "WM.TENANT_ID",
            "in": "header",
            "description": "Specifies the tenant identifier.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0"
          },
          {
            "name": "payoutYear",
            "in": "query",
            "required": true,
            "description": "The tax year associated with the payout (for example, 2024).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taxFormType",
            "in": "query",
            "description": "The tax form type to download (for example, 1099-K).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "formId",
            "in": "query",
            "description": "The unique form ID returned by the list tax forms endpoint.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Tax form bytes returned.",
            "headers": {
              "Content-Type": {
                "description": "The content type of the response",
                "schema": {
                  "type": "string"
                },
                "example": "application/pdf"
              },
              "Content-Disposition": {
                "description": "Indicates that the response should be downloaded as a file",
                "schema": {
                  "type": "string"
                },
                "example": "attachment; filename=10011478510-1099-K-484202.pdf"
              }
            },
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "byte",
                  "description": "Base64-encoded PDF bytes of the tax form."
                },
                "example": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9UeXBlL1BhZ2UvUGFyZW50IDIgMCBSL01lZGlhQm94WzAgMCA2MTIgNzkyXS9Db250ZW50cyA0IDAgUj4+CmVuZG9iago0IDAgb2JqCjw8L0ZpbHRlci9GbGF0ZURlY29kZS9MZW5ndGggNDQ+PnN0cmVhbQp4nDPQM1QwUDC2NDUwMzXXMzQxVzAwUjA1BgozMDUyBQBPRgVZCmVuZHN0cmVhbQplbmRvYmoKMSAwIG9iago8PC9UeXBlL1BhZ2VzL0NvdW50IDEvS2lkc1szIDAgUl0+PgplbmRvYmoKNSAwIG9iago8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMSAwIFI+PgplbmRvYmoKNiAwIG9iago8PC9Qcm9kdWNlcihpVGV4dCAyLjEuNyBieSAxVDNYVCk+PgplbmRvYmoKMiAwIG9iago8PC9UeXBlL1BhZ2VzL0NvdW50IDEvS2lkc1szIDAgUl0+PgplbmRvYmoKeHJlZgowIDcKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMjE1IDAwMDAwIG4gCjAwMDAwMDAzMDMgMDAwMDAgbiAKMDAwMDAwMDAxNSAwMDAwMCBuIAowMDAwMDAwMDk0IDAwMDAwIG4gCjAwMDAwMDAyNjcgMDAwMDAgbiAKMDAwMDAwMDI5NSAwMDAwMCBuIAp0cmFpbGVyCjw8L1NpemUgNy9Sb290IDUgMCBSL0luZm8gNiAwIFI+PgpzdGFydHhyZWYKMzU2CiUlRU9GCg=="
              }
            }
          },
          "400": {
            "description": "Missing mandatory input parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "description": "The error code identifying the type of error."
                    },
                    "message": {
                      "type": "string",
                      "description": "A descriptive message explaining the error."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    }
                  },
                  "required": [
                    "errorCode",
                    "message",
                    "status"
                  ]
                },
                "example": {
                  "errorCode": "400.MISSING_MANDATORY_PARAMS",
                  "message": "Missing mandatory input parameters.",
                  "status": 400
                }
              }
            }
          },
          "404": {
            "description": "No record found for the given parameters.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "description": "The error code identifying the type of error."
                    },
                    "message": {
                      "type": "string",
                      "description": "A descriptive message explaining the error."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    }
                  },
                  "required": [
                    "errorCode",
                    "message",
                    "status"
                  ]
                },
                "example": {
                  "errorCode": "404.RECORD_NOT_FOUND",
                  "message": "No record found for the given parameters.",
                  "status": 404
                }
              }
            }
          },
          "500": {
            "description": "Internal server error occurred while processing the request.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "description": "The error code identifying the type of error."
                    },
                    "message": {
                      "type": "string",
                      "description": "A descriptive message explaining the error."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    }
                  },
                  "required": [
                    "errorCode",
                    "message",
                    "status"
                  ]
                },
                "example": {
                  "errorCode": "500.INTERNAL_SERVER_ERROR",
                  "message": "Internal server error occurred while processing the request.",
                  "status": 500
                }
              }
            }
          },
          "502": {
            "description": "Error calling downstream service.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorCode": {
                      "type": "string",
                      "description": "The error code identifying the type of error."
                    },
                    "message": {
                      "type": "string",
                      "description": "A descriptive message explaining the error."
                    },
                    "status": {
                      "type": "integer",
                      "description": "The HTTP status code."
                    }
                  },
                  "required": [
                    "errorCode",
                    "message",
                    "status"
                  ]
                },
                "example": {
                  "errorCode": "502.BAD_GATEWAY",
                  "message": "Error calling downstream service.",
                  "status": 502
                }
              }
            }
          }
        }
      }
    }
  }
}
```