Documents
Show a list of documents available for download.
Documents renders a list of tax invoices available for download for the connected account.
For example, use this component to download 1099 tax forms that you can use for pre-filing confirmation and e-delivery to your connected accounts.
When creating an Account Session, enable documents by specifying documents in the components parameter.
Command Line
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
curlhttps://api.stripe.com/v1/account_sessions \ -u":" \ -d"account=sk_test_BQokikJOvBiI2HlWgH4olfQ2" \ -d"components[documents][enabled]=true"{{CONNECTED_ACCOUNT_ID}}
After creating the account session, you can initialize ConnectJS and render the documents component in the front end:
documents.js
JavaScript
React
No results
// Include this element in your HTMLconst documents = stripeConnectInstance.create('documents'); container.appendChild(documents);
