API Overview
Build powerful Web3 invoicing solutions with our comprehensive API
API Features
🔄
RESTful Architecture
Clean, predictable REST API endpoints with JSON responses
⛓️
Web3 Integration
Native blockchain and smart contract interaction capabilities
📦
Comprehensive SDKs
Official SDKs for popular programming languages
⚡
Real-time Events
WebSocket and webhook support for live updates
Code Examples
Authentication
curl -X GET "https://api.invoicedoodle.com/v1/invoices" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Create Invoice
const response = await fetch('https://api.invoicedoodle.com/v1/invoices', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
client_id: 'client_123',
amount: 1000.00,
currency: 'USD',
payment_methods: ['crypto', 'card'],
due_date: '2024-12-31'
})
});
Available Endpoints
Invoices
Create, retrieve, update, and delete invoices
- GET /v1/invoices
- POST /v1/invoices
- GET /v1/invoices/{id}
- PUT /v1/invoices/{id}
Payments
Process and manage payments
- POST /v1/payments
- GET /v1/payments/{id}
- POST /v1/payments/crypto
- GET /v1/payment-methods
Smart Contracts
Interact with blockchain smart contracts
- POST /v1/contracts/deploy
- POST /v1/contracts/execute
- GET /v1/contracts/{address}
Ready to Start Building?
Get your API keys and start integrating InvoiceDoodle into your application.