Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

5282 articles

Update a file link


Update a file link

POST / v1 / file_links /:id

Updates an existing file link object. Expired links can no longer be updated.

Parameters

  • expires _ at string, value is "now" | timestamp A future timestamp after which the link will no longer be usable, or now to expire the link immediately.
  • metadata map 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

Returns

Returns the file link object if successful, and raises an error otherwise.

Response

Retrieve a file link

GET / v1 / file_links /:id

Retrieves the file link with the given ID.

Parameters

No parameters.

Returns

If the identifier you provide is valid, a file link object returns. If not, Stripe raises an error.

Response

List all file links

GET / v1 / file_links

Returns a list of file links.

Parameters

No parameters.

More parameters

  • created object
  • ending _ before string
  • expired boolean
  • file string
  • limit integer
  • starting _ after string

Returns

A dictionary with a data property that contains an array of up to limit file links, starting after the starting_after file link. Each entry in the array is a separate file link object. If there aren’t additional available file links, the resulting array is empty.

Response

Last verified 2026-09-24

Is this helpful?