FAQ

Answers to what developers ask first.

Do I need an API key?

No secret key. You create a free App ID in the dashboard and pass it to the button as appId. It is public, so nothing secret ships in your client. On localhost the button works without one.

What does the App ID protect?

It says which payments are yours, and it only works in a browser on the websites you list for the app. It does not stop someone calling the API from a script, where the usual rate limits apply. If you only ever take payments to a few addresses, list them in the app’s settings: the app will then refuse a payment to any other address.

How do I know a payment really happened?

Don’t rely on onSuccess alone; it runs in the payer’s browser. Have your server confirm the payment before you ship goods or grant access.

Where do funds settle?

To the recipient address you pass, on the chain and token named by destinationToken. With optimismUSDC, your app receives USDC on Optimism.

What happens if a payment fails?

Funds go back to the payer’s refund address on the chain they paid from. With a fixed amount, refunds go to Uniport’s NEAR Intents account instead, and the payer contacts Uniport to get them back. See Refunds.

Which chains need a memo?

Stellar. The modal shows the memo right next to the deposit address. See Memo chains.

What does Uniport cost?

Uniport adds no fee of its own today. The payer pays the route’s swap cost, which is already in the quote they see.

For checkouts with a fixed output amount, a user sends a little more to account for price movements: about 0.3% when paying one stablecoin with another, about 1% otherwise. Any surplus is credited to Uniport.

Which frameworks does it work with?

Any React 18 or later app: Next.js, Vite, Remix and others.