v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Stripe Payments

Configure Stripe Secret Key

Validate and store a Stripe secret key. New Stripe accounts attempt managed webhook setup and then run a unified sync.

put/api/payments/stripe/{environment}/config

Path parameters

environment'test' | 'live' required

Payment provider environment.

Request body

secretKeystring required

Example request

{
  "secretKey": "sk_test_xxx"
}

Response

Updated Stripe key configuration

Example response

{
  "keys": [
    {
      "maskedKey": "sk_test_...abcd"
    }
  ]
}