Copperx Docs
LoginGet Started
  • 🏠 Getting Started
    • Introduction to Copperx
    • Use Cases: How You Can Use Copperx
    • Key Concepts & Terminology
  • 🔑Setup & Configuration
    • Setup an account
      • Payment Configuration
      • Business Details
      • Apply your Branding
      • Manage Promo Codes
    • Environments (Testnet vs Mainnet)
    • How to Generate an API Key
  • 💳 Integrate Payments
    • Accept One-Time Crypto Payments
    • Accept Crypto Subscriptions
    • Create Invoices
    • Create a Recurring Invoices
    • Webhooks & Events
  • Error Handling & Troubleshooting
  • 📚API & Reference
    • Checkout Session API
    • Invoice API
    • Webhook Events
    • Authentication & Security
  • API Reference
  • 🔗No-Code Tools
    • Payment Link
    • Recurring Subscription
    • Recurring Invoice
    • Crypto Invoice
  • 🔌Integrations
    • WooCommerce
    • Zapier
    • Stripe
    • BigCommerce
    • Magento
  • ⚙️Support
    • Clear Your Stuck Payments
Powered by GitBook
On this page
  1. Integrate Payments

Create Invoices

Issue invoices for services and track their payment status.

How it Works:

  1. Create an invoice with itemized details and due date.

  2. Share the invoice URL with the customer.

  3. Monitor invoice status (paid, open, draft, void, uncollectable).

  4. Use webhooks for payment updates.

Example API Call:

curl --request POST \
  --url https://api.copperx.dev/api/v1/invoices \
  --header 'Authorization: Bearer {API_KEY}' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "dueDate": "2025-06-01",
    "currency": "usdc",
    "lineItems": {
      "data": [
        {
          "priceData": {
            "currency": "usdc",
            "unitAmount": "50000000",
            "productData": {
              "name": "Consulting Service"
            }
          }
        }
      ]
    }
  }'
PreviousAccept Crypto SubscriptionsNextCreate a Recurring Invoices

Last updated 6 days ago

💳