Documentation ¶
Overview ¶
Package fileupload provides the file upload related APIs
Index ¶
Constants ¶
View Source
const ( DisputeEvidenceFile stripe.FileUploadPurpose = "dispute_evidence" IdentityDocFile stripe.FileUploadPurpose = "identity_document" )
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.FileUploadParams) (*stripe.FileUpload, error)
Get returns the details of a file upload. For more details see https://stripe.com/docs/api#retrieve_file_upload.
func New ¶
func New(params *stripe.FileUploadParams) (*stripe.FileUpload, error)
New POSTs new file uploads. For more details see https://stripe.com/docs/api#create_file_upload.
Types ¶
type Client ¶
Client is used to invoke file upload APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.FileUploadParams) (*stripe.FileUpload, error)
func (Client) New ¶
func (c Client) New(params *stripe.FileUploadParams) (*stripe.FileUpload, error)
Click to show internal directories.
Click to hide internal directories.