Download User Document Preview
Return a funding-disclosure document as a base64 PDF for the user to read.
Available to: All authenticated users
Environments: Live
Rate Limit: No endpoint-specific limit
Send the agreementDocumentTemplateId of the document the funding flow requires. The response returns the rendered PDF in content, base64-encoded. There is no URL to link to — decode the payload and display it in your own viewer.
Send pdfFields as {} for both funding disclosures. The field exists for templates that take filled values; neither funding disclosure does.
Resolve the template ID at runtime from agreementDocumentTemplateList, matching on the document name and preferring the row whose clearingHouseId matches the account’s. The same document carries a different ID in each environment and for each clearing house, so an ID that works in one place will fetch the wrong document — or nothing — in another.
Not every template can be previewed here. A template that is not enabled for generic preview is refused by name rather than returning an empty document.
Common Failure Scenarios
- The template is not enabled for preview through this endpoint
- The
agreementDocumentTemplateIdbelongs to another clearing house, or to another environment - The ID was hard-coded from a different environment
Error Messages
Related Endpoints
- Use
agreementDocumentTemplateListto resolve the template ID by name. - Use
signUserDocumentto record the signature once the user has read the document.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
Response
Non-empty if the request failed