Collections/Payins - Redirect
We provide the following product/services via API to merchants for collections across channels
Sandbox: https://devbox.paydestal.com/pay
Prod: https://api.paydestal.com/payPayment Redirect
< <form id="paymentForm" action="/saveAndPay" method="POST">
<input type="hidden" name="customerEmail" id="customerEmail">
<input type="hidden" name="amount" id="amount">
<input type="hidden" name="reference" id="reference">
<button type="submit" name="payBtn" id="pay-now" title="Pay now">Pay now</button>
</form>
<script>
const email = "[email protected]";
const amount = 4500;
const reference = "23445yyt";
// Populate the hidden input fields with values
document.getElementById('customerEmail').value = email;
document.getElementById('amount').value = amount;
document.getElementById('reference').value = reference;
</script>Last updated
