Now Integrate MaxelPay with WooCommerce on WordPress
Maxelpay Logo

Search

Icon Search

Crypto Payment Gateway For Telegram

Accept Crypto Payments on Telegram with MaxelPay

Integrating cryptocurrency payments can open the door to a broader customer base, attracting a younger, more tech-savvy audience eager for innovative payment options.

  • Collect Payments Globally and Instantly

  • Attract Privacy-Conscious Customers

  • Provide Access to Services for the Unbanked

Get started today

Secure and Instant Crypto Payments for Your Telegram Mini Apps!

Integrate a robust, secure, and instant crypto payment solution directly into your Telegram Mini Apps. With MaxelPay, you can offer your users a frictionless and cost-effective way to pay using their favorite cryptocurrencies—all without leaving Telegram.

What are Telegram Mini Apps?

Telegram Mini Apps allow users to access a variety of services and experiences directly within Telegram without needing to leave the app. These mini apps provide a seamless, in-chat experience, enabling businesses to offer a full range of interactive features directly in the messaging platform. Whether it's browsing products, booking services, or making purchases, everything can be done from within a single chat interface.

Integration Process

Integrating MaxelPay into your Telegram Mini App is simple. Follow these four simple steps:

Step 1 – Add the Telegram CDN

Include the Telegram Web App script in the <head> section of your HTML:

<script src="https://telegram.org/js/telegram-web-app.js"></script>

Step 2 – Set API Keys & Environment

1. API Endpoint:

Use the following endpoint to initiate a payment checkout:

https://api.maxelpay.com/v1/${environment}/merchant/order/checkout

2. Choose Your Environment:

  1. stg → Staging

  2. prod → Production

3. Obtain API Credentials:

An API Key and Secret are required. If you don’t have them yet, Get API Keys.

Step 3 – Prepare the API Payload

Send a JSON payload with all required fields to generate a payment link.

{
"orderID": Math.floor(Math.random() * 1000000000).toString(),
"orderID": Math.floor(Math.random() * 1000000000).toString(),
"amount": "10",
"currency": "USD",
"timestamp": Math.floor(Date.now() / 1000).toString(),
"userName": "JohnDoe",
"siteName": "Maxelpay",
"userEmail": "john.doe@example.com",
"redirectUrl": "https://example.com/checkout/success",
"websiteUrl": "https://example.com",
"cancelUrl": "https://example.com/checkout/cancel",
"webhookUrl": "https://example.com/api/webhook"
}

Note: All fields are required for a successful integration.

Step 4 – Encrypt the Payload

To secure your data, encrypt the payload using CryptoJS. Include the following library in your:

<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>

How MaxelPay Works within Telegram Mini Apps:

  1. Browse and Add to Cart: Users can start by exploring products directly within the Telegram Mini App. Once they find the item they wish to purchase, they simply add it to their cart.

  2. Proceed to Checkout: When ready to purchase, users can proceed to the checkout stage by clicking on the checkout option within the Telegram Mini App.

  3. MaxelPay Checkout: At this point, the user is seamlessly redirected to MaxelPay's checkout interface. This redirection occurs within the Telegram app, ensuring users never have to leave the app or interrupt their conversation flow.

  4. Complete the Paymen: Once on MaxelPay’s checkout page, customers can choose their preferred payment method. MaxelPay handles the payment securely and efficiently.

  5. Return to Telegram: After the payment is successful, users are redirected back to the Telegram Mini App, where they can receive an order confirmation and continue interacting within the chat.

Stay Secure. Stay Instant. Stay Ahead.

MaxelPay is committed to providing a future-ready payment solution that grows with your business. Join the digital payment revolution and deliver a truly modern experience to your users.