description |
---|
Explore all of Etherspay here |
{% hint style="warning" %} Etherspay is under development, and not available yet {% endhint %}
This documentation is designed to provide comprehensive information on how to use Etherspay to accept and process cryptocurrency payments for your project or business.
Etherspay is a secure and reliable platform that enables businesses to accept payments in any ERC20 crypto token. The project is backed by Web3 technology and supports multiple blockchains.
Throughout this documentation, we will provide detailed information on how to set up and configure your Etherspay account, how to integrate our payment processor into your website or application.
Etherspay has a document to explain the technical background, problems, info and more about the project.
{% embed url="https://etherspay.notion.site/Whitepaper-15e3740da9d043a09e724d436dd65668" %}
Create a checkout session
import Etherspay from "etherspay";
const etherspay = new Etherspay("#api-key")
const session = await etherspay.checkout.create({
success_url: 'https://example.com/success',
line_items: [
{price: '#price-id', quantity: 2},
],
mode: 'payment',
})
console.log(session.url) // https://buy.etherspay.com/75442486-0878-440c
Create a product
import Etherspay from "etherspay";
const etherspay = new Etherspay("#api-key")
const product = await etherspay.products.create({
name: 'White T-shirt',
});
Payments | IconCrypto.svg |
Balances | IconReceipt.svg |
Customers | IconPersons.svg |
Products | IconBox.svg |