add_document
Attach supporting documents to a transfer or deposit when Stables compliance requests them; provide the file as a base64 data URL.
Instructions
Attach a supporting document (invoice, contract or other) to a transfer or a payment route deposit, for example when Stables compliance asks for one. The file goes as a base64 data URL ('data:application/pdf;base64,...').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | What the document belongs to: a transfer, or a deposit on a payment route | |
| type | No | What the document is (default other) | |
| fileName | Yes | File name shown to Stables, e.g. 'invoice-2041.pdf' | |
| base64Url | Yes | The file as a data URL: 'data:<mime>;base64,<data>' | |
| transactionId | Yes | The transfer ID, or the deposit ID from get_virtual_account_history |