---
title: "Test Payment Config"
method: POST
path: "/integrations/payments/test"
tags: ["integrations", "payments"]
---

# Test Payment Config

`POST /integrations/payments/test`

## Request

- Base URL: `https://dev.whispa.net` (the document declares no server; this is the origin it was published from)
- URL: `https://dev.whispa.net/integrations/payments/test`
- Auth: one of:
  - OAuth 2
    - Password
    - Token URL: `auth/bearer/login`
  - API key in cookie `access_token`

Prove the credentials authenticate: the submitted form values win, a
blank api_key falls back to the stored (decrypted) or env one — so the
test probes exactly what a save would put into use. One-shot client: an
untested credential set must not enter the pooled cache.

## Request body

- PaymentIntegrationConfig
  - `provider` 'glider'
  - `enabled` boolean
  - `config` object

## Response `200`

Successful Response

- PaymentTestConnectionResponse
  - `provider` 'glider', required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/whispa/apis/whispa-api.md) - [All operations](https://skmtc.dev/whispa/apis/whispa-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whispa/apis/whispa-api/revisions/12c2e4aca43c?raw)
