# Create Event

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v0/enkash-coins/create-coins-config:
    post:
      summary: Create Event
      deprecated: false
      description: This API facilitates the creation of Coin Event Configuration
      tags:
        - Rewards & Incentives/APIs - Reward/Point Management
      parameters:
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Cookie
          in: header
          description: ''
          required: true
          example: >-
            _cfuvid=HYP8bzh65tyJdOQA3SszmnkR5ESGtAs.KQDRP5INTTg-1720761030734-0.0.1.1-604800000;
            JSESSIONID=2965781B20AA96A7AA6BF5631B3BBDD8
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                configuration:
                  type: string
                  description: CUSTOM enum
                companyId:
                  type: string
                  description: Company id of the company
                event:
                  type: string
                  description: Event Name
                amount:
                  type: integer
                  description: 'Coins Amount '
              required:
                - configuration
                - companyId
                - event
                - amount
              x-apidog-orders:
                - configuration
                - companyId
                - event
                - amount
            example:
              configuration: DEFAULT
              companyId: CEKEKCARDS
              event: MEAL_CARD_PAYMENT
              amount: 6
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  payload:
                    type: object
                    properties:
                      coinConfigId:
                        type: string
                      configuration:
                        type: string
                      companyId:
                        type: string
                      event:
                        type: string
                      amount:
                        type: integer
                    required:
                      - coinConfigId
                      - configuration
                      - companyId
                      - event
                      - amount
                    x-apidog-orders:
                      - coinConfigId
                      - configuration
                      - companyId
                      - event
                      - amount
                  response_code:
                    type: integer
                  response_message:
                    type: string
                required:
                  - payload
                  - response_code
                  - response_message
                x-apidog-orders:
                  - payload
                  - response_code
                  - response_message
              example:
                payload:
                  coinConfigId: WCC817428
                  configuration: DEFAULT
                  companyId: CEKEKCARDS
                  event: MEAL_CARD_PAYMENT
                  amount: 6
                response_code: 0
                response_message: Success
          headers: {}
          x-apidog-name: Success
      security:
        - bearer: []
      x-apidog-folder: Rewards & Incentives/APIs - Reward/Point Management
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/616243/apis/api-9796915-run
components:
  schemas: {}
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
servers:
  - url: https://ekpayout-uat.enkash.in
    description: Testing Env
security: []

```
