SDK reference · Python SDK

prov.authorize.issuer.decisions.list

prov.authorize.issuer.decisions.list in Python SDK. Newest first; program_id, basis, card_token, created_gte, created_lte, outcome, agent_key, q, review (to_review, reviewed, not_reviewed or a verdict), sort.

Signature

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

Parameters

**queryAny

Request fields

program_idstringquery
Only this program's (iprg_).
basisenumquery
Only this basis. One of network_marked, provenance_grant, suspected, none.
card_tokenstringquery
Only this card (the processor's token).
created_gtetimestampquery
Created at or after.
created_ltetimestampquery
Created at or before.
outcomeenumquery
Only decisions the rules decided this way (approve, decline and ask are still accepted). One of allow, reject, challenge, no_opinion, approve, decline, ask.
agent_keystringquery
Only this agent's (agent.key).
qstringquery
Text in the decision or authorization id, the merchant's id or name, the card's token or last four, or the agent key.
reviewenumquery
to_review: a decline nobody reviewed that the cardholder approved afterwards or whose agent was only suspected; reviewed or not_reviewed; or one verdict. One of to_review, reviewed, not_reviewed, right, should_have_approved.
sortenumquery
The order of the list: created, amount, with - in front for descending. Newest first when omitted. A next_cursor carries its order; pass it back with the same sort. One of created, -created, amount, -amount.
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 decisions.

HTTP operation

GET /v1/authorize/issuer_decisions: List issuer decisions

Errors

Example

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

Was this page helpful? Send us feedback

LLM? Read llms.txt.