Validate a set of credentials
curl -X POST "https://test-api.kashier.io/v2/merchants/validate-credentials" \ -H "Content-Type: application/json" \ -d '{ "secretKeys": [ { "mode": "test", "key": "<your test secret key>" } ], "apiKeys": [ { "mode": "test", "key": "<your test payment api key>" } ] }'{}Checks whether the secret keys and Payment API keys you hold are the right ones for the modes you have filed them under. Useful in a deployment check, or when a partner platform stores merchant credentials on the merchant's behalf and wants to catch a test key pasted into a live slot before a payment fails.
Send whichever lists you want checked; each entry names the mode you believe the key
belongs to and the key itself.
Authorization
secretKey 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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
Delete a Payment API key DELETE
Permanently removes a Payment API key. Anything still computing hashes with it starts failing signature verification immediately, so retire it from your integrations first. Requires the delete-API-…
List your secret keys GET
Returns the secret keys on your account — the credential you put in the Authorization header. Requires the API-key permission on your user's role. Kashier has not published the response shape for t…