The Payment Widget is a fully Uphold-managed, embeddable solution that allows users to securely add payment methods and make transactions — without requiring clients to manually orchestrate transaction logic or manage state. It is built with developer efficiency and global readiness in mind, with support for multi-platform integration and a growing list of payment methods.Documentation Index
Fetch the complete documentation index at: https://developer.uphold.com/llms.txt
Use this file to discover all available pages before exploring further.
Features
Turnkey experience
Fully managed UI and transaction logic with automated state handling.Simple event-based integration with minimal error handling required.
Flexible payment method support
Accept credit and debit cards, bank, and crypto transfers out of the box.Control which methods users see, with more options on the way.
Multi-platform embedding
Embed seamlessly into web apps via iframe and native apps via WebView.Consistent user experience across all platforms.
Real-time event handling
SDK emits lifecycle events such as success, error, and cancellation.Integrate deeply with your app’s flow and UI feedback.
Enterprise security
Built on top of Uphold’s secure API infrastructure.Ensures strong access control and secure transaction handling.
Rapid SDK integration
Lightweight SDK to instantiate and control the Widget.Go live quickly with minimal frontend effort.
Using the widget
The Payment Widget is designed to be embedded into your application to collect payment methods for deposits and withdrawals.Installation
Follow Installation & setup for npm install steps, iframe mounting, and WebView (native) notes.Integration
- Create a session with Create session using the flow slug (
select-for-depositorselect-for-withdrawal). - Mount the widget with the returned session (iframe for web, bridge for native) using the patterns in Installation & setup.
- Handle events:
complete(selection result),cancel, anderrorto keep your UI in sync. - Finish the flow: follow the relevant developer guide to complete the backend steps. See the When to use the widget section below for links to specific guides.
When to use the widget
- Bank deposits: Use the Bank deposit guide for the widget and backend steps needed to monitor and credit incoming funds.
- Bank withdrawals: Use the Bank withdrawal guide for the widget and backend steps needed to quote and execute payouts.
- Card deposits: Use the Card deposit guide, which covers card selection, authorization, and transaction creation.
- Card withdrawals: Use the Card withdrawal guide for card selection and payout execution.
- Crypto deposits: Use the Crypto deposit guide for address generation and deposit monitoring.
- Crypto withdrawals: Use the Crypto withdrawal guide for destination setup, quote creation, and transaction execution.