paywise icon

paywise

Submit and track debt collection cases with the paywise API v2

Actions37

Mandate → Download Document

AI-generated

Summary

Download a specific document associated with a Mandate identified by Mandate ID and Document ID, returning the document as binary data in the specified output field.

Inputs

  • Mandate ID (required) — The ID of the mandate (case) created by paywise when the order was accepted.
  • Document ID (required) — The ID of the document to download associated with the specified mandate.
  • Put Output File in Field (required) — The binary field name where the downloaded document file will be saved in the node's output.

Output shape

A single binary file output where the downloaded document is assigned to the specified binary field name.

The binary property containing the file data will match the user-specified 'Put Output File in Field' name, allowing subsequent workflow nodes to use the downloaded document file. No pagination or additional data is returned.

Examples

Example 1: Download a mandate document to use in another node

Set Mandate ID to the existing mandate's ID, Document ID to the target document's ID, and specify the binary field name to store the file, such as 'data'.

Links

Discussion