Create API Key By Permission
14.3 Create API Key By Permission
Request
Method
URL
POST
/api_keys/{api_key_id}/permissions/
Copy
Response
Status
Response
200
{
"secret_key": "magic-uHyomPzAmva2xls9tVZ89Jop3h1k6_sJh7mrEZGUqnM",
"updatedDate": "2024-01-29T08:35:24.947598",
"merchant_id": 1,
"createdDate": "2024-01-29T08:35:24.947598",
"api_key": "magic-W-O9vzYULk3I6eQo3kD0nHofmELmvCLgJqI1cWwQimY",
"is_active": true,
"deletedDate": null,
"id": 70,
"name": "deneme",
"permissions": [
{
"name": "auth",
"createdDate": "2023-10-06T12:09:27.676680",
"updatedDate": null,
"id": 8,
"description": "ödeme almayı sağlar",
"deletedDate": null
},
{
"name": "preauth",
"createdDate": "2023-10-06T12:10:16.983874",
"updatedDate": null,
"id": 9,
"description": " ön ödeme almayı sağlar",
"deletedDate": null
},
{
"name": "refund",
"createdDate": "2023-10-06T12:11:43.098157",
"updatedDate": null,
"id": 11,
"description": "iptal ve iade yapmayı sağlar",
"deletedDate": null
},
{
"name": "installment-query",
"createdDate": "2023-10-06T12:12:34.945918",
"updatedDate": null,
"id": 13,
"description": "taksit sorgusu yapmayı sağlar",
"deletedDate": null
}
]
}
403
400
401
401
500
Last updated