💳 Billing & DCDN Credits

Everything you need to know about credits, payments, and billing on DCDN Cloud.

How Credits Work

DCDN Credits are the universal currency on the platform. 1 credit = $1 USD.

Getting Credits

1. Buy with Stripe (Credit Card)

Go to Dashboard → Credits → Buy Credits and choose an amount. Payment is processed via Stripe.

PackageCreditsPrice
Starter10 credits$10
Standard50 credits$50
Pro100 credits$100
CustomAny amount$1 per credit

Credits are added to your account instantly after payment.

2. Promo Codes

Redeem promo codes on the Credits page for free credits. Promo credits have the same value but may have an expiration date.

3. Admin Grants

Platform administrators can grant credits to users for testing, support, or promotional purposes.

4. Reseller Credits

Resellers can distribute credits to their customers. See the Reseller Guide.

What Credits Pay For

ServiceBilling ModelExample
Cloud VPSHourly (monthly rate / 730h)nano plan: ~$0.003/hr
AI InferencePer token (input + output)dcdn-smart: $3/$15 per 1M tokens
GPU RentalHourly (operator-set price)Varies by node
Fine-tuningPer job (GPU hours)Varies by model + duration
CDN BandwidthIncluded in planStandard: 1 TB/mo

Billing Cycle

💡 If your credit balance reaches zero, running VPS instances will continue for a grace period. Top up promptly to avoid suspension.

DCDN Token Payments

You can also pay using DCDN tokens on supported chains. Token payments receive a 15% platform discount on service fees.

🪙 DCDN Credits do NOT receive the 15% discount — only DCDN token payments do.

x402 Agentic Payments

AI agents can pay per-request using USDC on Base chain via the x402 protocol. No account or credits needed — the agent signs a USDC payment for each API call.

Viewing Your Balance

Dashboard

Navigate to Credits in the sidebar to see:

API

curl https://dcdncloud.com/api/v1/credits/balance \
  -H "Authorization: Bearer TOKEN"

Response:

{
  "balance": 1004.0,
  "total_granted": 1100.0,
  "total_used": 26.0,
  "total_expired": 0.0,
  "active_grants": 2
}

Credit API Endpoints

MethodEndpointDescription
GET/credits/balanceCurrent balance + summary
GET/credits/grantsActive credit grants
GET/credits/transactionsTransaction history
GET/credits/historyFull credit history
POST/credits/buyPurchase credits (Stripe)

Transaction History

curl "https://dcdncloud.com/api/v1/credits/transactions?limit=50" \
  -H "Authorization: Bearer TOKEN"

Response:

{
  "transactions": [
    {
      "id": "...",
      "tx_type": "spend",
      "amount": -2.0,
      "balance_after": 94.0,
      "description": "Service: VPS: nano (my-server)",
      "category": "VPS: nano (my-server)",
      "created_at": "2026-04-02T12:01:39"
    },
    {
      "id": "...",
      "tx_type": "grant",
      "amount": 100.0,
      "balance_after": 100.0,
      "description": "Promo code redeemed: WELCOME100",
      "category": "promo:WELCOME100",
      "created_at": "2026-03-28T08:27:00"
    }
  ],
  "total": 8
}

CSV Export

Click Export CSV on the Credits page to download your full transaction history as a spreadsheet — useful for accounting and tax purposes.

Subscription Plans

Monthly plans include CDN service + credit allocation:

PlanPriceIncludes
Standard$5/moCDN, 1 domain, basic DDoS
Pro$15/moCDN, 5 domains, WAF, advanced DDoS
Business$59/moCDN, unlimited domains, priority support

VPS and GPU services are billed separately from your credit balance.

Need Help?