Accept payments, issue invoices, and automate confirmations — in minutes.
Coindirectly is a modern payment gateway layer designed for fast integration. Create invoices, track payment status, verify callbacks, and build automated billing flows with clean APIs.
# 1) Create an invoice
curl -X POST "https://coindirectly.org/api/invoices" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 49.99,
"currency": "USD",
"customer_email": "buyer@example.com",
"description": "Premium plan - monthly"
}'
# 2) Listen for webhook callbacks (server-to-server)
# POST https://coindirectly.org/webhooks/payment
# Verify signature header + store status.
# 3) Check invoice status
curl -X GET "https://coindirectly.org/api/invoices/INV_123/status" \
-H "Authorization: Bearer YOUR_API_KEY"
Security-first defaults
API keys, signed callbacks, strict headers, and clean audit logs.
Fast integration
Minimal endpoints — invoice, status, webhook verification, payouts.
Everything you need to run a real payment gateway
Built for production: invoice lifecycle, callback verification, monitoring-friendly logs, and smooth checkout experiences.
Invoices & Payment Links
Create invoices, generate payment links, and track states (pending/paid/failed/expired).
Webhooks
Signed callbacks so your system can auto-confirm payments securely.
Fraud-aware controls
Configurable limits, IP allowlists, and risk rules to protect your API.
Dashboard-ready data
Clean JSON responses designed for charts, reports, and admin views.
API Keys & Roles
Multiple keys per project, rotate keys anytime, separate dev/prod.
Developer-friendly
Simple endpoints, consistent errors, and copy-paste examples.
Developer experience that feels premium
Clean endpoints, stable response formats, and easy server-side verification to eliminate guesswork.
<?php
// Example webhook verifier (pseudo)
$raw = file_get_contents('php://input');
$sig = $_SERVER['HTTP_X_COIN_DIRECTLY_SIGNATURE'] ?? '';
$secret = 'YOUR_WEBHOOK_SECRET';
// expected = HMAC_SHA256(raw_body, secret)
$expected = hash_hmac('sha256', $raw, $secret);
if (!hash_equals($expected, $sig)) {
http_response_code(401);
echo json_encode(['ok' => false, 'error' => 'Invalid signature']);
exit;
}
// Process event safely
$event = json_decode($raw, true);
if (($event['type'] ?? '') === 'invoice.paid') {
// mark invoice as paid
}
echo json_encode(['ok' => true]);{
"ok": true,
"invoice": {
"id": "INV_123",
"amount": 49.99,
"currency": "USD",
"status": "paid",
"created_at": "2025-12-15T19:00:00Z"
}
}Predictable errors
Every failure returns structured JSON with a stable error code and message.
Clear states
pending → paid/failed/expired, so your automation stays simple.
Simple plans for every stage
Start small, scale when ready. Choose the plan that matches your business volume.
- Sandbox API keys
- Basic invoices & status
- Community support
- Production API keys
- Webhooks + signature verification
- Rate controls + logs
- Priority support
- Dedicated infrastructure options
- Custom risk rules
- SLA + dedicated support
FAQ
Quick answers about integration and operations.
How do I get API keys?
Contact us below with your project name and domain. We’ll issue dev keys first, then production keys after verification.
How do webhooks stay secure?
We sign webhook payloads using HMAC. Your server verifies the signature before accepting the event.
Do you support multiple projects?
Yes. You can generate separate API keys and webhook secrets per project/environment.
Can I self-host everything?
Yes. This site is designed to be hosted on your own VPS. You control the server, logging, and database.
Get started
Tell us what you’re building. We’ll set up your API keys, webhook secret, and recommended integration path.
Contact
Email: support@trickadsagencyltd.com
Telegram: t.me/fbadspro11
Domain: coindirectly.org
Next steps
1) Add your API endpoints
2) Configure webhook receiver
3) Issue production keys
4) Go live 🚀
Note: This is a landing page. Connect your real API routes (e.g. /api/invoices, /webhooks/payment) when your backend is ready.