Bank Redirects
Bank Redirects payment methods
How do Bank Redirects work?
Integrating Bank Redirects on Hyperswitch
// Create a Payment with the shipping country and currency
app.post("/create-payment", async (req, res) => {
try {
const paymentIntent = await hyper.paymentIntents.create({
currency: "EUR",
amount: 100,
shipping: {
address: {
country: "EU",
},
},
});
// Send publishable key and PaymentIntent details to client
res.send({
clientSecret: paymentIntent.client_secret,
});
} catch (err) {
return res.status(400).send({
error: {
message: err.message,
},
});
}
});Sofort
Giropay
iDEAL
EPS
Last updated
Was this helpful?

