Stripe-hosted, standalone onramp quickstart公开预览
Customize and generate a redirect URL to the Stripe-hosted, standalone onramp.
Direct users can purchase crypto with a link to the Stripe-hosted, standalone onramp at https://crypto.link.com. The standalone onramp redirect URL supports parameter customization and lets you prefill fields such as the destination currency and the source amount or destination amount. Share the link by sending it directly to users or by displaying it with a button, as in the following demo.
You can also generate a redirect URL with code using the Standalone
function and passing in the desired fields. See the standalone onramp extended guide to add more capabilities or customize parameters.
Pre-populate the wallet address or embed the onramp
Submit an application to try the embeddable version of the onramp.
带有重定向 URL 的示例按钮
Buy Crypto用代码生成重定向 URL
const standaloneOnramp = window.StripeOnramp.Standalone(); const redirectUrl = standaloneOnramp.getUrl(); return ( <a href={redirectUrl}> Buy Crypto </a> );