Create a file link

Changed on

Creates a new file link object.

post/v1/file_links

Request

  • Base URL: https://api.stripe.com
  • URL: https://api.stripe.com/v1/file_links
  • Auth: one of:
    • HTTP basic
    • HTTP bearer

Request body application/x-www-form-urlencoded

expandstring[]

Specifies which fields in the response should be expanded.

expires_atinteger

The link isn't usable after this future timestamp.

filestring required

The ID of the file. The file's purpose must be one of the following: business_icon, business_logo, customer_signature, dispute_evidence, finance_report_run, financial_account_statement, identity_document_downloadable, issuing_regulatory_reporting, pci_document, selfie, sigma_scheduled_query, tax_document_user_upload, terminal_android_apk, or terminal_reader_splashscreen.

Response

Successful response.

createdinteger required

Time at which the object was created. Measured in seconds since the Unix epoch.

expiredboolean required

Returns if the link is already expired.

expires_atinteger nullable

Time that the link expires.

idstring required

Unique identifier for the object.

livemodeboolean required

If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.

metadataobject required

Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

object'file_link' required

String representing the object's type. Objects of the same type share the same value.

urlstring nullable

The publicly accessible URL to download the file.

Changes

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    • info

      added the optional property /////// to the response with the status

    This list may be incomplete.

    • info

      added the optional property ////// to the response with the status

Some revisions have not been checked yet.