POST
/
api
/
v1
/
environments
/
Create a new environment
curl --request POST \
  --url https://dev.superpool.unyte.africa/api/v1/environments/ \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "merchant_tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "environment_name": "<string>",
  "test_mode": true
}'
{
  "environment_id": "64e6eb79-b9f7-4e3a-96e1-0baee17acd5f",
  "environment_name": "Development Environment",
  "test_mode": true,
  "raw_api_key": "your-raw-api-key-here"
}

Authorizations

X-API-Key
string
header
required

Body

Serializes the information of an environment

Response

201
application/json

Environment successfully created

The response is of type object.