Credit notes
List credit notes
GET
/credit_notesHeaders
AuthorizationstringRequiredHTTP Basic auth: your API key as the password, with an empty username. See Authentication.
Query parameters
limitintegerObjects per page. Defaults to 10.
starting_afterstringA cursor. Returns objects created after the object with this ID. Mutually exclusive with ending_before.
ending_beforestringA cursor. Returns objects created before the object with this ID.
invoicestringorderstringReturns
A page of credit notes.
resourcestringdataarray of objectsShow 15 child attributesHide child attributes
idstringresourcestringnumberstringThe number in the seller's credit note series.
invoicestringorderstringrefundstringreasonstring or nullcurrencystringThree-letter ISO currency code, in lowercase.
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_modebooleanhas_morebooleanErrors
400The request is invalid.
401The API key is missing or wrong.
403The key's permissions don't allow this route.
Was this page helpful?