The invoice to update is selected by the
id field in the request body, not
by the {uuId} segment in the URL path. The path segment is cosmetic and is
ignored by the API — always send the target invoice id in the body.Authorization
string
required
Example:
Authorization | Bearer Paste-Your-API-Key-HereRequest Body
string<uuid>
required
A unique identifier obtained when creating an invoice. This selects the invoice
to update (the
{uuId} URL segment is ignored).Example:6f8c19ff-5b97-4792-aa89-d2a12797b356array
List of invoice items.
number
Quantity of the item.
number
Price per item.
string
Description of the item.
string
Description or notes related to the invoice.
string
Invoice expiration time in ISO 8601 format (UTC).
string
Additional notes for the invoice.
integer
Tax amount applied to the invoice.
string
Restrict the invoice to a specific payment method.
string
Cashtag associated with the invoice.
object
Additional custom data attached to the invoice.
Response
Successful ResponseMain Structure (Root)
integer
Status code form API.
string
Status message that describes the status code.
object
The updated invoice data.
data Structure (Object)
string<uuid>
Unique invoice ID.
string
The URL that customers can access to open the invoice.
Errors
object
Returned when the API key is missing or invalid:
{ "statusCode": 401, "messages": "Unauthorized" }.object
Returned when no invoice matches the provided
id:
{ "statusCode": 404, "messages": "Invoice not found" }.object
Returned when the invoice has already been paid and can no longer be edited:
{ "statusCode": 409, "messages": "Transaction already paid. Cannot edit invoice." }.