retrieveSetupIntent
Return
The retrieved SetupIntent
Parameters
secret
The client secret of the SetupIntent to retrieve
See also
Retrieves an existing SetupIntent by its client secret.
Example usage:
try {
val setupIntent = terminal.retrieveSetupIntent("seti_123_secret_456")
// Handle successful retrieval
} catch (e: TerminalException) {
// Handle retrieval failure
}Content copied to clipboard
Throws
if the retrieval operation fails