API Endpoints

Complete reference for InvoiceDoodle's API endpoints

Base URL

https://api.invoicedoodle.com/v1
POST/api/v1/invoices

Create a new invoice with specified details

Parameters

NameTypeRequiredDescription
client_idstringYesUnique identifier of the client
amountnumberYesInvoice amount
currencystringYesCurrency code (e.g., USD, ETH)
due_datestringYesInvoice due date (ISO 8601)

Response

201Invoice created successfully
{
  "id": "inv_123xyz",
  "status": "draft",
  "amount": 1000,
  "currency": "USD",
  "created_at": "2024-01-20T12:00:00Z"
}
GET/api/v1/invoices/{invoice_id}

Retrieve details of a specific invoice

Response

200Invoice details retrieved successfully
{
  "id": "inv_123xyz",
  "status": "paid",
  "amount": 1000,
  "currency": "USD",
  "payment_details": {
    "method": "crypto",
    "transaction_hash": "0x123..."
  }
}

Next Steps

Learn more about implementing these endpoints in your application: