Skip to main content

Create a merchant API key

POST/api/merchant/auth/api-keys

Create a merchant API key

Request

Request body (required)

{
  "name": "Production backend"
}

Responses

201 API key created. The unredacted key is returned only once.

Example response

{
  "message": "merchant api key created successfully",
  "response": {
    "apiKey": "imp_live_replace_with_your_key",
    "keyPrefix": "imp_live_",
    "name": "Production backend",
    "createdAt": "2026-08-24T12:00:00.000Z"
  }
}