const payload = {...} const resp = await fetch(`https://api.leapa.co/v1/invoices`, { method: "POST", headers: { "Content-Type": "application/json", Authorization: "Bearer YOUR_SECRET_KEY", }, body: payload, }); const data = await resp.json(); console.log(data);
Leapa APIs are the fastest and easiest way to integrate payments into your projects, everything from small side gigs to complex products and services for millions of customers.
Debit a customer in multiple currencies and refund disputed charges.
Transfers your account balance to another Leapa account or a bank account.
Create and update customer accounts and their payment instruments.
Generate and send customizable invoices as a one-off or periodically.
Help bring more businesses online and shape the future of how we do commerce on the internet. Let’s build the internet economy together!