Create Invoices
Issue invoices for services and track their payment status.
How it Works:
Create an invoice with itemized details and due date.
Share the invoice URL with the customer.
Monitor invoice status (
paid
,open
,draft
,void
,uncollectable
).Use webhooks for payment updates.
Example API Call:
curl --request POST \
--url https://api.copperx.dev/api/v1/invoices \
--header 'Authorization: Bearer {API_KEY}' \
--header 'Content-Type: application/json' \
--data-raw '{
"dueDate": "2025-06-01",
"currency": "usdc",
"lineItems": {
"data": [
{
"priceData": {
"currency": "usdc",
"unitAmount": "50000000",
"productData": {
"name": "Consulting Service"
}
}
}
]
}
}'
Last updated