Skip to main content
DELETE
/
api
/
payments
/
stripe
/
{environment}
/
config
Remove Stripe Secret Key
curl --request DELETE \
  --url https://api.example.com/api/payments/stripe/{environment}/config \
  --header 'Authorization: Bearer <token>'
{
  "keys": [
    {
      "hasKey": true,
      "maskedKey": "sk_test_...abcd"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environment
enum<string>
required

Payment provider environment.

Available options:
test,
live

Response

Updated Stripe key configuration

keys
object[]
required