RyzeDeskRyzeDesk

Stripe

4105 articles

Preview a credit note


Preview a credit note

GET / v1 / credit_notes / preview

Get a preview of a credit note without creating it.

Parameters

  • invoice string Required ID of the invoice.
  • lines array of objects Required conditionally Line items that make up the credit note. One of amount, lines, or shipping_cost must be provided.
  • memo string The credit note’s memo appears on the credit note PDF.
  • metadata map Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.
  • reason enum Reason for issuing this credit note, one of duplicate, fraudulent, order_change, or product_unsatisfactory Possible enum values duplicate Credit issued for a duplicate payment or charge fraudulent Credit note issued for fraudulent activity order_change Credit note issued for order change product_unsatisfactory Credit note issued for unsatisfactory product

More parameters

  • amount integer Required conditionally
  • credit _ amount integer
  • effective _ at timestamp
  • email _ type enum
  • out _ of _ band _ amount integer
  • refund _ amount integer
  • refunds array of objects
  • shipping _ cost object Required conditionally

Returns

Returns a credit note object.

Response

Void a credit note

POST / v1 / credit_notes /:id / void

Marks a credit note as void. Learn more about voiding credit notes.

Parameters

No parameters.

Returns

Returns the voided credit note object if the call succeeded.

Response

Last verified 2026-09-27

Is this helpful?