# Get the locker settings

> Which network the locker runs on, whether it is ready or paused, the fee, the expiry presets and limits, and the vault owner address left out of holder payouts.


`GET https://dev.payday.direct/api/v1/otc/config`

Which network the locker runs on, whether it is ready or paused, the fee, the expiry presets and limits, and the vault owner address left out of holder payouts.

## Responses

- 200: OK
- 401: Missing or invalid key

```json
{
  "ok": true,
  "cluster": "mainnet",
  "programId": "7TW1MVpj9gMUQLcQRzdnKbc62Hw5Py3YbF7ehKA61j6C",
  "ready": true,
  "paused": false,
  "marketOff": false,
  "feeBps": 500,
  "vaultAuthority": "Am9RFShJHqBp7VVrnuSfnmfFUzg64aS6Ywf24Mdtojw4",
  "presets": [
    {
      "key": "7d",
      "secs": 604800,
      "label": "7 days",
      "def": true
    }
  ],
  "minExpirySecs": 600,
  "maxExpirySecs": 7776000,
  "maxOffsetBps": 500,
  "slippageBps": 100,
  "farBps": 1500,
  "origin": "https://payday.direct",
  "usd": true
}
```

## Example

```bash
curl "https://dev.payday.direct/api/v1/otc/config" \
  -H "Authorization: Bearer pd_YOUR_KEY"
```