SDK reference · Python SDK

prov.authorize.chargebacks.list

prov.authorize.chargebacks.list in Python SDK. Newest first; filter with state, platform, outcome, since.

Signature

prov.authorize.chargebacks.list(**query: Any = …) -> Any

Parameters

**queryAny

Request fields

stateenumquery
Only chargebacks in this state. One of received, not_eligible, unmatched, matched, staged, staged_text_only, submitted, merchant_submitted, failed, missed, dismissed.
platformenumquery
Only this platform's. One of stripe, shopify.
outcomeenumquery
Only chargebacks closed with this outcome. One of won, lost, accepted, closed.
sincetimestampquery
Only chargebacks received at or after this time.
sortenumquery
The order of the list: due, amount, created, with - in front for descending. Newest first when omitted. A chargeback with no due date sorts last. A next_cursor carries its order; pass it back with the same sort. One of due, -due, amount, -amount, created, -created.
limitintegerquery
Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery
Opaque; pass a response's next_cursor back to get the next page.

Returns

Any A page of chargebacks.

HTTP operation

GET /v1/authorize/chargebacks: List chargebacks

Errors

Example

const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/chargebacks?state=staged`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();

Was this page helpful? Send us feedback

LLM? Read llms.txt.