---
updatedAt: 2026-05-15T14:34:29.000Z
agentTools:
  projectIndex: https://developer.pay.nl/llms.txt
---

# AuthorisationGroup:Create

Create your custom authorisation group

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "PAY. Global Management System API's",
    "description": "The restful API for interacting with the Pay.",
    "termsOfService": "https://www.pay.nl/en/terms-conditions",
    "contact": {
      "name": "Pay.",
      "url": "https://developer.pay.nl",
      "email": "support@pay.nl"
    },
    "license": {
      "name": "Proprietary",
      "url": "https://www.pay.nl/en/terms-conditions"
    },
    "version": "2"
  },
  "servers": [
    {
      "url": "https://gms.pay.nl",
      "description": "Pay.nl"
    }
  ],
  "paths": {
    "/v2/authorisationgroups": {
      "post": {
        "operationId": "authorisation_group_create_post",
        "tags": [
          "AuthorisationGroup"
        ],
        "responses": {
          "201": {
            "description": "AuthorisationGroup resource created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorisationGroup.AuthorisationGroupOutput"
                }
              },
              "application/vnd.validation+json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorisationGroup.AuthorisationGroupOutput"
                }
              }
            },
            "links": {}
          },
          "400": {
            "description": "Invalid input",
            "content": {
              "application/vnd.validation+json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/vnd.validation+json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "summary": "AuthorisationGroup:Create",
        "description": "Create your custom authorisation group",
        "parameters": [],
        "requestBody": {
          "description": "Create your custom authorisation group",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorisationGroup.AuthorisationGroupInput"
              },
              "examples": {
                "AuthorisationGroup": {
                  "$ref": "#/components/examples/CreateAuthGroupPayload"
                }
              }
            }
          },
          "required": false
        },
        "deprecated": false
      },
      "parameters": [
        {
          "name": "Accept-Language",
          "in": "header",
          "description": "Locales for the following languages are accepted, all others are treated with \"en_GB\" by default.",
          "required": false,
          "deprecated": false,
          "schema": {
            "type": "string",
            "enum": [
              "en_GB",
              "de_DE",
              "es_ES",
              "fr_BE",
              "fr_FR",
              "it_IT",
              "nl_BE",
              "nl_NL",
              "nl",
              "de",
              "en",
              "fr",
              "es",
              "it"
            ]
          },
          "style": "simple",
          "explode": false,
          "examples": {
            "default_locale": {
              "summary": "Query for results in en_GB.",
              "value": "en_GB"
            }
          }
        }
      ]
    }
  },
  "components": {
    "schemas": {
      "AuthorisationGroup.AuthorisationGroupOutput": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "code": {
            "type": "string",
            "description": "The code of the authorisation group.",
            "example": "AG-1234-4321"
          },
          "name": {
            "type": "string",
            "description": "Name of the authorisation group.",
            "example": "Webshop developer"
          },
          "description": {
            "type": "string",
            "description": "Description of the authorisation group.",
            "example": "Authorisation group for Webshop developers"
          },
          "type": {
            "description": "Type of authorisation group. Valid values are right, module, and package. Defaults to right when omitted.",
            "example": {
              "name": "RIGHT",
              "value": "right"
            },
            "type": "string",
            "enum": [
              "package",
              "right",
              "module"
            ]
          },
          "requiredAuthorisationGroup": {
            "description": "AG-code of the authorisation group that is required before this authorisation group can be enabled.",
            "example": "AG-1234-4321",
            "type": [
              "string",
              "null"
            ]
          },
          "linkedProfileCode": {
            "description": "CP-code of the linked company profile.",
            "example": "CP-1234-4312",
            "type": [
              "string",
              "null"
            ]
          },
          "purpose": {
            "$ref": "#/components/schemas/AuthorisationGroup.AuthorisationGroupPurposeOutput"
          },
          "public": {
            "type": "boolean",
            "description": "Indicate if the authorisation group is public.",
            "example": true
          },
          "translations": {
            "type": "object",
            "description": "Object containing translations for the authorisation group fields.",
            "example": {
              "name": {
                "nl_NL": "Webshop ontwikkelaar",
                "en_GB": "Webshop developer"
              },
              "description": {
                "nl_NL": "Autorisatiegroep voor Webshop ontwikkelaars",
                "en_GB": "Authorisation group for Webshop developers"
              }
            }
          },
          "authorisationObjects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthorisationGroup.AuthorisationObjectOutput"
            },
            "description": "Array of authorisation objects linked through the authorisation group.",
            "example": [
              {
                "code": "AO-0000-0001",
                "name": "api"
              },
              {
                "code": "AO-0000-0002",
                "name": "Account management"
              }
            ]
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "The date and time at which this entity was created in ISO-8601 (ATOM) notation",
            "example": "2024-06-04T08:15:00+01:00"
          },
          "createdBy": {
            "type": [
              "string",
              "null"
            ],
            "description": "The reference to an account or token whom created the entity",
            "example": "A-1234-4321"
          },
          "modifiedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "The date and time at which this entity was modified in ISO-8601 (ATOM) notation.",
            "example": "2024-06-04T08:15:00+01:00"
          },
          "modifiedBy": {
            "type": [
              "string",
              "null"
            ],
            "description": "The reference to an account or token whom modified this entity",
            "example": "A-1234-4321"
          },
          "deletedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "The date and time at which this entity was deleted in ISO-8601 (ATOM) notation.",
            "example": "A-1234-4321"
          },
          "deletedBy": {
            "type": [
              "string",
              "null"
            ],
            "description": "The reference to an account or token whom deleted the entity",
            "example": "A-1234-4321"
          },
          "_links": {
            "readOnly": true,
            "type": [
              "array",
              "null"
            ],
            "items": {
              "$ref": "#/components/schemas/LinkOutput"
            }
          }
        }
      },
      "AuthorisationGroup.AuthorisationGroupPurposeOutput": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "account": {
            "type": "boolean",
            "description": "Indicates whether this authorisation group can be assigned to an account.",
            "example": true
          },
          "merchant": {
            "type": "boolean",
            "description": "Indicates whether this authorisation group can be assigned to a merchant.",
            "example": true
          },
          "token": {
            "type": "boolean",
            "description": "Indicates whether this authorisation group can be assigned to an authentication token.",
            "example": false
          },
          "relation": {
            "type": "boolean",
            "description": "Indicates whether this authorisation group can be assigned to a merchant connection.",
            "example": false
          }
        }
      },
      "AuthorisationGroup.AuthorisationObjectOutput": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "code": {
            "type": "string",
            "description": "The unique identifier of the authorisation object.",
            "example": "AO-1234-4321"
          },
          "name": {
            "type": "string",
            "description": "Name of the authorisation object.",
            "example": "Account management"
          },
          "translations": {
            "type": "object",
            "description": "Object containing translations for the authorisation object fields.",
            "example": {
              "name": {
                "nl_NL": "Webshop ontwikkelaar",
                "en_GB": "Webshop developer"
              },
              "description": {
                "nl_NL": "Autorisatiegroep voor Webshop ontwikkelaars",
                "en_GB": "Authorisation group for Webshop developers"
              }
            }
          }
        }
      },
      "LinkOutput": {
        "type": "object",
        "description": "A hyperlink to a related resource.",
        "deprecated": false,
        "properties": {
          "href": {
            "type": [
              "string",
              "null"
            ],
            "description": "The URI to the linked resource"
          },
          "rel": {
            "type": [
              "string",
              "null"
            ],
            "description": "The name of the linked resource"
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "The (http(s)) method needed to approach the linked resource"
          }
        },
        "title": "Link"
      },
      "AuthorisationGroup.AuthorisationGroupInput": {
        "type": "object",
        "description": "Create your custom authorisation group",
        "deprecated": false,
        "required": [
          "name",
          "description",
          "purpose",
          "authorisationRights"
        ],
        "properties": {
          "name": {
            "description": "Name of the authorisation group.",
            "example": "Webshop developer",
            "type": "string"
          },
          "description": {
            "description": "Description of the authorisation group.",
            "example": "Authorisation group for Webshop developers",
            "type": "string"
          },
          "purpose": {
            "$ref": "#/components/schemas/AuthorisationGroup.AuthorisationGroup.AuthorisationGroupPurposeInput"
          },
          "type": {
            "enum": [
              "package",
              "right",
              "module"
            ],
            "description": "Type of authorisation group. Valid values are right, module, and package. Defaults to right when omitted.",
            "example": {
              "name": "RIGHT",
              "value": "right"
            },
            "type": [
              "string",
              "null"
            ]
          },
          "requiredAuthorisationGroup": {
            "pattern": "^(AG(-\\d{4}){2,})$",
            "description": "AG-code of the authorisation group that is required before this authorisation group can be enabled.",
            "example": "AG-1234-4321",
            "type": [
              "string",
              "null"
            ]
          },
          "linkedProfileCode": {
            "pattern": "^(CP(-\\d{4}){2,})$",
            "description": "CP-code of the linked company profile.",
            "example": "CP-1234-4312",
            "type": [
              "string",
              "null"
            ]
          },
          "authorisationRights": {
            "description": "Rights for the authorisation group.",
            "example": [
              "AR-0000-0001",
              "AR-0000-0002"
            ],
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "rates": {
            "description": "Rates linked to this authorisation group.",
            "example": [
              1234
            ],
            "anyOf": [
              {
                "$ref": "#/components/schemas/AuthorisationGroup.AuthorisationGroup.RatesInput"
              },
              {
                "type": "null",
                "title": "null"
              }
            ]
          },
          "translations": {
            "type": "object",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "description": "Object containing translations for the authorisation group fields.",
            "example": {
              "name": {
                "nl_NL": "Webshop ontwikkelaar",
                "en_GB": "Webshop developer"
              },
              "description": {
                "nl_NL": "Autorisatiegroep voor Webshop ontwikkelaars",
                "en_GB": "Authorisation group for Webshop developers"
              }
            }
          }
        }
      },
      "AuthorisationGroup.AuthorisationGroup.AuthorisationGroupPurposeInput": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "account": {
            "type": "boolean"
          },
          "merchant": {
            "type": "boolean"
          },
          "token": {
            "type": "boolean"
          },
          "connection": {
            "type": "boolean"
          }
        }
      },
      "AuthorisationGroup.AuthorisationGroup.RatesInput": {
        "type": "object",
        "description": "",
        "deprecated": false,
        "properties": {
          "activation": {
            "type": [
              "integer",
              "null"
            ]
          },
          "recurring": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      }
    },
    "examples": {
      "CreateAuthGroupPayload": {
        "summary": "Create Authorisation Group",
        "description": "Create Authorisation Group",
        "value": {
          "name": "Finance Group",
          "description": "Group for finance department",
          "purpose": {
            "account": true,
            "merchant": true,
            "token": false,
            "connection": false
          },
          "type": "right",
          "requiredAuthorisationGroup": "AG-1234-4321",
          "linkedProfileCode": "CP-1234-4312",
          "authorisationRights": [
            "AR-0000-0001",
            "AR-0000-0002"
          ],
          "rates": null,
          "translations": {
            "name": {
              "nl_NL": "Webshop ontwikkelaar",
              "en_GB": "Webshop developer"
            },
            "description": {
              "nl_NL": "Autorisatiegroep voor Webshop ontwikkelaars",
              "en_GB": "Authorisation group for Webshop developers"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "BasicAuth": {
        "type": "http",
        "description": "HTTP Basic authentication using your API token as the username and an empty password.",
        "scheme": "basic"
      },
      "BearerAuth": {
        "type": "http",
        "description": "Example: Bearer 12345xx6xxx1x2x123456789123xx123x12345x4",
        "scheme": "bearer"
      }
    }
  },
  "security": [
    {
      "BasicAuth": []
    },
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "AuthorisationGroup",
      "description": "AuthorisationGroup"
    }
  ]
}
```