Skip to main content
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

merchant_tenant_id
string<uuid>
required
environment_name
string
required
Maximum string length: 255
test_mode
boolean
required

Response

Environment successfully created

environment_name
string
required
test_mode
boolean
required
client_id
string<uuid>
required
raw_key
string
required