provider Recipients POST
/recipient/{recipientId}/attachments @utdk/mercury
/recipient/{recipientId}/attachments Upload a recipient attachment
Upload a tax form attachment for a recipient. The file is uploaded via multipart/form-data. Supported file types include PDF, images (PNG, JPG, GIF), and common document formats. The attachment will be associated as a tax document for the recipient.
- recipientId path required
- ID of the recipient to attach the file to
- string
Try it
Authentication
Configure credentials for Mercury API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import mercury from '@utdk/mercury';
await mercury.uploadrecipientattachment()