Operator

Platform operators: store (or replace) the Stripe secret key and/or webhook signing secret, sealed with the platform key; billing uses them at once and the secret key is tested with a read-only call. Fresh operator session and a reason

put/operator/payment-keys/stripe

Request

  • Base URL: https://hostingsurge.com/api/v1
  • URL: https://hostingsurge.com/api/v1/operator/payment-keys/stripe
  • Auth: one of:
    • HTTP bearer
    • API key in cookie __Host-hs_session

Request body

secretKeystring
webhookSecretstring
reasonstring required

why (shown in the operator audit log)

Response

Stored

keyringConfiguredboolean required

the platform key (ENCRYPTION_KEY) that seals stored keys is set

primaryBrandboolean required

false: this is not the main brand; Stripe keys are entered in the main brand's console

Changes

No recorded changes to this operation across all 1 revision of this API.