# prov.authorize.issuer.decisions.get

prov.authorize.issuer.decisions.get in Python SDK.

## Signature

```python
prov.authorize.issuer.decisions.get(decision_id: str) -> Any
```

## Parameters

- `decision_id` (str)

## Returns

`Any`

## HTTP operation

[`GET /v1/authorize/issuer_decisions/{id}`](https://provenanceauth.com/docs/api/issuer-controls.md#get-v1-authorize-issuer-decisions-id): Get an issuer decision

## Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`plan_required`](https://provenanceauth.com/docs/platform/errors.md#plan_required)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)

## Example

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/issuer_programs`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({ "name": "Fernhill agent cards", "processor": "lithic" }),
})).json();
const program = step1.id;
const step2 = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/issuer_decisions`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({
    "program_id": program,
    "amount": 4200,
    "currency": "USD",
    "card": {
      "token": "card_tok_fernhill_2"
    },
    "network": {
      "program": "mastercard_agent_pay",
      "agent_id": "mc-agent-7"
    }
  }),
})).json();
const decision = step2.id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/issuer_decisions/${decision}`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/authorize/issuer_programs", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "name": "Fernhill agent cards",
    "processor": "lithic"
}).json()
program = step1["id"]
step2 = httpx.post(f"{api}/v1/authorize/issuer_decisions", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "program_id": program,
    "amount": 4200,
    "currency": "USD",
    "card": {
        "token": "card_tok_fernhill_2"
    },
    "network": {
        "program": "mastercard_agent_pay",
        "agent_id": "mc-agent-7"
    }
}).json()
decision = step2["id"]
data = httpx.get(f"{api}/v1/authorize/issuer_decisions/{decision}", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```
