Widget Pop-up
Crypto on-ramp on your website
1. Get your public key
2. Add the pay-ins/collections script
<form>
<script src="https://cdn.localramp.co/onramp-inline.js"></script>
<button type="button" onclick="payWithLocalRamp()"> Pay </button>
</form><script>
function payWithLocalRamp() {
window.LocalRampPay.initialize({
public_key: "pk_live_*********************",
reference: "your-unique-reference",
sender_currency: "NGN",
email: "[email protected]",
usdt_amount: "2800.12",
country_code: "NG",
onClose: function (ref) {
// Handle when the modal is closed
},
});
}
</script>Field
Data Type
Description
3. Verifying the transaction status
4. Receive confirmation via webhook
Last updated