Get document download link
get_document_download_urlReturns a short-lived download link for a document attached to a transfer or a payment route deposit, so you can retrieve the file by transfer ID or deposit ID plus document ID.
Instructions
Get a short-lived link to download a document attached to a transfer or a payment route deposit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"on": "<on>",
"transactionId": "<transactionId>",
"documentId": "<documentId>"
},
"name": "get_document_download_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | What the document belongs to: a transfer, or a deposit on a payment route | |
| documentId | Yes | The document ID from list_documents | |
| transactionId | Yes | The transfer ID, or the deposit ID from get_payment_route_history |