Stripe::FileLinksApi
Constants
Constructors
Instance methods
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
Returns a list of file links.
@optional @param ending_before [String?] A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. @optional @param starting_after [String?] A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. @optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. @optional @param expired [Bool?] Filter links by their expiration status. By default, Stripe returns all links. @optional @param file [String?] Only return links for the given file. @optional @param created [Stripe::GetAccountsCreatedParameter?] Only return links that were created during the given date interval. @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::FileResourceFileLinkList]<p>Returns a list of file links.</p>
@optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
@optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.
@optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
@optional @param expired [Bool?] Filter links by their expiration status. By default, Stripe returns all links.
@optional @param file [String?] Only return links for the given file.
@optional @param created [Stripe::GetAccountsCreatedParameter?] Only return links that were created during the given date interval.
@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
@return nil
Retrieves the file link with the given ID.
@required @param link [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Stripe::FileLink]<p>Retrieves the file link with the given ID.</p> @required @param link [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return nil
<p>Retrieves the file link with the given ID.</p> @required @param link [String?] @optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded. @return [Tuple(Stripe::FileLink, Integer, Hash)] Stripe::FileLink, response status code and response headers
<p>Returns a list of file links.</p>
@optional @param ending_before [String?] A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.
@optional @param starting_after [String?] A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.
@optional @param limit [Int32?] A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
@optional @param expired [Bool?] Filter links by their expiration status. By default, Stripe returns all links.
@optional @param file [String?] Only return links for the given file.
@optional @param created [Stripe::GetAccountsCreatedParameter?] Only return links that were created during the given date interval.
@optional @param expand [Array(Array(String))?] Specifies which fields in the response should be expanded.
@return [Tuple(Stripe::FileResourceFileLinkList, Integer, Hash)] Stripe::FileResourceFileLinkList, response status code and response headers
Creates a new file link object.
@required @param file [String?] 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`, `identity_document_downloadable`, `issuing_regulatory_reporting`, `pci_document`, `selfie`, `sigma_scheduled_query`, `tax_document_user_upload`, or `terminal_reader_splashscreen`. @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Int32?] The link isn't usable after this future timestamp. @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return [Stripe::FileLink]<p>Creates a new file link object.</p>
@required @param file [String?] 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, identity_document_downloadable, issuing_regulatory_reporting, pci_document, selfie, sigma_scheduled_query, tax_document_user_upload, or terminal_reader_splashscreen.
@optional @param expand [Array(String)?] Specifies which fields in the response should be expanded.
@optional @param expires_at [Int32?] The link isn't usable after this future timestamp.
@optional @param metadata [Stripe::PostAccountsRequestMetadata?]
@return nil
Updates an existing file link object. Expired links can no longer be updated.
@required @param link [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Stripe::PostFileLinksLinkRequestExpiresAt?] @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return [Stripe::FileLink]<p>Updates an existing file link object. Expired links can no longer be updated.</p> @required @param link [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Stripe::PostFileLinksLinkRequestExpiresAt?] @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return nil
<p>Updates an existing file link object. Expired links can no longer be updated.</p> @required @param link [String?] @optional @param expand [Array(String)?] Specifies which fields in the response should be expanded. @optional @param expires_at [Stripe::PostFileLinksLinkRequestExpiresAt?] @optional @param metadata [Stripe::PostAccountsRequestMetadata?] @return [Tuple(Stripe::FileLink, Integer, Hash)] Stripe::FileLink, response status code and response headers
<p>Creates a new file link object.</p>
@required @param file [String?] 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, identity_document_downloadable, issuing_regulatory_reporting, pci_document, selfie, sigma_scheduled_query, tax_document_user_upload, or terminal_reader_splashscreen.
@optional @param expand [Array(String)?] Specifies which fields in the response should be expanded.
@optional @param expires_at [Int32?] The link isn't usable after this future timestamp.
@optional @param metadata [Stripe::PostAccountsRequestMetadata?]
@return [Tuple(Stripe::FileLink, Integer, Hash)] Stripe::FileLink, response status code and response headers