# Retrieve an event

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  "/v1/events/{id\t}":
    get:
      summary: Retrieve an event
      deprecated: false
      description: ''
      tags:
        - API Reference/Events
      parameters:
        - name: id
          in: path
          description: ''
          required: true
          schema:
            type: string
        - name: Accept
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
        - name: Content-Type
          in: header
          description: ''
          required: true
          example: application/json
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                x-apifox-refs:
                  01GJ2TVEZFQYSCQNS6C7FDHYF8:
                    $ref: '#/components/schemas/Event'
                    x-apifox-overrides:
                      pending_webhooks: null
                      account: null
                x-apifox-orders:
                  - 01GJ2TVEZFQYSCQNS6C7FDHYF8
                properties:
                  id:
                    type: string
                    description: Unique identifier for the object, like "evt_xxxx".
                  object:
                    type: string
                    description: '"event"'
                  api_version:
                    type: string
                    description: The API version used to render data.
                  created:
                    type: integer
                    description: >-
                      Time at which the object was created. Measured in seconds
                      since the Unix epoch.
                  data:
                    type: object
                    properties: {}
                    x-apifox-orders: []
                    description: Object containing data associated with the event.
                    x-apifox-ignore-properties: []
                  livemode:
                    type: boolean
                    description: >-
                      Has the value true if the object exists in live mode or
                      the value false if the object exists in test mode.
                  request:
                    type: object
                    properties:
                      id:
                        type: string
                        description: >-
                          ID of the API request that caused the event. If null,
                          the event was automatic
                      idempotency_key:
                        type: string
                        description: >-
                          The idempotency key transmitted during the request, if
                          any. 
                    x-apifox-orders:
                      - id
                      - idempotency_key
                    description: >-
                      Information on the API request that instigated the event.
                      request.id (string) ID of the API request that caused the
                      event. If null, the event was automatic
                      request.idempotency_key (string). The idempotency key
                      transmitted during the request, if any.
                    x-apifox-ignore-properties: []
                  type:
                    type: string
                    description: Description of the event.
                x-apifox-ignore-properties:
                  - id
                  - object
                  - api_version
                  - created
                  - data
                  - livemode
                  - request
                  - type
              example:
                id: evt_1593219809108033536
                object: event
                created: 1668688178000
                data:
                  object:
                    id: dp_1585839983195983872
                    object: dispute
                    created: 1666928687870
                    amount: 66
                    currency: USD
                    status: lost
                    livemode: false
                    metadata:
                      card_scheme: VISA
                      card_number: 411111********1111
                      orig_transaction_amount: '10'
                      partial_ind: 'no'
                      orig_transaction_currency: USD
                      work_by_date: '1667059200000'
                      arn: '232323232323'
                      orig_transaction_date: '1666928646000'
                    evidence:
                      created: 1666928739358
                      receipt: ''
                      access_activity_log: ''
                      billing_address: 'null '
                      cancellation_policy: ''
                      duplicate_charge_documentation: null
                      cancellation_policy_disclosure: ''
                      cancellation_rebuttal: null
                      customer_communication: ''
                      customer_email_address: ''
                      customer_name: null
                      customer_purchase_ip: ''
                      customer_signature: ''
                      product_description: ''
                      refund_policy: ''
                      refund_policy_disclosure: ''
                      refund_refusal_explanation: ''
                      service_date: null
                      service_documentation: ''
                      shipping_address: 'null '
                      shipping_carrier: ''
                      shipping_date: null
                      shipping_documentation: ''
                      shipping_tracking_number: ''
                      uncategorized_file: '["1516963849268363264"]'
                      uncategorized_text: ''
                      livemode: false
                    payment_intent: pi_1585839797425930240
                    reason_type: Fraud
                    reason_description: Visa Fraud Monitoring Program
                    reason_code: '10.5'
                    evidence_details:
                      has_evidence: true
                      past_due: false
                      submission_count: 1
                      due_by: 1667059200000
                type: charge.dispute.closed
                request: null
                livemode: false
          headers: {}
          x-apifox-name: OK
      security:
        - basic: []
      x-apifox-folder: API Reference/Events
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/1296482/apis/api-49996644-run
components:
  schemas:
    Event:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the object, like "evt_xxxx".
        object:
          type: string
          description: '"event"'
        api_version:
          type: string
          description: The API version used to render data.
        created:
          type: integer
          description: >-
            Time at which the object was created. Measured in seconds since the
            Unix epoch.
        data:
          type: object
          properties: {}
          x-apifox-orders: []
          description: Object containing data associated with the event.
          x-apifox-ignore-properties: []
        livemode:
          type: boolean
          description: >-
            Has the value true if the object exists in live mode or the value
            false if the object exists in test mode.
        pending_webhooks:
          type: integer
          description: >-
            (未实现) Number of webhooks that have yet to be successfully delivered
            (i.e., to return a 20x response) to the URLs you’ve specified.
        request:
          type: object
          properties:
            id:
              type: string
              description: >-
                ID of the API request that caused the event. If null, the event
                was automatic
            idempotency_key:
              type: string
              description: 'The idempotency key transmitted during the request, if any. '
          x-apifox-orders:
            - id
            - idempotency_key
          description: >-
            Information on the API request that instigated the event. request.id
            (string) ID of the API request that caused the event. If null, the
            event was automatic request.idempotency_key (string). The
            idempotency key transmitted during the request, if any.
          x-apifox-ignore-properties: []
        type:
          type: string
          description: Description of the event.
        account:
          type: string
          description: (未实现) The connected account that originated the event.
      x-apifox-orders:
        - id
        - object
        - api_version
        - created
        - data
        - livemode
        - pending_webhooks
        - request
        - type
        - account
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes:
    basic:
      type: http
      scheme: basic
servers:
  - url: https://apitest.wooshpay.com
    description: 官网测试
security:
  - basic: []

```
