Authorizations
An API key that grants access to the Connect API. You can create and manage API keys in the portal.
Headers
A unique key to ensure idempotency of requests. If a request with the same key has already been processed, the same result will be returned. The key must be unique for each distinct operation. Keys are expired after 24 hours, but we recommend using a new key for each request.
Modified requests with the same idempotency keys are rejected with a 409 Conflict
status code.
256
Path Parameters
The unique identifier of the invoice to mark as paid.
Body
Payment information for marking the invoice as paid.
Response
Invoice successfully marked as paid.
An invoice with detailed line item breakdown that can be sent to customers for payment.
Unique identifier for the invoice.
"123e4567-e89b-12d3-a456-426614174000"
The customer this invoice is for.
"456789ab-cdef-0123-4567-89abcdef0123"
Human-readable invoice number.
"INV-2024-001"
Current status of the invoice.
DRAFT
, SENT
, PAID
, VOID
, OVERDUE
When payment is due.
"2024-02-15"
Detailed breakdown of items included in this invoice.
When the invoice was created.
"2024-01-15T10:00:00Z"
When the invoice was last updated.
"2024-01-15T10:00:00Z"
Subtotal amount before taxes and fees.
29.99
Total tax amount for the invoice.
2.4
Total fee amount for the invoice.
2.5
Total discount amount for the invoice.
5
Total amount due for the invoice.
29.89
Invoice currency.
"USD"
When the invoice was sent to the customer (if status is sent or later).
"2024-01-15T10:00:00Z"
When the invoice was paid (if status is paid).
"2024-02-10T14:30:00Z"
When the invoice was voided (if status is void).
"2024-02-05T09:00:00Z"
Hosted URL where customer can view the invoice.
"https://invoices.yourapp.com/inv_123e4567"
A set of key-value pairs that can be attached to an object for storing additional information in a semi-structured format.