Terminals
Create terminal restriction
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://api.miracle.com/v1/admin/terminals/string/restrictions" \ -H "Content-Type: application/json" \ -d '{ "action": "allow" }'{
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"terminalId": "57e69e1b-2c00-4a26-b5e3-44617c6cc659",
"action": "allow",
"paymentMethod": "string",
"brand": "string",
"transactionType": "payment",
"status": "active",
"createdAt": "string",
"updatedAt": "string"
}
}Empty
Empty