Skip to main content
GET
List Customer Credits

Authorizations

Authorization
string
header
required

Partner-level JWT token (unscoped). Token payload includes partner_id. Business access is validated via partner ownership. Format: Bearer <your-jwt-token>

Use this for: Multi-business operations where the business_id is specified in the URL and partner has access to multiple businesses.

Path Parameters

business_id
string<uuid>
required

Business UUID provided by Thred (unique identifier for the business)

Query Parameters

customer_external_id
string

Filter by customer external id

customer_id
string

Filter by customer ID (supports comma-separated UUIDs for multiple customers)

page
integer

Page number (default: 1)

page_size
integer

Items per page (default: 20, max: 100)

Search in credit note number, external ID, and customer name

sent_at_end
string

Filter credits sent at or before this ISO timestamp

sent_at_start
string

Filter credits sent at or after this ISO timestamp

source_invoice_id
string<uuid>

Filter by source invoice ID (origin tracking)

status
string

Comma-separated statuses (draft,sent,applied,partially_applied,void)

Response

count
integer
required

Total number of items

Example:

123

page_info
object
required
Example:
results
object[]
required