You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rbi/stripe/resources/account_link.rbi
+33-13Lines changed: 33 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -10,50 +10,70 @@ module Stripe
10
10
classAccountLink < APIResource
11
11
# Time at which the object was created. Measured in seconds since the Unix epoch.
12
12
sig{returns(Integer)}
13
-
attr_reader:created
13
+
defcreated;end
14
14
# The timestamp at which this account link will expire.
15
15
sig{returns(Integer)}
16
-
attr_reader:expires_at
16
+
defexpires_at;end
17
17
# String representing the object's type. Objects of the same type share the same value.
18
18
sig{returns(String)}
19
-
attr_reader:object
19
+
defobject;end
20
20
# The URL for the account link.
21
21
sig{returns(String)}
22
-
attr_reader:url
22
+
defurl;end
23
23
classCreateParams < Stripe::RequestParams
24
24
classCollectionOptions < Stripe::RequestParams
25
25
# Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`.
# The URL the user will be redirected to if the account link is expired, has been previously-visited, or is otherwise invalid. The URL you specify should attempt to generate a new account link with the same parameters used to create the original account link, then redirect the user to the new account link's URL so they can continue with Connect Onboarding. If a new account link cannot be generated or the redirect fails you should display a useful error to the user.
# The type of account link the user is requesting.
53
71
#
54
72
# You can create Account Links of type `account_update` only for connected accounts where your platform is responsible for collecting requirements, including Custom accounts. You can't create them for accounts that have access to a Stripe-hosted Dashboard. If you use [Connect embedded components](/connect/get-started-connect-embedded-components), you can include components that allow your connected accounts to update their own information. For an account without Stripe-hosted Dashboard access where Stripe is liable for negative balances, you must use embedded components.
0 commit comments