# prov.authorize.network

prov.authorize.network in the Python SDK: 13 methods. Network mandates: one permission a person gives your agent, honoured at any store.

## Methods

### [request_grant](https://provenanceauth.com/docs/sdks/python/authorize-network/request-grant.md)

```python
prov.authorize.network.request_grant(**body: Any = …) -> Any
```

Calls `POST /v1/mandate/grant_requests`.

### [get_grant_request](https://provenanceauth.com/docs/sdks/python/authorize-network/get-grant-request.md)

```python
prov.authorize.network.get_grant_request(request_id: str) -> Any
```

Calls `GET /v1/mandate/grant_requests/{id}`.

### [get_grant](https://provenanceauth.com/docs/sdks/python/authorize-network/get-grant.md)

```python
prov.authorize.network.get_grant(grant_id: str) -> Any
```

A network grant your agent holds, with its `version`, `last_adjusted_at` and `hard_max`.

Calls `GET /v1/mandate/network_grants/{id}`.

### [wait_for_grant_change](https://provenanceauth.com/docs/sdks/python/authorize-network/wait-for-grant-change.md)

```python
prov.authorize.network.wait_for_grant_change(grant_id: str, version: int, timeout_s: float = …) -> Any
```

Poll until the person changes the grant past `version` (after you showed them an `adjust` link), with backoff from 1 to 15 seconds.

### [get_limit_notice_settings](https://provenanceauth.com/docs/sdks/python/authorize-network/get-limit-notice-settings.md)

```python
prov.authorize.network.get_limit_notice_settings() -> Any
```

The channels your agents' near-limit notices go on (push, text, email).

Calls `GET /v1/mandate/settings/limit_notices`.

### [set_limit_notice_settings](https://provenanceauth.com/docs/sdks/python/authorize-network/set-limit-notice-settings.md)

```python
prov.authorize.network.set_limit_notice_settings(**channels: bool = …) -> Any
```

Turn `push`, `text` or `email` on or off (an admin key).

Calls `PUT /v1/mandate/settings/limit_notices`.

### [create_order](https://provenanceauth.com/docs/sdks/python/authorize-network/create-order.md)

```python
prov.authorize.network.create_order(**body: Any = …) -> Any
```

Buy under a network grant.

Calls `POST /v1/mandate/network_orders`.

### [accept](https://provenanceauth.com/docs/sdks/python/authorize-network/accept.md)

```python
prov.authorize.network.accept(intent_token: str) -> Any
```

Calls `POST /v1/authorize/network_orders/confirm`.

### [cancel](https://provenanceauth.com/docs/sdks/python/authorize-network/cancel.md)

```python
prov.authorize.network.cancel(intent_token: str) -> Any
```

Calls `POST /v1/authorize/network_orders/cancel`.

### [report](https://provenanceauth.com/docs/sdks/python/authorize-network/report.md)

```python
prov.authorize.network.report(**body: Any = …) -> Any
```

Report an order your account verified or accepted: `kind` is `fraud`, `unrecognized_charge` or `agent_misbehaved`; pass `intent_jti` or `decision_id`.

Calls `POST /v1/authorize/agent_reports`.

### [list_reports](https://provenanceauth.com/docs/sdks/python/authorize-network/list-reports.md)

```python
prov.authorize.network.list_reports(**query: Any = …) -> Any
```

Calls `GET /v1/authorize/agent_reports`.

### [withdraw_report](https://provenanceauth.com/docs/sdks/python/authorize-network/withdraw-report.md)

```python
prov.authorize.network.withdraw_report(report_id: str) -> Any
```

Calls `DELETE /v1/authorize/agent_reports/{id}`.

### [agent_record](https://provenanceauth.com/docs/sdks/python/authorize-network/agent-record.md)

```python
prov.authorize.network.agent_record(agent_id: str) -> Any
```

Calls `GET /v1/mandate/agents/{id}/record`.
