Mintcash
API reference

API keys

List the API keys currently active on your merchant account. Useful for audit and rotation workflows.

This endpoint returns the public keys we have on file for your merchant. Secret keys are never returned — they're only shown once at creation and otherwise stored hashed.

List API keys

List the authenticated merchant's API keys.

Returns all API keys (active and revoked) belonging to the currently authenticated merchant. Secret keys are never included.

Authentication: Basic Auth (public_key:secret_key) with merchant role.

GET
/merchant/api-keys
AuthorizationBasic <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://sandbox.mintcash.me/merchant/api-keys"
{
  "apiKeys": [
    {
      "createdAt": "string",
      "environment": "string",
      "id": "string",
      "isActive": true,
      "publicKey": "string",
      "revokedAt": "string"
    }
  ]
}
{
  "code": "not_found",
  "details": {},
  "message": "string"
}
{
  "code": "not_found",
  "details": {},
  "message": "string"
}
{
  "code": "not_found",
  "details": {},
  "message": "string"
}

On this page