Skip to main content

Using @turnkey/sdk-react

Setting up Fiat Onramp with @turnkey/sdk-react using the <Auth/> component is straightforward.

.initFiatOnRamp()

The response to initFiatOnRamp({...}) contains an onRampUrl which is used to load the Onramp Widget UI of the selected provider. The URL can be served in a popup, new tab, or an iFrame.
1

Initialize the React Provider

2

Login with a Passkey and Create a Session

3

Coinbase - Init Fiat Onramp Flow

4

MoonPay - Init Fiat Onramp Flow

Activity Parameters

See the Init Fiat Onramp Activity API Reference for the complete request and response definitions.