GET

Generate File Download Info


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Generates temporary information for downloading a tax document's file.

The returned downloadInfo.url is a temporary link to a PDF. It expires 10 seconds after it's generated, so follow it immediately, and don't store it as a static link. Call this method again to get a fresh URL.

The tax document must have a file available, meaning its downloadable field is true.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Managing tax tax documents
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/payments/platform/v1/tax-documents/{taxDocumentId}/generate-file-download-info

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?