https://cssmart.cabinet-expertcomptable.com/api/admin/user_csbs?itemsPerPage=100&page=1&statusValidation=CANCELED

App\Entity\Csb\UserCsb Resource class

Resource Metadata

Short name: "UserCsb"

Item operations Attributes
get
[
  "controller" => "ApiPlatform\Core\Action\NotFoundAction"
  "read" => [
    "false"
  ]
  "output" => [
    "false"
  ]
  "openapi_context" => [
    "summary" => "hiddenGet"
  ]
  "input" => null
  "method" => "GET"
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_user_csb_item
[
  "normalization_context" => [
    "groups" => [
      "admin:read"
      "kyb:read"
      "kyc:read"
    ]
  ]
  "method" => "GET"
  "path" => "/admin/user_csbs/{id}"
  "requirements" => [
    "id" => "\d+"
  ]
  "controller" => "AdminReadUserCsb::class"
  "read" => [
    "true"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "description" => "Retrieve UserCsb entity by id."
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb resource."
      ]
      401 => [
        "description" => "JWT Token not found **(CSB JWT)**."
      ]
      403 => [
        "description" => "Access Denied."
      ]
      404 => [
        "description" => "Resource not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_treezor_request_user
[
  "denormalization_context" => [
    "groups" => [
      "kyb:write"
      "kyc:write"
    ]
  ]
  "method" => "PUT"
  "path" => "/admin/treezor/user/{id}/kycreview"
  "controller" => "RequestReviewTreezorUserController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "launch request a review process."
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "schema" => [
          "type" => "integer"
        ]
        "allowEmptyValue" => false
        "required" => true
        "description" => "UserCsb id."
      ]
    ]
    "requestBody" => [
      "description" => ""
      "content" => []
      "required" => false
    ]
    "responses" => [
      200 => [
        "description" => "Request Review launched."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_update_user_id
[
  "denormalization_context" => [
    "groups" => [
      "admin:write"
    ]
  ]
  "method" => "PUT"
  "path" => "/admin/account/{id}/update"
  "controller" => "UpdateUserCsb::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Admin update data for all userCsb types [ KYB | KYC_L | KYC_S | KYC_E ]"
    "description" => "- With this endpoint admin can update data for all userCsb types [ KYB | KYC_L | KYC_S | KYC_E ] in same time, you can also partial update the user !\n"
    "requestBody" => [
      "required" => true
      "content" => [
        "application/json" => [
          "schema" => [
            "type" => "object"
            "properties" => [
              "legalName" => [
                "type" => "string"
                "min" => 10
                "max" => 255
                "description" => "Legal business name."
              ]
              "legalRegistrationNumber" => [
                "type" => "string"
                "max" => 255
                "description" => "Business registration number."
              ]
              "legalRegistrationDate" => [
                "type" => "string"
                "max" => 255
                "description" => "Business registration date."
              ]
              "legalForm" => [
                "type" => "string"
                "max" => 255
                "description" => "Business legal form."
              ]
              "legalShareCapital" => [
                "type" => "integer"
                "description" => "Business shared capital."
              ]
              "address1" => [
                "type" => "string"
                "max" => 255
                "description" => "User's postal address (main). Can not contain carriage return."
              ]
              "postcode" => [
                "type" => "string"
                "max" => 255
                "description" => "User's postcode."
              ]
              "city" => [
                "type" => "string"
                "max" => 255
                "description" => "User's city."
              ]
              "country" => [
                "type" => "string"
                "max" => 255
                "description" => "User's country (Format ISO 3166-1 alpha-2)."
              ]
              "phone" => [
                "type" => "string"
                "max" => 255
                "description" => "User's phone number (Format E.164). If you use Url please replace + with %2B."
              ]
              "legalNumberOfEmployeeRange" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  - Business number of employees range.\n
                  - Available values : 0, 1-9, 10-99, 100-249, 250-*.\n
                  """
              ]
              "legalSector" => [
                "type" => "string"
                "max" => 255
                "description" => "Business sector. NAF code in France."
              ]
              "legalTvaNumber" => [
                "type" => "string"
                "max" => 255
                "description" => "Business VAT number."
              ]
              "legalAnnualTurnOver" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  - Business annual turnover (in k€).\n
                  - Available values : 0-39, 40-99, 100-249, 250-999, 1000-2999, 3000-9999, 10000-99999, 100000-*\n
                  """
              ]
              "legalNetIncomeRange" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  - Business net income range (in k€).\n
                  - Available values : 0, 1-9, 10-99, 100-249, 250-*\n
                  """
              ]
              "title" => [
                "type" => "string"
                "max" => 255
                "description" => "User's title, possible values : [M,MME,MLLE]"
              ]
              "lastname" => [
                "type" => "string"
                "max" => 255
                "description" => "User's last name."
              ]
              "firstname" => [
                "type" => "string"
                "max" => 255
                "description" => "User's first name."
              ]
              "birthday" => [
                "type" => "string"
                "max" => 255
                "description" => "User's birth date. Format YYYY-MM-DD"
              ]
              "placeOfBirth" => [
                "type" => "string"
                "max" => 255
                "description" => "User's place of birth"
              ]
              "birthCountry" => [
                "type" => "string"
                "max" => 255
                "description" => "User's country of birth (Format ISO 3166-1 alpha-2)"
              ]
              "nationality" => [
                "type" => "string"
                "max" => 255
                "description" => "User's nationality"
              ]
              "mobile" => [
                "type" => "string"
                "max" => 255
                "description" => "--"
              ]
              "specifiedUSPerson" => [
                "type" => "string"
                "max" => 255
                "description" => "Have US nationality or citizenship?"
              ]
              "occupation" => [
                "type" => "string"
                "max" => 255
                "description" => "User's occupation"
              ]
              "incomeRange" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  \n
                  - Customer income range\n
                  - Available values : 0-18, 19-23, 24-27, 28-35, 36-56, 57-*\n
                  """
              ]
              "personalAssets" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  \n
                  - User's personal assets range expired in K€.\n
                  - Available values : 0-2, 3-22, 23-128, 129-319, 320-464, 465-\n
                  """
              ]
            ]
            "example" => [
              "legalName" => "An Awesome Company"
              "legalRegistrationNumber" => "42877171100028"
              "legalRegistrationDate" => "2007-10-24"
              "legalForm" => "1000"
              "legalShareCapital" => 1000
              "address1" => "99 rue de test"
              "postcode" => "75001"
              "city" => "Paris"
              "country" => "FR"
              "phone" => "+33102030405"
              "legalNumberOfEmployeeRange" => "100-249"
              "legalSector" => "5215A"
              "legalTvaNumber" => "FR27807465059"
              "legalAnnualTurnOver" => "100-249"
              "legalNetIncomeRange" => "50-149"
              "title" => "M"
              "firstname" => "John"
              "lastname" => "Smith"
              "birthday" => "1982-05-31"
              "placeOfBirth" => "FR"
              "placebirthCountry" => ""
              "nationality" => "FR"
              "mobile" => "+33102030405"
              "specifiedUSPerson" => 0
              "occupation" => ""
              "incomeRange" => "0-18"
              "personalAssets" => ""
            ]
          ]
        ]
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb updated successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_freeze_user
[
  "denormalization_context" => [
    "groups" => [
      "admin:write"
    ]
  ]
  "method" => "PUT"
  "path" => "/admin/user/{id}/freeze"
  "controller" => "UpdateUserCsb::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Admin freez/unfreez a userCsb."
    "description" => "Admin freez/unfreez a userCsb."
    "requestBody" => [
      "required" => true
      "content" => [
        "application/json" => [
          "schema" => [
            "type" => "object"
            "properties" => [
              "isFreezed" => [
                "type" => "boolean"
                "description" => "Boolean 1 => freezed | 0 => unfreezed"
              ]
              "comment" => [
                "type" => "string"
                "description" => "Mandatory comment explaining the reason for freezing / unfreezing"
              ]
            ]
          ]
        ]
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb updated successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_treezor_freeze_user
[
  "denormalization_context" => [
    "groups" => [
      "admin:write"
    ]
  ]
  "method" => "PUT"
  "path" => "/admin/treezor/user/{id}/freeze"
  "controller" => "UpdateUserCsb::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Admin freez/unfreez a userCsb on Treezor Api."
    "description" => "Admin freez/unfreez a userCsb on Treezor Api."
    "requestBody" => [
      "required" => true
      "content" => [
        "application/json" => [
          "schema" => [
            "type" => "object"
            "properties" => [
              "isFreezed" => [
                "type" => "boolean"
                "description" => "Boolean 1 => freezed | 0 => unfreezed"
              ]
              "comment" => [
                "type" => "string"
                "description" => "Mandatory comment explaining the reason for freezing / unfreezing"
              ]
            ]
          ]
        ]
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb updated successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_block_user
[
  "denormalization_context" => [
    "groups" => [
      "admin:write"
    ]
  ]
  "method" => "PUT"
  "path" => "/admin/user/{id}/block"
  "controller" => "UpdateUserCsb::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Admin block/unblock a userCsb."
    "description" => "Admin block/unblock a userCsb."
    "requestBody" => [
      "required" => true
      "content" => [
        "application/json" => [
          "schema" => [
            "type" => "object"
            "properties" => [
              "isBlocked" => [
                "type" => "boolean"
                "description" => "Boolean 1 => blocked | 0 => unblocked"
              ]
              "comment" => [
                "type" => "string"
                "description" => "Mandatory comment explaining the reason for block / unblock"
              ]
            ]
          ]
        ]
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb updated successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
Collection operations Attributes
get
[
  "controller" => "ApiPlatform\Core\Action\NotFoundAction"
  "read" => [
    "false"
  ]
  "output" => [
    "false"
  ]
  "openapi_context" => [
    "summary" => "hiddenGet"
  ]
  "input" => null
  "method" => "GET"
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_user_csb_collection
[
  "normalization_context" => [
    "groups" => [
      "user:read"
    ]
  ]
  "method" => "GET"
  "path" => "/user_csbs"
  "filters" => [
    "user.search_filter"
    "user.order_filter"
  ]
  "openapi_context" => [
    "description" => "Retrieve the collection of UserCsb entity."
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb resource."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      403 => [
        "description" => "Access Denied."
      ]
      404 => [
        "description" => "Resource not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_user_csb_collection
[
  "normalization_context" => [
    "groups" => [
      "admin:read"
      "admin:read:account:status"
    ]
  ]
  "method" => "GET"
  "path" => "/admin/user_csbs"
  "filters" => [
    "usercsb.search_filter"
    "usercsb.date_filter"
    "usercsb.order_filter"
    "usercsb.range_filter"
  ]
  "openapi_context" => [
    "description" => "Retrieve the collection of UserCsb entity."
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb resource."
      ]
      401 => [
        "description" => "JWT Token not found **(CSB JWT)**."
      ]
      403 => [
        "description" => "Access Denied."
      ]
      404 => [
        "description" => "Resource not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "output" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_treezor_user_add
[
  "denormalization_context" => [
    "groups" => [
      "kyb:write"
      "kyc:write"
    ]
  ]
  "controller" => "CrudTreezorUserController::class"
  "path" => "/admin/treezor/user/{id}/add"
  "method" => "POST"
  "requirements" => [
    "id" => "\d+"
  ]
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Create the given UserCsb by id an Treezor App."
    "description" => "With this endpoint you send a create user request to Treezor App.\n"
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "schema" => [
          "type" => "integer"
        ]
        "required" => true
        "description" => "UserCsb id."
      ]
    ]
    "requestBody" => [
      "required" => false
      "content" => []
    ]
    "responses" => [
      201 => [
        "description" => "UserCsb created on Treezor Api successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found **(CSB JWT)**."
      ]
      403 => [
        "description" => "Access Denied."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_update_user_csb
[
  "denormalization_context" => [
    "groups" => [
      "kyb:write"
      "kyc:write"
    ]
  ]
  "method" => "PUT"
  "path" => "/account/update"
  "controller" => "UpdateCsbDataController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Update data for all userCsb types [ KYB | KYC_L | KYC_S | KYC_E ]"
    "description" => """
      - With this endpoint you can update data for all userCsb types [ KYB | KYC_L | KYC_S | KYC_E ] in same time, you can also partial update the user !\n
      - Only connected [ KYB | KYC_L | KYC_S | KYC_E ] can update his data.\n
      - Mandatory parameters - KYB ( required for validation ) :\n
      \n
            - legalName : name of the company.\n
      \n
            - legalRegistrationNumber : SIREN/SIRET.\n
      \n
            - legalRegistrationDate : format "yyyy-mm-dd".\n
      \n
            - legalForm : A string, see https://docs.treezor.com/guide/users/corporations.html#legal-forms-legalform.\n
      \n
            - legalShareCapital : Business shared capital.\n
      \n
            - address1 : postal address of the user.\n
      \n
            - postcode : User's postcode.\n
      \n
            - city : User's city.\n
      \n
            - country : User's country (Format ISO 3166-1 alpha-2).\n
      \n
            - phone : User's phone number (Format E.164). If you use Url please replace + with %2B.\n
      \n
            - legalNumberOfEmployeeRange :\n
      \n
                    - Business number of employees range.\n
      \n
                    - Available values : 0, 1-9, 10-99, 100-249, 250-*.\n
      \n
                    - see https://docs.treezor.com/guide/users/corporations.html#legal-number-of-employee-legalnumberofemployeerange.\n
      \n
            - legalSector :\n
      \n
                    - Business sector. NAF code in France.\n
      \n
                    - When set, this must be a valid NAF code composed of four numbers and ending with a capital (0000A).\n
      \n
            - legalTvaNumber : Business VAT number.\n
      \n
            - legalAnnualTurnOver :\n
      \n
                    - Business annual turnover (in k€).\n
      \n
                    - Available values : 0-39, 40-99, 100-249, 250-999, 1000-2999, 3000-9999, 10000-99999, 100000-*\n
      \n
                    - see https://docs.treezor.com/guide/users/corporations.html#legal-annual-turn-over-legalannualturnover.\n
      \n
            - legalNetIncomeRange :\n
      \n
                    - Business net income range (in k€).\n
      \n
                    - Available values : 0, 1-9, 10-99, 100-249, 250-*\n
      \n
                    - see https://docs.treezor.com/guide/users/corporations.html#legal-net-income-range-legalnetincomerange\n
      - Mandatory parameters - KYC ( required for validation ) :\n
      \n
            - title : User's title, possible values : [M,MME,MLLE]\n
      \n
            - lastname : User's last name\n
      \n
            - firstname :\n
      \n
            - birthday : User's birth date. Format YYYY-MM-DD\n
      \n
            - placeOfBirth : User's place of birth\n
      \n
            - placebirthCountry :\n
      \n
            - nationality : User's nationality.\n
      \n
            - phone or mobile: User's phone number (Format E.164). If you use Url please replace + with %2B.\n
      \n
            - address1 : postal address of the user.\n
      \n
            - postcode : User's postcode.\n
      \n
            - city : User's city.\n
      \n
            - country : User's country (Format ISO 3166-1 alpha-2).\n
      \n
            - specifiedUSPerson : Have US nationality or citizenship?\n
      \n
            - occupation : User's occupation\n
      \n
            - incomeRange :\n
      \n
                - Customer income range\n
      \n
                - Available values : 0-18, 19-23, 24-27, 28-35, 36-56, 57-*\n
      \n
            - personalAssets :\n
      """
    "requestBody" => [
      "required" => true
      "content" => [
        "application/json" => [
          "schema" => [
            "type" => "object"
            "properties" => [
              "legalName" => [
                "type" => "string"
                "min" => 10
                "max" => 255
                "description" => "Legal business name."
              ]
              "legalRegistrationNumber" => [
                "type" => "string"
                "max" => 255
                "description" => "Business registration number."
              ]
              "legalRegistrationDate" => [
                "type" => "string"
                "max" => 255
                "description" => "Business registration date."
              ]
              "legalForm" => [
                "type" => "string"
                "max" => 255
                "description" => "Business legal form."
              ]
              "legalShareCapital" => [
                "type" => "integer"
                "description" => "Business shared capital."
              ]
              "address1" => [
                "type" => "string"
                "max" => 255
                "description" => "User's postal address (main). Can not contain carriage return."
              ]
              "postcode" => [
                "type" => "string"
                "max" => 255
                "description" => "User's postcode."
              ]
              "city" => [
                "type" => "string"
                "max" => 255
                "description" => "User's city."
              ]
              "country" => [
                "type" => "string"
                "max" => 255
                "description" => "User's country (Format ISO 3166-1 alpha-2)."
              ]
              "phone" => [
                "type" => "string"
                "max" => 255
                "description" => "User's phone number (Format E.164). If you use Url please replace + with %2B."
              ]
              "legalNumberOfEmployeeRange" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  - Business number of employees range.\n
                  - Available values : 0, 1-9, 10-99, 100-249, 250-*.\n
                  """
              ]
              "legalSector" => [
                "type" => "string"
                "max" => 255
                "description" => "Business sector. NAF code in France."
              ]
              "legalTvaNumber" => [
                "type" => "string"
                "max" => 255
                "description" => "Business VAT number."
              ]
              "legalAnnualTurnOver" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  - Business annual turnover (in k€).\n
                  - Available values : 0-39, 40-99, 100-249, 250-999, 1000-2999, 3000-9999, 10000-99999, 100000-*\n
                  """
              ]
              "legalNetIncomeRange" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  - Business net income range (in k€).\n
                  - Available values : 0, 1-9, 10-99, 100-249, 250-*\n
                  """
              ]
              "title" => [
                "type" => "string"
                "max" => 255
                "description" => "User's title, possible values : [M,MME,MLLE]"
              ]
              "lastname" => [
                "type" => "string"
                "max" => 255
                "description" => "User's last name."
              ]
              "firstname" => [
                "type" => "string"
                "max" => 255
                "description" => "User's first name."
              ]
              "birthday" => [
                "type" => "string"
                "max" => 255
                "description" => "User's birth date. Format YYYY-MM-DD"
              ]
              "placeOfBirth" => [
                "type" => "string"
                "max" => 255
                "description" => "User's place of birth"
              ]
              "birthCountry" => [
                "type" => "string"
                "max" => 255
                "description" => "User's country of birth (Format ISO 3166-1 alpha-2)"
              ]
              "nationality" => [
                "type" => "string"
                "max" => 255
                "description" => "User's nationality"
              ]
              "mobile" => [
                "type" => "string"
                "max" => 255
                "description" => "--"
              ]
              "specifiedUSPerson" => [
                "type" => "string"
                "max" => 255
                "description" => "Have US nationality or citizenship?"
              ]
              "occupation" => [
                "type" => "string"
                "max" => 255
                "description" => "User's occupation"
              ]
              "incomeRange" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  \n
                  - Customer income range\n
                  - Available values : 0-18, 19-23, 24-27, 28-35, 36-56, 57-*\n
                  """
              ]
              "personalAssets" => [
                "type" => "string"
                "max" => 255
                "description" => """
                  \n
                  - User's personal assets range expired in K€.\n
                  - Available values : 0-2, 3-22, 23-128, 129-319, 320-464, 465-\n
                  """
              ]
            ]
            "example" => [
              "legalName" => "An Awesome Company"
              "legalRegistrationNumber" => "42877171100028"
              "legalRegistrationDate" => "2007-10-24"
              "legalForm" => "1000"
              "legalShareCapital" => 1000
              "address1" => "99 rue de test"
              "postcode" => "75001"
              "city" => "Paris"
              "country" => "FR"
              "phone" => "+33102030405"
              "legalNumberOfEmployeeRange" => "100-249"
              "legalSector" => "5215A"
              "legalTvaNumber" => "FR27807465059"
              "legalAnnualTurnOver" => "100-249"
              "legalNetIncomeRange" => "50-149"
              "title" => "M"
              "firstname" => "John"
              "lastname" => "Smith"
              "birthday" => "1982-05-31"
              "placeOfBirth" => "FR"
              "placebirthCountry" => ""
              "nationality" => "FR"
              "mobile" => "+33102030405"
              "specifiedUSPerson" => 0
              "occupation" => ""
              "incomeRange" => "0-18"
              "personalAssets" => ""
            ]
          ]
        ]
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb updated successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_validate_user_csb
[
  "denormalization_context" => [
    "groups" => [
      "admin:read"
    ]
  ]
  "method" => "POST"
  "path" => "/admin/usercsb/{id}/validate"
  "controller" => "ValidateCsbDataController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Validate data for  userCsb types [ KYB ]"
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "schema" => [
          "type" => "integer"
        ]
        "allowEmptyValue" => false
        "required" => true
        "description" => "UserCsb id."
      ]
    ]
    "requestBody" => [
      "required" => false
      "content" => [
        "application/json" => null
      ]
    ]
    "responses" => [
      200 => [
        "description" => "UserCsb validated successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_mobile_activation
[
  "method" => "POST"
  "path" => "/admin/usercsb/{id}/mobile-account/activation"
  "controller" => "ValidateCsbDataController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Create a random access code for a userCsb account, and send credentials by email."
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "schema" => [
          "type" => "integer"
        ]
        "allowEmptyValue" => false
        "required" => true
        "description" => "UserCsb id."
      ]
    ]
    "requestBody" => [
      "required" => false
      "content" => []
    ]
    "responses" => [
      201 => [
        "description" => "Create a random access code for a userCsb account, and send credentials by email."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
userCsb_cancel_account
[
  "denormalization_context" => [
    "groups" => [
      "kyb:write"
      "kyc:write"
    ]
  ]
  "method" => "DELETE"
  "path" => "/account/cancel"
  "controller" => "UpdateCsbDataController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "cancel UserCsb account."
    "description" => """
      - Cancel a UserCsb account by setting status to 'CANCEL'.\n
      - No parameters needed in the body request.\n
      """
    "responses" => [
      200 => [
        "description" => "UserCsb canceled successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      406 => [
        "description" => "Cannot canceled UserCsb ( not acceptable ), refer to the request cancel UserCsb endpoint."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_add_kyc
[
  "denormalization_context" => [
    "groups" => [
      "kyb:write"
    ]
  ]
  "method" => "POST"
  "path" => "/account/kyc/add"
  "controller" => "CreateKycUserController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Create a [ Legal | Shareholder | Emplyee ] Kyc account for the connected Kyb account."
    "description" => """
      Just create a new blanc Kyc account.\n
      - **Legal** => account = 3\n
      \n
      - **Shareholder** => account = 4\n
      \n
      - **Employee** => account = 5\n
      """
    "requestBody" => [
      "required" => true
      "content" => [
        "application/json" => [
          "schema" => [
            "type" => "object"
            "properties" => [
              "email" => [
                "type" => "string"
                "max" => 255
                "description" => "Email address."
                "exemple" => "kyc_legal@exemple.fr"
              ]
              "account" => [
                "type" => "integer"
                "exemple" => 2
                "description" => """
                  Account type [ 3 | 4 | 5 ] -3 = Legal\n
                  -4 = Shareholder\n
                  -5 = Employee\n
                  """
              ]
            ]
          ]
        ]
      ]
    ]
    "responses" => [
      201 => [
        "description" => "KYC [ Legal | Shareholder | Emplyee ] user created successfully."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      403 => [
        "description" => "Access Denied."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_userips
[
  "denormalization_context" => [
    "groups" => [
      "UserIps:read"
    ]
  ]
  "method" => "GET"
  "path" => "/admin/{id}/userips"
  "controller" => "AdminReadUserCsb::class"
  "read" => [
    "true"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "schema" => [
          "type" => "integer"
        ]
        "allowEmptyValue" => false
        "required" => true
        "description" => "UserCsb id."
      ]
    ]
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "User connexion History"
    "description" => "get all History\n"
    "responses" => [
      200 => [
        "description" => "UserIps resource."
      ]
      401 => [
        "description" => "JWT Token not found **(CSB JWT)**."
      ]
      403 => [
        "description" => "Access Denied."
      ]
      404 => [
        "description" => "Resource not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_user_cancel
[
  "denormalization_context" => [
    "groups" => [
      "cancel:read"
      "cancel:write"
    ]
  ]
  "method" => "DELETE"
  "path" => "/admin/user/{id}/cancel"
  "requirements" => [
    "id" => "\d+"
  ]
  "controller" => "CrudTreezorUserController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Cancel UserCsb account and sending a cancel request to Treezor api."
    "description" => "With this endpoint you can cancel user csb & auth. account, user cannot auth. on the app, at the same time a cancel request is send to Treezor api, entity value will be updated from the response request or from the cancel user webhook next time !\n"
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "schema" => [
          "type" => "integer"
        ]
        "required" => true
        "description" => "UserCsb id."
      ]
    ]
    "requestBody" => [
      "required" => false
      "content" => []
    ]
    "responses" => [
      201 => [
        "description" => "Cancel the selected user account and send cancel request to Treezor"
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      403 => [
        "description" => "Access Denied."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_account_me
[
  "method" => "GET"
  "path" => "/account/me"
  "controller" => "UpdateCsbDataController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "pagination_enabled" => false
  "openapi_context" => [
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "summary" => "Retrieve the current auth user information for mobile side."
    "description" => "Retrieve the current auth user information for mobile side."
    "responses" => [
      200 => [
        "description" => "return current auth user inforamtion."
      ]
      400 => [
        "description" => "Bad request."
      ]
      401 => [
        "description" => "JWT Token not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
api_admin_user_request_cancel_collection
[
  "method" => "GET"
  "path" => "/admin/user/{id}/user-cancel-requests"
  "requirements" => [
    "id" => "\d+"
  ]
  "controller" => "UserRequestCancelController::class"
  "read" => [
    "false"
  ]
  "output" => [
    "true"
  ]
  "openapi_context" => [
    "summary" => "Retrieve the user cancel request collection for the givent userCsb Id."
    "description" => "Retrieve the user cancel request collection for the givent userCsb Id."
    "security" => [
      [
        "bearerAuth" => null
      ]
    ]
    "parameters" => [
      [
        "in" => "path"
        "name" => "id"
        "schema" => [
          "type" => "integer"
        ]
        "allowEmptyValue" => false
        "required" => true
        "description" => "UserCsb Id."
      ]
    ]
    "responses" => [
      200 => [
        "description" => "Document collection."
      ]
      401 => [
        "description" => "JWT Token not found **(CSB JWT)** | Not authorized."
      ]
      404 => [
        "description" => "Resource not found."
      ]
      "5XX" => [
        "description" => "Unexpected error."
      ]
    ]
  ]
  "input" => null
  "stateless" => null
  "input_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
  "output_formats" => [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
    "html" => [
      "text/html"
    ]
  ]
]
Filters
No available filter declared for this resource.
Attributes
pagination_client_items_per_page
true
pagination_items_per_page
10
input
null
output
null

Data Providers

No calls to collection data provider have been recorded.

No calls to item data provider have been recorded.

No calls to subresource data provider have been recorded.

Data Persisters

No calls to data persister have been recorded.