POST
/
api
/
v1
/
csp
/
organization
Create Organization
curl --request POST \
  --url https://sandbox.paylias.xyz/gateway/api/v1/csp/organization \
  --header 'Content-Type: application/json' \
  --data '{
  "admin_email": "admin@getsafepay.com",
  "admin_first_name": "Ziyad",
  "admin_last_name": "Parekh",
  "admin_password": "$uper$3cur3",
  "country": "US",
  "name": "Safepay, Inc"
}'
{
  "data": {
    "admin_email": "admin@getsafepay.com",
    "admin_first_name": "Ziyad",
    "admin_last_name": "Parekh",
    "country": "PK",
    "enabled": true,
    "name": "SafePay",
    "token": "org_d09gv1s20or2svojjmt0"
  },
  "ok": true
}

Body

application/json

Request to create a new organization

The body is of type object.

Response

200
application/json

Organization information retrieved successfully

Standard response structure for successful operations