Skip to Content
Docs
Credit notes

List credit notes

GET/credit_notes

Headers

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

Query parameters

limitinteger

Objects per page. Defaults to 10.

Default: 10

starting_afterstring

A cursor. Returns objects created after the object with this ID. Mutually exclusive with ending_before.

ending_beforestring

A cursor. Returns objects created before the object with this ID.

invoicestring
orderstring

Returns

A page of credit notes.

resourcestring
dataarray of objects
Show 15 child attributesHide child attributes
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.

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
has_moreboolean

Errors

400
The request is invalid.
401
The API key is missing or wrong.
403
The key's permissions don't allow this route.
Was this page helpful?