| [ Web Proxy ] |
| Viewing: https://docs.stripe.com/api/files/object#file_object-id | [Back] [Original] |
Unique identifier for the object.
The purpose of the uploaded file.
account_requirementAdditional documentation requirements that can be requested for an account. |
additional_verificationAdditional verification for custom accounts. |
business_iconA business icon. |
business_logoA business logo. |
customer_signatureCustomer signature image. |
dispute_evidenceEvidence to submit with a dispute response. |
finance_report_runUser-accessible copies of query results from the Reporting dataset. |
financial_account_statementFinancial account statements. |
identity_documentA document to verify the identity of an account owner during account provisioning. |
identity_document_downloadableImage of a document collected by Stripe Identity. |
| Show 10 more |
The returned file type (for example, csv, pdf, jpg, or png).
{ "id": "file_1Mr4LDLkdIwHu7ixFCz0dZiH", "object": "file", "created": 1680116847, "expires_at": 1703444847, "filename": "file.png", "links": { "object": "list", "data": [], "has_more": false, "url": "/v1/file_links?file=file_1Mr4LDLkdIwHu7ixFCz0dZiH" }, "purpose": "dispute_evidence", "size": 8429, "title": null, "type": "png", "url": "https://files.stripe.com/v1/files/file_1Mr4LDLkdIwHu7ixFCz0dZiH/contents"}To upload a file to Stripe, you need to send a request of type multipart/form-data. Include the file you want to upload in the request, and the parameters for creating a file.
All of Stripes officially supported Client libraries support sending multipart/form-data.
A file to upload. Make sure that the specifications follow RFC 2388, which defines file transfers for the multipart/form-data protocol.
The purpose of the uploaded file.
account_requirementAdditional documentation requirements that can be requested for an account. |
additional_verificationAdditional verification for custom accounts. |
business_iconA business icon. |
business_logoA business logo. |
customer_signatureCustomer signature image. |
dispute_evidenceEvidence to submit with a dispute response. |
identity_documentA document to verify the identity of an account owner during account provisioning. |
issuing_regulatory_reportingAdditional regulatory reporting requirements for Issuing. |
pci_documentA self-assessment PCI questionnaire. |
platform_terms_of_serviceA copy of the platforms Terms of Service. |
| Show 5 more |
Returns the file object.
{ "id": "file_1Mr4LDLkdIwHu7ixFCz0dZiH", "object": "file", "created": 1680116847, "expires_at": 1703444847, "filename": "file.png", "links": { "object": "list", "data": [], "has_more": false, "url": "/v1/file_links?file=file_1Mr4LDLkdIwHu7ixFCz0dZiH" }, "purpose": "dispute_evidence", "size": 8429, "title": null, "type": "png", "url": "https://files.stripe.com/v1/files/file_1Mr4LDLkdIwHu7ixFCz0dZiH/contents"}Retrieves the details of an existing file object. After you supply a unique file ID, Stripe returns the corresponding file object. Learn how to access file contents.
No parameters.
If the identifier you provide is valid, a file object returns. If not, Stripe raises an error.
curl https://api.stripe.com/v1/files/{{FILE_ID}} \ -u "sk_test_wU7nrJCZspk1NPDxiQgAF05qsk_test_wU7nrJCZspk1NPDxiQgAF05q:"{ "id": "file_1Mr4LDLkdIwHu7ixFCz0dZiH", "object": "file", "created": 1680116847, "expires_at": 1703444847, "filename": "file.png", "links": { "object": "list", "data": [], "has_more": false, "url": "/v1/file_links?file=file_1Mr4LDLkdIwHu7ixFCz0dZiH" }, "purpose": "dispute_evidence", "size": 8429, "title": null, "type": "png", "url": "https://files.stripe.com/v1/files/file_1Mr4LDLkdIwHu7ixFCz0dZiH/contents"}| Web Proxy Viewer | New URL | Original Page |