Class: Stripe::Account::CreateParams::Company::Verification::Document

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/account.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(back: nil, front: nil) ⇒ Document

Returns a new instance of Document.



3671
3672
3673
3674
# File 'lib/stripe/resources/account.rb', line 3671

def initialize(back: nil, front: nil)
  @back = back
  @front = front
end

Instance Attribute Details

#backObject

The back of a document returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.



3667
3668
3669
# File 'lib/stripe/resources/account.rb', line 3667

def back
  @back
end

#frontObject

The front of a document returned by a [file upload](stripe.com/docs/api#create_file) with a ‘purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.



3669
3670
3671
# File 'lib/stripe/resources/account.rb', line 3669

def front
  @front
end