Skip to main content
POST
Cancel an Invoice

Authorizations

Authorization
string
header
required

API key for authentication. Get your key from the Dashboard > Settings > API Access.

Path Parameters

id
string
required

The id of the invoice. Expected to be a valid object id like 666666666666666666666666

Pattern: ^[0-9A-Fa-f]{24}$

Body

application/json
cancellationReason
string
required

The reason for cancellation

Response

Cancel an Invoice executed successfully

message
string

Success message

metaData
object
data
object