KashierDevelopersKashier Developers
API reference and playgroundCredentials and access

Update a user's secret keys

curl -X PUT "https://test-api.kashier.io/v2/identity/secret-keys/string" \  -H "Content-Type: application/json" \  -d '{}'
{}

Updates the secret keys held for one dashboard user. Requires the API-key permission on your user's role.

Treat this as destructive until you have confirmed its behaviour with Kashier. Kashier has published neither the request body nor the response for this endpoint, and anything that changes a secret key can cut off every integration using it. Try it on a test account first, and prefer creating and retiring Payment API keys — which are documented — where that solves your problem.

Authorization

secretKey
Authorization<token>

Merchant secret key used to identify the merchant, obtained from Kashier's dashboard. Pass the raw secret key value in the Authorization header (NOT a "Bearer" token).

In: header

Path Parameters

userId*string

The dashboard user whose secret keys are being updated.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Undocumented. The saved request Kashier ships sends an empty object.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

PUT
/v2/identity/secret-keys/{userId}