SDK reference · Node SDK

prov.authorize.chargebacks.list

prov.authorize.chargebacks.list in Node SDK. Newest first.

Signature

prov.authorize.chargebacks.list(params?: ListChargebacksParams): Promise<ListResponse<Chargeback>>

Parameters

paramsListChargebacksParams

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

Promise<ListResponse<Chargeback>> 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.