# Update Radar settings
Source: https://docs.lomi.africa/api/organizations/OrganizationsController_updateRadarSettings

Update Radar settings

***

title: "Update Radar settings"
description: "Update Radar settings"
full: true
method: patch
path: /organizations/radar-settings
operationId: OrganizationsController\_updateRadarSettings
---------------------------------------------------------

## Overview

Update Radar settings

Enables or disables Radar screening and updates monitor/block mode or card-network passthrough for the organization.

### When to use this

Use when onboarding merchants to fraud screening or changing how risky charges are handled.

### Good to know

Radar is opt-in. When `mode` is `block`, charges that hit block rules are rejected before completion.

### See also

[Get Radar settings](/api/organizations/OrganizationsController_getRadarSettings) · [List risk assessments](/api/risk-assessments/RadarController_listAssessments)

## Authentication

Merchant routes require an API key in the `X-API-KEY` header (see [Integration overview](/api)). Use a **test** key against `https://sandbox.api.lomi.africa` and a **live** key against `https://api.lomi.africa`.

## Endpoint

`PATCH /organizations/radar-settings`

Base URLs:

* `https://sandbox.api.lomi.africa`
* `https://api.lomi.africa`

## Request

### Path parameters

*No path parameters beyond the URL pattern.*

### Query parameters

*No query parameters.*

### Headers

| Name           | In     | Required | Schema | Description                                                                                                                                          |
| -------------- | ------ | -------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Lomi-Account` | header | No       | -      | Optional lomi. Network account id (`acct_...`). When present, the API key acts as the Operator and the request targets the connected Member Account. |

### Request body

JSON request payload.

Schema: `UpdateRadarSettingsDto`

| Field                      | Required | Type                        | Description |
| -------------------------- | -------- | --------------------------- | ----------- |
| `enabled`                  | No       | `boolean`                   | -           |
| `mode`                     | No       | `enum ("monitor", "block")` | -           |
| `stripe_radar_passthrough` | No       | `boolean`                   | -           |

Example body:

```json
{
  "enabled": true,
  "mode": "monitor",
  "stripe_radar_passthrough": true
}
```

## Responses

| Status | Description |
| ------ | ----------- |
| `200`  | Success     |

## Errors

Errors follow the standard JSON error format (status code and machine-readable message). Validate inputs before calling; **401** indicates a missing/invalid key, **404** a missing resource for this organization, **429** rate limiting. For safe retries on create-style calls, send an idempotency key when your flow supports it.

## Example

```bash
curl -sS -X PATCH "https://sandbox.api.lomi.africa/organizations/radar-settings" \
  -H "X-API-KEY: $LOMI_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled":true,"mode":"monitor","stripe_radar_passthrough":true}'
```

## OpenAPI

* **operationId**: `OrganizationsController_updateRadarSettings`
* **Operation**: `PATCH /organizations/radar-settings`

Full schemas and **Try it**: [API reference](/api). Machine-readable contract: repo `apps/docs/openapi.json`.
