Payments
Get Started
thirdweb Payments allow developers to create advanced payment flows to monetize their apps through product sales, peer to peer payments, token sales, and more.
Get started sending payments in your apps with the thirdweb TypeScript SDK.
Install the thirdweb SDK in your TypeScript project:
First, create a client instance to connect with thirdweb services:
To get started, lets generate a payment for 10 USDC on Optimism, paid with USDT on Arbitrum.
The prepared quote will contain details about the payment, including the transactions needed to execute it.
You can execute the included transactions using the wallet of your choice. To learn how to send it using thirdweb Wallets, checkout the Send a Payment guide.
To connect with other auth strategies, use external wallets, or sponsor gas for users, check out the following guides:
For comprehensive guides on implementing the full thirdweb SDK, explore our language-specific documentation: