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.The user confirmation page and payment cashier cannot be skipped, and other pages will not be displayed when the parameters are effective.
Tips
To improve the user experience, it is recommended to open AlchemyPay on a new tab with the
redirectURL
parameter, so that your users can redirect back to your website after completing the payment.
When you redirect, you need to carry the appID assigned to you by AlchemyPay, and you can carry your custom parameters in the link, such as crypto
address
network
and so on.
<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>
Updated 14 days ago