> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fint.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Crear tickets manualmente (Admin)

> Crear tickets de evento manualmente con información del comprador y asistentes. Este endpoint permite a los administradores crear tickets sin pasar por el proceso de checkout normal.



## OpenAPI

````yaml post /event/checkout/ticket
openapi: 3.0.0
info:
  version: 1.0.0
  title: Fint API
  description: Fint API
servers:
  - url: https://api.fint.app/api/v1
    variables: {}
security: []
paths:
  /event/checkout/ticket:
    post:
      tags:
        - Eventos
      summary: Crear tickets manualmente (Admin)
      description: >-
        Crear tickets de evento manualmente con información del comprador y
        asistentes. Este endpoint permite a los administradores crear tickets
        sin pasar por el proceso de checkout normal.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                pageId:
                  type: number
                items:
                  type: array
                  items:
                    type: object
                    properties:
                      itemId:
                        type: number
                      quantity:
                        type: number
                        minimum: 1
                    required:
                      - itemId
                      - quantity
                itemGroups:
                  type: array
                  items:
                    type: object
                    properties:
                      itemGroupId:
                        type: number
                      selectedItems:
                        type: array
                        items:
                          type: object
                          properties:
                            itemId:
                              type: number
                            quantity:
                              type: number
                              minimum: 1
                          required:
                            - itemId
                            - quantity
                    required:
                      - itemGroupId
                      - selectedItems
                buyer:
                  type: object
                  properties:
                    name:
                      type: string
                    lastName:
                      type: string
                    documentType:
                      type: string
                      enum:
                        - DNI
                        - CUIT
                        - CUIL
                        - CDI
                        - LE
                        - LC
                        - CI Extranjera
                        - Pasaporte
                        - CI Policía Federal
                        - Certificado de Migración
                        - RUT
                        - Otro
                    documentNumber:
                      type: string
                    email:
                      type: string
                      format: email
                    phoneNumber:
                      type: string
                    address:
                      type: string
                    country:
                      type: string
                  required:
                    - name
                    - lastName
                tickets:
                  type: array
                  items:
                    type: object
                    properties:
                      firstName:
                        type: string
                      lastName:
                        type: string
                      document:
                        type: string
                      email:
                        type: string
                      customFieldResponses:
                        type: array
                        items:
                          type: object
                          properties:
                            customFieldId:
                              type: number
                            value:
                              type: string
                          required:
                            - customFieldId
                            - value
                      itemId:
                        type: number
                      itemGroupId:
                        type: number
                      groupInstanceId:
                        type: string
                        description: >-
                          Unique ID to identify multiple instances of the same
                          item group in a single purchase
                    required:
                      - email
                      - itemId
                pageCustomFieldResponses:
                  type: array
                  items:
                    type: object
                    properties:
                      customFieldId:
                        type: number
                      value:
                        type: string
                    required:
                      - customFieldId
                      - value
                adminNotes:
                  type: string
                totalAmount:
                  type: number
                paymentMethod:
                  type: string
                  enum:
                    - DEBIT_CARD
                    - CREDIT_CARD
                    - DIRECT_DEBIT
                    - CARD
                    - PAGO_FACIL
                    - RAPI_PAGO
                    - PAGO_MIS_CUENTAS
                    - LINK_PAGO
                    - TRANSFER
                    - CASH
                    - MERCADO_PAGO
                    - MERCADO_PAGO_POINT
                    - SIRO
                paymentDate:
                  type: string
                  nullable: true
              required:
                - pageId
                - buyer
                - tickets
                - totalAmount
                - paymentMethod
              example:
                pageId: 1
                items:
                  - itemId: 10
                    quantity: 2
                buyer:
                  name: Juan
                  lastName: Pérez
                  documentType: DNI
                  documentNumber: '12345678'
                  email: juan.perez@example.com
                  phoneNumber: '+5491123456789'
                  address: Calle Falsa 123
                  country: Argentina
                tickets:
                  - firstName: Juan
                    lastName: Pérez
                    document: '12345678'
                    email: juan.perez@example.com
                    itemId: 10
                    customFieldResponses:
                      - customFieldId: 1
                        value: Vegetariano
                  - firstName: María
                    lastName: González
                    document: '87654321'
                    email: maria.gonzalez@example.com
                    itemId: 10
                    customFieldResponses:
                      - customFieldId: 1
                        value: Sin restricciones
                totalAmount: 5000
                paymentMethod: CASH
                adminNotes: Tickets creados manualmente por el administrador
      responses:
        '201':
          description: Tickets creados exitosamente
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  purchase:
                    type: object
                    properties:
                      id:
                        type: number
                      reference:
                        type: string
                    required:
                      - id
                      - reference
                required:
                  - success
                  - purchase
        '400':
          description: Datos de entrada inválidos o error en la creación
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  errors:
                    type: array
                    items:
                      type: string
                required:
                  - message
        '404':
          description: Página de evento no encontrada
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                required:
                  - message
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````