Quick Start
This guide will help you start accepting crypto payments as quickly as possible.
Prerequisites
Section titled “Prerequisites”- A ByteConnect merchant account (sign up here)
- ByteWallet app installed on your phone (download)
Option 1: Payment Links (Fastest)
Section titled “Option 1: Payment Links (Fastest)”Payment links are the quickest way to accept crypto payments. No coding required.
Generate a Payment Link
Section titled “Generate a Payment Link”- Log into your Merchant Portal
- Navigate to Payment Links
- Enter the amount and description
- Copy and share the generated link
Example Payment Link:
https://byteconnect.us/pay?affiliate_id=YOUR_ID&amount=25.00&label=Invoice-001Customers can pay using any crypto wallet by scanning the QR code or clicking the link.
Option 2: Checkout Button
Section titled “Option 2: Checkout Button”Embed a payment button on your website with a simple HTML snippet.
Add the Button
Section titled “Add the Button”<!-- ByteConnect Checkout Button --><script src="https://byteconnect.us/checkout.js"></script><button class="byteconnect-button" data-affiliate-id="YOUR_AFFILIATE_ID" data-amount="25.00" data-label="Product Name"> Pay with Crypto</button>The button will open a payment modal when clicked.
Option 3: REST API
Section titled “Option 3: REST API”For custom integrations, use our REST API.
1. Authenticate
Section titled “1. Authenticate”curl -X POST https://quinix.byteconnect.us/auth \ -H "Content-Type: application/json" \ -d '{ "username": "your_username", "password": "your_password" }'Response:
{ "access_token": "eyJ0eXAiOiJKV1Q...", "token_type": "bearer", "refresh_token": "eyJ0eXAiOiJKV1Q..."}2. Create a Transaction
Section titled “2. Create a Transaction”curl -X POST https://quinix.byteconnect.us/create_transaction \ -H "Content-Type: application/json" \ -d '{ "access_token": "your_access_token", "email": "customer@example.com", "amount": "25.00", "crypto_selected": "BTC", "label": "Order #1234" }'Response:
{ "transaction_id": "txn_abc123", "wallet_address": "bc1q...", "qr_code": "data:image/png;base64,...", "crypto_amount": "0.00042", "expires_at": "2024-01-01T12:15:00Z"}3. Check Transaction Status
Section titled “3. Check Transaction Status”curl -X POST https://quinix.byteconnect.us/check_transaction \ -H "Content-Type: application/json" \ -d '{ "access_token": "your_access_token", "transaction_id": "txn_abc123" }'Poll this endpoint every 10 seconds to check payment status.
Transaction Lifecycle
Section titled “Transaction Lifecycle”| Status | Description |
|---|---|
started | Transaction created, awaiting payment |
pending | Payment received, awaiting confirmation |
confirmed | Payment confirmed on blockchain |
succeeded | Transaction completed successfully |
timedout | 15-minute window expired |
cancelled | Transaction cancelled |