POST
/
organization
curl --request POST \
  --url https://sandbox.hyperswitch.io/organization \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "organization_name": "organization_abc"
}'
{
  "organization_id": "org_q98uSGAYbjEwqs0mJwnz",
  "organization_name": "<string>",
  "organization_details": {},
  "metadata": {},
  "modified_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

api-key
string
header
required

Admin API keys allow you to perform some privileged actions such as creating a merchant account and Merchant Connector account.

Body

application/json
organization_name
string
required

Name of the organization

organization_details
object | null

Details about the organization

metadata
object | null

Metadata is useful for storing additional, unstructured information on an object.

Response

200
application/json
Organization Created
organization_id
string
required

The unique identifier for the Organization

Required string length: 1 - 64
modified_at
string
required
created_at
string
required
organization_name
string | null

Name of the Organization

organization_details
object | null

Details about the organization

metadata
object | null

Metadata is useful for storing additional, unstructured information on an object.