curl --location --request POST '/api/v1/invoices/send' \
--header 'x-business-id;' \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerEmail": "john@example.com",
"customerName": "John Doe",
"businessName": "My Business",
"invoiceNumber": "INV-202501-0001",
"amount": 129375,
"currency": "NGN",
"description": "Invoice for web development services",
"notes": "Payment due within 30 days",
"dueDate": "2025-02-01T00:00:00Z",
"contactEmail": "support@mybusiness.com",
"paymentUrl": "https://payment.rayswap.exchange/invoice/inv_123456",
"business": {
"id": "biz_123",
"name": "My Business",
"email": "contact@mybusiness.com",
"currency": "NGN"
}
}'