PATCH
/
v1
/
invoices
/
{uuid}
/
edit

Authorizations

X-API-KEY
string
headerrequired

Your API key. This is required by all endpoints to access our API programatically. You can view your API Key by navigating to the app settings

Path Parameters

uuid
string
required

Body

application/json
status
enum<string>
  • cancelled - Cancelled
Available options:
cancelled
title
string

Craft a beautiful name for your link

Maximum length: 50

Response

200 - application/json
id
string
required
reference_id
string
required
created
string
required
title
string
required
code
string
required
url
string
required

URL of the link or invoice,

amount
string
required
currency
string
required
status
enum<string>
required
  • enabled - Enabled
  • disabled - disabled
  • archived - Archived
  • paid - Paid
  • unpaid - Unpaid
  • overdue - Overdue
  • cancelled - Cancelled
  • scheduled - Scheduled
Available options:
enabled,
disabled,
archived,
paid,
unpaid,
overdue,
cancelled,
scheduled
discount
string
required
tax
string
required
shipping_address_required
boolean
required
items
object[]
required
note
string
required
expiry
string
required
user
object
required
tip
string
required
invoice_number
string
required
service_date
string
required
due_date
string
required
interval_count
integer
required
starts_at
string
required
ends_at
string
required
due_days
integer
required
files
object[]
required
reminders
object[]
required
events
object[]
required
customer
object
required
discount_percentage
string | null
tip_percentage
string | null
custom_fields
object[]
success_url
string

Redirects to the success URL after the invoice is completed.

failure_url
string

Redirects to the failure URL if the invoice payment fails.