curl --request POST \
--url https://revstack.dev/v1/credit-notes \
--header 'Content-Type: application/json' \
--data '
{
"invoiceId": "<string>",
"amount": 1,
"reason": "<string>"
}
'nullIssues a credit note against an invoice for partial or full refund.
curl --request POST \
--url https://revstack.dev/v1/credit-notes \
--header 'Content-Type: application/json' \
--data '
{
"invoiceId": "<string>",
"amount": 1,
"reason": "<string>"
}
'null