List disputes
list_disputesRetrieve Klarna customer disputes with filters for order, state, reason, purchase reference, and dates. Page through results with cursor pagination.
Instructions
List customer disputes (Klarna Disputes API v4) filtered by order, state, reason, purchase reference and date ranges. States: INITIATED, REPRESENTMENT, PRE_ARBITRATION, ARBITRATION, CLOSED. Cursor pagination: pass pagination.last_item from the previous page as starting_after. Your merchant account must be enrolled for the Disputes API; an empty list can also mean it is not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Page size; omit for Klarna's default | |
| state | No | ||
| reason | No | ||
| sort_by | No | Prefix with - for descending. Klarna default: created_at | |
| order_ids | No | ||
| merchant_ids | No | ||
| closed_at_end | No | ||
| created_at_end | No | Disputes created before, ISO 8601 UTC | |
| starting_after | No | Cursor: pagination.last_item from the previous page | |
| updated_at_end | No | ||
| closed_at_start | No | ||
| created_at_start | No | Disputes created at or after, ISO 8601 UTC | |
| updated_at_start | No | ||
| purchase_references | No | Your customer-facing order numbers | |
| payment_transaction_ids | No |