Card payments enable your customers to pay using their debit or credit cards, providing a fast and familiar checkout experience. Monieswitch supports all major card networks, ensuring broad coverage and secure processing.
Redirect or Display Payment FormUse the API response to redirect the customer to the Monieswitch hosted payment page or embed the payment form in your checkout flow.
Handle Payment ConfirmationListen for webhook notifications from Monieswitch to confirm when the payment is successful.
Example webhook handler (Node.js/Express)
Copy
Ask AI
app.post("/webhook", (req, res) => { const event = req.body; if (event.type === "payment.success" && event.data.channel === "card") { // Fulfill the order } res.sendStatus(200);});