Skip to main content
PATCH
/
v1
/
invoices
/
{uid}
/
status
Update invoice status
curl --request PATCH \
  --url https://api.platnova.com/v1/invoices/{uid}/status \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "status": "paid"
}
'
{
  "status": true,
  "data": {},
  "error": [
    "<unknown>"
  ],
  "message": "<string>"
}

Overview

Update the status of an invoice. This endpoint allows you to mark invoices as paid, cancelled, or update their status as needed.

Authorizations

X-API-KEY
string
header
required

API key for authentication.

Path Parameters

uid
string
required

Invoice UID

Body

application/json
status
enum<string>
required

New invoice status

Available options:
pending,
paid,
cancelled

Response

Invoice status updated successfully

status
boolean
data
object
error
any[]
message
string