Eppay Documentation

Complete guide to integrating and using the Eppay crypto payment gateway

Introduction

Eppay is a secure and seamless cryptocurrency payment gateway designed to make USDT transactions effortless across multiple blockchain networks. Whether you're an individual user looking to make crypto payments or a developer integrating payment functionality into your application, Eppay provides the tools and infrastructure you need.

Note: Eppay currently supports USDT transactions across multiple blockchain networks, including Ethereum, Binance Smart Chain, Polygon, Avalanche, and more.

For Users

Send and receive USDT payments quickly and securely across multiple blockchain networks with minimal fees.

Learn more

For Developers

Integrate Eppay's payment system into your applications with our simple API and developer-friendly tools.

Learn more

User Guide

Getting Started

1

Download the App

Download Eppay from the App Store or Google Play Store.

2

Create Your Wallet

Follow the on-screen instructions to create your secure wallet. Make sure to securely store your recovery phrase.

3

Fund Your Wallet

Add USDT to your wallet from another wallet or exchange. Make sure to have some native tokens (ETH, BNB, etc.) for transaction fees.

4

Set Up Security

Enable biometric authentication and create a PIN for additional security. These will be used to confirm transactions.

Sending Payments

  1. 1

    Navigate to the Send Payment screen in the app.

  2. 2

    Enter or paste the recipient's wallet address, or select from your saved addresses.

  3. 3

    Select the network you wish to use for the transaction.

  4. 4

    Enter the amount of USDT to send.

  5. 5

    Review transaction details and confirm with your PIN or biometric authentication.

Important: Always ensure you have sufficient native tokens (ETH, BNB, MATIC, etc.) to cover transaction fees on your selected network.

Receiving Payments

  1. 1

    Tap the "Get Paid" button in the app.

  2. 2

    Select the network you wish to receive payment on.

  3. 3

    Enter the amount of USDT you wish to receive.

  4. 4

    Tap "Generate QR Code" to create a payment request.

  5. 5

    Share the QR code with the sender, who can scan it to initiate the payment.

  6. 6

    You'll receive a notification when the payment is confirmed.

QR Code Payment Process

The QR code contains your payment details including your wallet address, network information, and requested amount. When scanned, it initiates the transaction process automatically.

QR Code Payment Flow

Developer Guide

Integration Overview

Eppay provides a simple API that allows developers to generate payment requests and process transactions. The integration process involves:

Create a product or service requiring payment

Define the product or service that requires payment processing.

API Integration

Send a POST request to the Eppay API to create a payment and retrieve the paymentId.

QR Code Generation

Convert the paymentId into a QR code and display it on your product or service page for payment.

Payment Notification

Receive payment success notifications at the callback URL provided in the request.

Payment Flow

Your Application

Eppay API

QR Code

User Payment

The payment process follows these steps:

  1. 1

    Your application sends a request to the Eppay API to create a payment, specifying the amount, receiving wallet, network, and callback URL.

  2. 2

    The API returns a unique paymentId that identifies this payment request.

  3. 3

    Your application converts this paymentId into a QR code and displays it to the user.

  4. 4

    The user scans the QR code with their Eppay mobile app or compatible crypto wallet to initiate the payment.

  5. 5

    Once the payment is confirmed on the blockchain, Eppay notifies your application via the callback URL.

QR Code Format

The QR code should be generated with the following format:

product=uuideppay&id=PAYMENT_ID

Where PAYMENT_ID is the unique identifier returned by the API.

API Reference

Generate Code

POST https://eppay.io/generate-code

Creates a new payment request and returns a unique payment ID.

Request Parameters

Parameter Type Required Description
apiKey String Yes Your API key from the Eppay dashboard
amount String Yes Amount of USDT to request
to String Yes Wallet address of the beneficiary
rpc String Yes RPC address of the network
token String Yes USDT token address on the selected network
success String Yes Callback URL to receive success notification

Request Example

{
    "apiKey": "WlJSciIhgHkUzduirHj2AqIwxFvVGN",
    "amount": "1",
    "to": "0x8AB960B95aCCc5080c15721fdeA30e72C8251F0b",
    "rpc": "https://chain.scimatic.net",
    "token": "0x65C4A0dA0416d1262DbC04BeE524c804205B92e8",
    "success": "https://eppay.io/payment-success"
}

Response

{
    "paymentId": "8a020135-19b7-42df-be4b-1a8722ad0570"
}

Note: This paymentId should be converted to a QR code and displayed to the user.

Check Payment Status

GET https://eppay.io/payment-status/{paymentId}

Checks the status of a payment using its payment ID.

Request Headers

Header Value Description
Authorization Bearer {apiKey} Your API key prefixed with "Bearer "

Response Example (Success)

{
    "status": true,
    "message": "Payment completed successfully",
    "transaction": {
        "hash": "0x1a2b3c4d5e6f...",
        "timestamp": "2024-03-22T14:30:00Z",
        "amount": "1",
        "network": "Scimatic"
    }
}

Callback Response

When a payment is completed, Eppay sends a POST request to the callback URL specified in the initial request.

{
    "success": "success",
    "message": "Payment updated successfully",
    "transaction": {
        "paymentId": "8a020135-19b7-42df-be4b-1a8722ad0570",
        "hash": "0x1a2b3c4d5e6f...",
        "timestamp": "2024-03-22T14:30:00Z",
        "amount": "1",
        "network": "Scimatic"
    }
}

Code Examples

JavaScript Example

const apiUrl = 'https://eppay.io/generate-code';
const data = {
    apiKey: "WlJSciIhgHkUzduirHj2AqIwxFvVGN",
    amount: "1",
    to: "0x8AB960B95aCCc5080c15721fdeA30e72C8251F0b",
    rpc: "https://chain.scimatic.net",
    token: "0x65C4A0dA0416d1262DbC04BeE524c804205B92e8",
    success: "https://eppay.io/payment-success"
};

fetch(apiUrl, {
    method: 'POST',
    headers: {
        'Content-Type': 'application/json'
    },
    body: JSON.stringify(data)
})
.then(response => response.json())
.then(data => {
    console.log('Payment ID:', data.paymentId);
    // Generate QR code with: "product=uuideppay&id=" + data.paymentId
    // Display QR code to user
})
.catch(error => console.error('Error:', error));

PHP Example

$apiUrl = 'https://eppay.io/generate-code';
$data = [
    "apiKey" => "WlJSciIhgHkUzduirHj2AqIwxFvVGN",
    "amount" => "1",
    "to" => "0x8AB960B95aCCc5080c15721fdeA30e72C8251F0b",
    "rpc" => "https://chain.scimatic.net",
    "token" => "0x65C4A0dA0416d1262DbC04BeE524c804205B92e8",
    "success" => "https://eppay.io/payment-success"
];
$options = [
    'http' => [
        'header'  => "Content-Type: application/json\r\n",
        'method'  => 'POST',
        'content' => json_encode($data),
    ],
];
$context  = stream_context_create($options);
$response = file_get_contents($apiUrl, false, $context);
$result = json_decode($response, true);

echo "Payment ID: " . $result['paymentId'];
// Generate QR code with: "product=uuideppay&id=" . $result['paymentId']
// Display QR code to user

Python Example

import requests
import json

api_url = 'https://eppay.io/generate-code'
data = {
    "apiKey": "WlJSciIhgHkUzduirHj2AqIwxFvVGN",
    "amount": "1",
    "to": "0x8AB960B95aCCc5080c15721fdeA30e72C8251F0b",
    "rpc": "https://chain.scimatic.net",
    "token": "0x65C4A0dA0416d1262DbC04BeE524c804205B92e8",
    "success": "https://eppay.io/payment-success"
}

response = requests.post(api_url, json=data)
if response.status_code == 200:
    payment_id = response.json().get('paymentId')
    print('Payment ID:', payment_id)
    # Generate QR code with: "product=uuideppay&id=" + payment_id
    # Display QR code to user
else:
    print('Error:', response.json())

QR Code Generation Example

// Using qrcode.js library
// First include the library in your HTML
// 

function generateQRCode(paymentId) {
    const qrCodeData = `product=uuideppay&id=${paymentId}`;
    
    // Clear previous QR code if any
    document.getElementById('qrcode').innerHTML = '';
    
    // Generate new QR code
    new QRCode(document.getElementById('qrcode'), {
        text: qrCodeData,
        width: 256,
        height: 256,
        colorDark: '#000000',
        colorLight: '#ffffff',
        correctLevel: QRCode.CorrectLevel.H
    });
}

Supported Networks

Eppay currently supports USDT transactions on the following blockchain networks:

Ethereum

Ethereum

The original smart contract platform with widespread adoption.

Binance Smart Chain

BSC

Binance Smart Chain offers fast and low-cost transactions.

Polygon

Polygon

Layer 2 scaling solution for Ethereum with high throughput.

Avalanche

Avalanche

Fast confirmation times with high scalability.

Fantom

Fantom

DAG-based smart contract platform with fast finality.

Arbitrum

Arbitrum

Layer 2 rollup solution for Ethereum with lower fees.

Cronos

Cronos

EVM compatible chain from Crypto.com.

Scimatic

Specialized network for seamless payments.

Note: To find the RPC URLs and token addresses for these networks, visit chainlist.org.

Security

Eppay implements multiple layers of security to protect your funds and data:

Private Key Management

All private keys are stored securely on users' devices and are never transmitted to Eppay servers. Keys are encrypted using industry-standard algorithms.

Biometric Authentication

The Eppay mobile app supports biometric authentication (fingerprint/Face ID) for accessing the app and confirming transactions, adding an extra layer of security.

Blockchain Security

All transactions are secured by the respective blockchain networks. Eppay leverages the inherent security features of blockchain technology to ensure transaction integrity.

API Security

For developers, the Eppay API uses API keys for authentication and secure HTTPS connections for all communications. Sensitive data is never exposed in API responses.

Security Best Practices:

  • Never share your recovery phrase or private keys with anyone
  • Keep your app updated to the latest version
  • Always verify transaction details before confirming
  • Use a secure internet connection when making transactions
  • Enable all available security features in the app

Frequently Asked Questions

Currently, Eppay supports USDT (Tether) payments across multiple blockchain networks. We plan to add support for more cryptocurrencies in the future.

Eppay charges minimal fees for transactions. The exact fee depends on the blockchain network you choose to use. We display the network fee before you confirm any transaction, so there are no surprises.

Transaction times vary depending on the blockchain network used. Most transactions are confirmed within seconds to minutes, with networks like BSC, Polygon, and Avalanche typically processing transactions faster than Ethereum.

Absolutely! Eppay is designed for both individual and business use. It's perfect for merchants, freelancers, and businesses of all sizes who want to accept cryptocurrency payments. The API makes it easy to integrate with your existing systems.

Eppay utilizes industry-leading security measures, including encryption for all transactions and personal data. Your private keys remain on your device and are never transmitted to our servers. Additionally, you can enable biometric authentication for an extra layer of security.

If you've saved your 12-word recovery phrase, you can restore your wallet on a new device. Without this phrase, your funds cannot be recovered, which is why it's crucial to store it securely when you first create your wallet.

Get Started with Eppay

Ready to integrate crypto payments?

Join thousands of businesses and individuals who trust Eppay for their cryptocurrency payment needs.

Eppay App