Payment Mode
mode = ModeOptions.payment
Payment mode allows your users to pay for a product or service using stablecoins from any chain supported by Kima.
The payment details are passed into the Widget via the
transactionOption
prop (required)The user can choose to pay from any chain and token supported by Kima. The funds will be transferred to the wallet and chain specified in the
transactionOption
propThe title and subtile can be customized using the
titleOption
andpaymentTitleOption
props
⚠️ On testnet,
transactionOption.currency
must beUSDK
as this is the only currency supported on testnet. You will need to switch thecurrency
based on whether your app is currently using testnet or mainnet.
You should see a page that looks like this:

The payment (target) wallet and chain will show on the next step when the user approves the transfer amount.

Once the user sends the approval and submits the transaction, the user can see the transaction status in the next step.

For more details on how to get transaction status of a previous transaction, check the Widget Status Mode Section.
Last updated