SDK reference · Node SDK
prov.authorize.issuer.decisions.list
prov.authorize.issuer.decisions.list in Node SDK. Newest first by default.
Signature
prov.authorize.issuer.decisions.list(params?: ListIssuerDecisionsParams): Promise<ListResponse<IssuerDecision>>Parameters
paramsListIssuerDecisionsParams
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,declineandaskare still accepted). One ofallow,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.
reviewenumqueryto_review: a decline nobody reviewed that the cardholder approved afterwards or whose agent was only suspected;reviewedornot_reviewed; or one verdict. One ofto_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. Anext_cursorcarries its order; pass it back with the samesort. One ofcreated,-created,amount,-amount. limitintegerquery- Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery- Opaque; pass a response's
next_cursorback to get the next page.
Returns
Promise<ListResponse<IssuerDecision>> A page of decisions.
HTTP operation
GET /v1/authorize/issuer_decisions: List issuer decisions
Errors
- authentication_required
- insufficient_scope
- parameter_invalid
- plan_required
- rate_limit_exceeded
- resource_missing
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();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/issuer_decisions?basis=network_marked", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()