---
title: "Get CSP config as JSON"
method: GET
path: "/.well-known/csp-config.json"
tags: ["CSP Config"]
---

# Get CSP config as JSON

`GET /.well-known/csp-config.json`

## Request

- Base URL: `https://testsecure.peachpayments.com`
- URL: `https://testsecure.peachpayments.com/.well-known/csp-config.json`
- Auth: none required

Returns the Content Security Policy configuration file in JSON format.

## Response `200`

CSP configuration returned in JSON format.

- object

## Other responses

- `500`: Failed to load CSP config.

---

[API](https://skmtc.dev/peachpayments/apis/checkout.md) - [All operations](https://skmtc.dev/peachpayments/apis/checkout/llms.txt) - [OpenAPI document](https://skmtc.dev/peachpayments/apis/checkout/revisions/a5b4afd27df4?raw)
