Api key Cliente
Crear API Keys
POST /v1/api-keys
Este endpoint permite crear una api key para un cliente determinado.
Parámetros | Descripción |
---|---|
user |
|
user_type |
|
customer_id |
|
merchant_id |
|
curl --request POST \
--url https://api.menta.global/api/v1/api-keys \
--header 'X-Api-Key: api_key_cliente' \
--data '{
"user": "email_comercio",
"user_type": "MERCHANT",
"customer_id": "{id_cliente}"
"merchant_id": "{id_comercio}"
}'
{
"id": "string",
"api_key": "string",
"user": "string",
"user_type": "MERCHANT",
"customer_id": "string",
"merchant_id": "string",
"status": "ENABLED",
"create_date": "2025-05-27T15:18:14.198056093Z",
"update_date": "2025-05-27T15:18:14.205319483Z"
}