Overview
When submitting documents from cloud storage services such as Google Drive, Dropbox, AWS S3, or others, you must provide a direct download link.Preview links, share pages, and redirect-based URLs will fail validation. This guide explains how to generate valid, secure, and properly formatted direct URLs for each supported provider.
General Rules for Cloud Storage
Regardless of provider, all URLs must:- Use HTTPS
- Be publicly accessible
- Be a direct file URL
- Resolve to a supported file type (PDF, JPEG, PNG, DOCX, etc.)
Google Drive
Google Drive shares files using a viewer URL, which is not accepted.You must convert it into a direct download URL.
Step-by-Step
- Right-click file → Get link
- Change permissions to “Anyone with the link”
- Extract the file ID from the sharing link
Example viewer URL:
- Convert to a direct download URL:
Valid Google Drive URL
Dropbox
Dropbox share links are preview links and must be transformed.Step-by-Step
- Create a shared link
- Replace
dl=0withdl=1
Example
Original link (invalid):AWS S3
AWS S3 supports direct file URLs when the object is public.Step-by-Step
- Upload file to your S3 bucket
- Make sure the object is set to public read
- Use the S3 file link:
Example
If using pre-signed URLs, ensure they remain valid until Paywint processes the file.
URLs that expire immediately may fail.
Google Cloud Storage (GCS)
Step-by-Step
- Upload file to a bucket
- Ensure public access for the object
- Use the public URL format:
Example
OneDrive / SharePoint
These services often generate redirected or preview links, which fail validation.To use them:
- Must generate a direct download link
- Ensure anonymous access is allowed
Example Conversion
Viewer URL:iCloud Drive (Not Recommended)
iCloud links commonly:- Expire quickly
- Require additional authentication
- Use redirect-based links
Summary
| Provider | Supported | Direct Link Required | Notes |
|---|---|---|---|
| Google Drive | ✔ | ✔ | Must use uc?export=download format |
| Dropbox | ✔ | ✔ | Convert dl=0 → dl=1 |
| AWS S3 | ✔ | ✔ | Public or stable pre-signed required |
| Google Cloud Storage | ✔ | ✔ | Public file required |
| OneDrive / SharePoint | ✔ | ✔ | Preview links rejected |
| iCloud | ✖ | N/A | Not reliable for validation |
Best Practices
- Always test the URL in an incognito browser session
- Avoid URLs that expire in less than 10 minutes
- Prefer reliable cloud providers such as AWS S3 or Google Cloud Storage
- Keep file names clean and simple:
certificate.pdf,id-front.jpg, etc.

