Importapay
Api reference

Create a merchant API key

POST/api/merchant/auth/api-keys

Request

Request body (required)

Prop

Type

{  "name": "Production server"}

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"  }}