diff --git a/StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/OpenFinancialConnections.swift b/StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/OpenFinancialConnections.swift index e8044d9194f..d602333ea78 100644 --- a/StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/OpenFinancialConnections.swift +++ b/StripeConnect/StripeConnect/Source/Internal/Webview/MessageHandlers/OpenFinancialConnections.swift @@ -8,8 +8,10 @@ /// Indicates to open the FinancialConnections flow class OpenFinancialConnections: ScriptMessageHandler { struct Payload: Codable, Equatable { + /// The Financial Connections Session client secret used to open the FinancialConnectionsSheet let clientSecret: String - /// Unique identifier that is included in the `returnedFromFinancialConnections` message + /// Unique identifier (UUID) returned to the web view with the FinancialConnections + /// result in `returnedFromFinancialConnections` message let id: String } init(didReceiveMessage: @escaping (Payload) -> Void) { diff --git a/StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/ReturnedFromFinancialConnections.swift b/StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/ReturnedFromFinancialConnections.swift index 3425ee39bf9..4495d9a1e74 100644 --- a/StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/ReturnedFromFinancialConnections.swift +++ b/StripeConnect/StripeConnect/Source/Internal/Webview/MessageSenders/ReturnedFromFinancialConnections.swift @@ -11,7 +11,7 @@ struct ReturnedFromFinancialConnections: MessageSender { /// The linked bank account token. /// This value will be nil if the user canceled the flow or an error occurred. let bankToken: String? - /// Unique identifier that is included in the `openFinancialConnections` message + /// Unique identifier (UUID) originally passed from the web layer in `openFinancialConnections` let id: String } let name: String = "returnedFromFinancialConnections"