Skip to main content
POST
/
v1
/
credit-notes
Create a credit note
curl --request POST \
  --url https://revstack.dev/v1/credit-notes \
  --header 'Content-Type: application/json' \
  --data '
{
  "invoiceId": "<string>",
  "amount": 1,
  "reason": "<string>"
}
'
null

Body

application/json
invoiceId
string
required
Minimum string length: 1
amount
number
required
Required range: x > 0
reason
string

Response

Credit note created

The response is of type unknown.