Cancels an in-progress collectData call.
Cancels an in-progress collectInputs call.
Cancels an in-progress collectPaymentMethod call.
Cancels an in-progress collectSetupIntentPaymentMethod call.
Cancels an in-progress confirmPaymentIntent call.
Cancels an in-progress confirmSetupIntent call.
Cancels an in-progress discoverReaders call.
Cancels an in-progress easyConnect call.
Cancels an in-progress reader software update.
Cancels a PaymentIntent.
Cancels an in-progress processPaymentIntent call.
Cancels an in-progress processRefund call.
Cancels an in-progress processSetupIntent call.
Cancels an in-progress automatic reader reconnection.
Cancels a SetupIntent.
Clears the cached connection token and reader sessions, for example when switching accounts.
Clears the reader's screen.
Collects non-payment data, such as a magstripe card, using the connected reader.
Displays forms on the reader and collects the customer's input.
Collects a payment method for a PaymentIntent using the connected reader.
Collects a payment method for a SetupIntent using the connected reader.
Confirms a PaymentIntent after collectPaymentMethod succeeds.
Confirms a SetupIntent after collectSetupIntentPaymentMethod succeeds.
The connected reader, or null or undefined when no reader is connected.
Connects to a reader returned by discoverReaders.
Creates a PaymentIntent.
Creates a SetupIntent.
Disconnects from the connected reader.
Readers found by the latest discoverReaders call.
Starts discovering readers with the given discovery method. Discovered readers are reported through UserCallbacks.onUpdateDiscoveredReaders.
Discovers and connects to a reader in a single call.
Event emitter for SDK events. Event types are exported as constants, such as CHANGE_CONNECTION_STATUS.
Returns the connected reader, if any.
Returns the current reader connection status.
Returns whether the SDK is initialized. Unlike isInitialized, reads the latest value outside the render cycle.
Lists the Locations belonging to the account.
Returns the version of the native Stripe Terminal SDK.
Returns the offline status of the SDK and the connected reader.
Returns the current payment status.
Returns the connected reader's settings.
Initializes the SDK. Call once, before any other method, inside StripeTerminalProvider.
Installs the software update reported by UserCallbacks.onDidReportAvailableUpdate.
Whether initialize has completed successfully.
Whether an SDK call is in progress.
Prints the specified content to the connected reader's printer, if available.
The content to print. Must be an image (JPEG/PNG) encoded as a base64 string or 'data:' URI scheme.
Collects a payment method and confirms the PaymentIntent in a single call.
Collects a payment method and refunds a charge or PaymentIntent.
Collects a payment method and confirms the SetupIntent in a single call.
Reboots the connected reader.
Retrieves a PaymentIntent by its client secret.
Retrieves a SetupIntent by its client secret.
Displays a cart on the reader's screen.
Updates the connected reader's settings.
Sets the test card number a simulated reader presents.
Sets the result a simulated reader returns from collectInputs.
Simulates the device going offline or back online.
Customizes the Tap to Pay screen.
Checks whether the device supports readers of the given type and discovery method.
Public SDK functions and state returned by useStripeTerminal and injected by withStripeTerminal. Use inside StripeTerminalProvider.