Page Integration

Redirection

This is the fastest and easiest way to integrate with AlchemyPay. You can redirect your website or application to the AlchemyPay page by copying and editing the following sample code.

📘

Tips

To improve the user experience, it is recommended to open AlchemyPay on a new tab with theredirectURLparameter, so that your users can redirect back to your website after completing the payment.

When redirecting, you need to include parameters such as the appId assigned to you by AlchemyPay. For parameter details Click Here.

<a href="https://ramptest.alchemypay.org/?appId=[YOUR_TEST_APPID]&[CUSTOM_PARAMETERS]>">
Buy/Sell Crypto with AlchemyPay</a>
<a href="https://ramp.alchemypay.org/?appId=[YOUR_PRODUCTION_APPID]&[CUSTOM_PARAMETERS]>">
Buy/Sell Crypto with AlchemyPay</a>

Iframe

You can add AlchemyPay directly to the pages of your website or application using the sample code below.

We recommend testing to ensure the default Iframe height and width in the code below work well for your page, and adjust them if needed.

<iframe height="625" title="AlchemyPay On/Off Ramp Widget"
src="https://ramptest.alchemypay.org/?appId=[YOUR_TEST_APPID]&[CUSTOM_PARAMETERS]" 
frameborder="no" allowtransparency="true" allowfullscreen="" 
style="display: block; width: 100%; max-height: 625px; max-width: 500px;">
</iframe>
<iframe height="625" title="AlchemyPay On/Off Ramp Widget"
src="https://ramp.alchemypay.org/?appId=[YOUR_PRODUCTION_APPID]&[CUSTOM_PARAMETERS]" 
frameborder="no" allowtransparency="true" allowfullscreen="" 
style="display: block; width: 100%; max-height: 625px; max-width: 500px;">
</iframe>