# Create a file

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/files:
    post:
      summary: Create a file
      deprecated: false
      description: ''
      tags:
        - API Reference/Files
      parameters:
        - name: "file\t"
          in: query
          description: ''
          required: false
          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
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  description: >-
                    A file to upload. The file should follow the specifications
                    of RFC 2388 (which defines file transfers for the
                    multipart/form-data protocol).
                  type: string
                  format: binary
                "purpose\t":
                  description: 'The purpose of the uploaded file. '
                  example: >-
                    dispute_evidence, account_requirement,
                    additional_verification,business_icon, business_logo,
                    customer_signature, dispute_evidence,finance_report_run,
                    identity_document,
                    pci_document,selfie,tax_document_user_upload
                  type: string
              required:
                - file
                - "purpose\t"
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
          x-apifox-name: OK
      security:
        - basic: []
      x-apifox-folder: API Reference/Files
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/1296482/apis/api-44638791-run
components:
  schemas: {}
  securitySchemes:
    basic:
      type: http
      scheme: basic
servers:
  - url: https://apitest.wooshpay.com
    description: 官网测试
security:
  - basic: []

```
