Skip to Content
Docs
Credit notes

Retrieve a credit note

GET/credit_notes/{credit_note_id}

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Path parameters

credit_note_idstringRequired

The credit note's ID (cn_).

Returns

The credit note.

idstring
resourcestring
numberstring

The number in the seller's credit note series.

invoicestring
orderstring
refundstring
reasonstring or null
currencystring

Three-letter ISO currency code, in lowercase.

Show 7 more attributesShow fewer attributes
linesarray of objects
Show 4 child attributesHide child attributes
invoice_linestring
quantityinteger
amountinteger
amount_taxinteger
amountinteger

The amount credited, tax included.

amount_taxinteger
credit_note_pdfstring or null

null until the PDF is rendered.

sent_atstring or null

When Pay.com emailed it to the customer, or null if it hasn't.

createdstring
test_modeboolean

Errors

401
The API key is missing or wrong.
403
The key's permissions don't allow this route.
404
No such object in this workspace and environment.
Was this page helpful?