Invoices API
Create, send, and manage professional invoices with automated payment tracking and webhook notifications.
Invoice Workflow
1
Create Invoice
2
Send to Customer
3
Track Payment
Automatic Payment Links
When you create an invoice, VeriPay automatically generates payment links and handles the verification process.
Create Invoice
Create a new invoice with line items, customer details, and payment terms.
POST
/api/v1/invoices
List & Retrieve Invoices
List All Invoices
GET
/api/v1/invoices
GET /api/v1/invoices?status=pending&page=1&per_page=25
Authorization: Bearer sk_test_...
Get Specific Invoice
GET
/api/v1/invoices/{id}
GET /api/v1/invoices/456
Authorization: Bearer sk_test_...
Mark Invoice as Paid
Manually mark an invoice as paid or update its status.
PATCH
/api/v1/invoices/{id}
Automatic Status Updates
When customers pay through VeriPay payment links, invoice status is automatically updated to "paid" when payment is verified.
Invoice Status Values
draft
Invoice created but not yet sent
sent
Invoice sent to customer, awaiting payment
viewed
Customer has viewed the invoice
paid
Payment received and verified
overdue
Payment past due date
cancelled
Invoice cancelled
Webhook Events
Receive notifications for invoice-related events:
invoice.created
New invoice created
invoice.sent
Invoice sent to customer
invoice.viewed
Customer viewed invoice
invoice.paid
Payment received and verified
invoice.overdue
Invoice became overdue
Learn more about webhook implementation in our Webhooks guide.