Credit notes
Retrieve a credit note
GET
/credit_notes/{credit_note_id}Headers
AuthorizationstringRequiredHTTP Basic auth: your API key as the password, with an empty username. See Authentication.
Path parameters
credit_note_idstringRequiredThe credit note's ID (cn_).
Returns
The credit note.
idstringresourcestringnumberstringThe number in the seller's credit note series.
invoicestringorderstringrefundstringreasonstring or nullcurrencystringThree-letter ISO currency code, in lowercase.
Show 7 more attributesShow fewer attributes
linesarray of objectsShow 4 child attributesHide child attributes
invoice_linestringquantityintegeramountintegeramount_taxintegeramountintegerThe amount credited, tax included.
amount_taxintegercredit_note_pdfstring or nullnull until the PDF is rendered.
sent_atstring or nullWhen Pay.com emailed it to the customer, or null if it hasn't.
createdstringtest_modebooleanErrors
401The API key is missing or wrong.
403The key's permissions don't allow this route.
404No such object in this workspace and environment.
Was this page helpful?