Skip to main content
POST
/
v1
/
invoices
/
{invoiceId}
/
review
Review Invoice
curl --request POST \
  --url https://api.cadanapay.com/v1/invoices/{invoiceId}/review \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "code": "invalid_request_body",
  "message": "The request body provided is not valid",
  "params": {
    "field": "Value is invalid."
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-MultiTenantKey
string

Required when using a Platform API token. The tenant key identifying which business to operate on.

Path Parameters

invoiceId
string<uuid>
required

The unique identifier for the invoice

Body

application/json
action
enum<string>
required

Whether to approve or reject the invoice

Available options:
approve,
reject
reason
string

Reason for the decision. Required when action is reject.

Response

Invoice reviewed