Paycose Docs
FlowEvents

Credit note events

What data you get for credit_note.created, credit_note.updated, and credit_note.canceled.

Fires when a credit note against an invoice is created, updated, or voided.

Prop

Type

{
  "id": "cn_01J9ABCDEFGHJKMNPQRSTV",
  "object": "credit_note",
  "invoice_id": "in_01J9ABCDEFGHJKMNPQRSTV",
  "customer_id": "cus_01J8XYZABCDEFGHJKMNPQR",
  "reason": "PRICE_ADJUSTMENT",
  "currency": "THB",
  "total": 53500,
  "amount_refunded": 0,
  "amount_remaining": 53500,
  "status": "issued",
  "type": "post_payment"
}

credit_note.canceled sets status to "voided", not "canceled" — match on the event name, not the status value.

credit_note.issued and credit_note.applied are defined but not currently sent by the platform.