DogPay File Management API

The File Management API from DogPay — 3 operation(s) for file management.

GitHub OpenAPI

Operations 3

POST /open-api/v1/file/upload Upload file #
POST /open-api/v1/file/upload/deposit-attachment Upload deposit attachment #
POST /open-api/v1/file/upload/va/legal-person Upload person file #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dogpay-com:dogpay-com-file-management-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dogpay-com-file-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Baas File Management API
  description: ''
  version: 1.0.0
  contact: {}
servers:
- url: https://sandbox-api-v2.dogpay.com
  description: Sandbox
security:
- bearer: []
tags:
- name: File Management
paths:
  /open-api/v1/file/upload:
    post:
      operationId: OpenApiFileController_uploadFile
      summary: Upload file
      description: 'Uploads a file to the system and returns a unique file ID. The specific file type needs to be according to the corresponding business requirements. The uploaded file must not exceed 10MB. Supported file types: JPEG, PNG, JPG, WEBP, PDF, DOCX, XLSX. DOC/XLS formats are not supported. The request must use multipart/form-data and the Content-Type header must include boundary.'
      parameters:
      - name: dgp-entity-id
        in: header
        description: The unique identifier of the target entity. Mandatory for white-label customers to define the sub-entity context.
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/KycFileUploadDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - type: object
                  properties:
                    data:
                      type: object
                      allOf:
                      - $ref: '#/components/schemas/OpenApiCreateFileOutputDto'
                  required:
                  - data
        '400':
          description: Unsupported file type (1000101), non-multipart or missing boundary (1000106), or missing file field (1000110).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessResponse'
        '413':
          description: Single file too large (1000111) or request body too large (1000113).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessResponse'
      tags:
      - File Management
  /open-api/v1/file/upload/deposit-attachment:
    post:
      operationId: OpenApiFileController_uploadDepositAttachmentFile
      summary: Upload deposit attachment
      description: 'Upload deposit attachment for VA transaction. The uploaded file must not exceed 10MB.

        Supported file types:

        - Image formats: jpeg, png, jpg, webp

        - Document formats: pdf, docx, xlsx

        The request must use multipart/form-data and the Content-Type header must include boundary.'
      parameters:
      - name: dgp-entity-id
        in: header
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/OpenApiDepositAttachmentFileUploadDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - type: object
                  properties:
                    data:
                      type: object
                      allOf:
                      - $ref: '#/components/schemas/OpenApiDepositAttachmentFileOutputDto'
                  required:
                  - data
        '400':
          description: Unsupported file type (1000101), non-multipart or missing boundary (1000106), or missing file field (1000110). Transaction not found / not a deposit / not in processing (1000108), or transaction not in pending-material status (1000109).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessResponse'
        '413':
          description: Single file too large (1000111) or request body too large (1000113).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessResponse'
      tags:
      - File Management
  /open-api/v1/file/upload/va/legal-person:
    post:
      operationId: OpenApiFileController_uploadPersonFile
      summary: Upload person file
      description: 'Upload the person file, ensuring the file type complies with the person’s KYC requirements. The uploaded file must not exceed 10MB. Supported file types: JPEG, PNG, JPG, WEBP, PDF, DOCX, XLSX. DOC/XLS formats are not supported. The request must use multipart/form-data and the Content-Type header must include boundary.'
      parameters:
      - name: dgp-entity-id
        in: header
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/KycPersonFileUploadDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/ApiSuccessResponse'
                - type: object
                  properties:
                    data:
                      type: object
                      allOf:
                      - $ref: '#/components/schemas/OpenApiCreateFileOutputDto'
                  required:
                  - data
        '400':
          description: Unsupported file type (1000101), non-multipart or missing boundary (1000106), or missing file field (1000110). Person not found (1000107).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessResponse'
        '413':
          description: Single file too large (1000111) or request body too large (1000113).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiSuccessResponse'
      tags:
      - File Management
components:
  schemas:
    OpenApiCreateFileOutputDto:
      type: object
      properties:
        fileId:
          type: string
          description: File ID
      required:
      - fileId
    OpenApiDepositAttachmentFileOutputDto:
      type: object
      properties:
        fileId:
          type: string
          description: File ID
      required:
      - fileId
    KycPersonFileUploadDto:
      type: object
      properties:
        fileUseType:
          type: string
          allOf:
          - $ref: '#/components/schemas/AllUploadedFileEnum'
        fileName:
          type: string
          description: File name (optional). When omitted, the original ASCII file name is used; non-ASCII file names are generated as file_<uuid>.<ext>. The file name must not contain /, \, or control characters.
        personId:
          type: string
          description: Person ID (within the legal entity)
        file:
          type: string
          format: binary
          description: 'The uploaded file must not exceed 10MB.

            Supported file types: JPEG, PNG, JPG, WEBP, PDF, DOCX, XLSX. DOC/XLS formats are not supported.'
      required:
      - fileUseType
      - personId
      - file
    KycFileUploadDto:
      type: object
      properties:
        fileUseType:
          type: string
          allOf:
          - $ref: '#/components/schemas/AllUploadedFileEnum'
        fileName:
          type: string
          description: File name (optional). When omitted, the original ASCII file name is used; non-ASCII file names are generated as file_<uuid>.<ext>. The file name must not contain /, \, or control characters.
        file:
          type: string
          format: binary
          description: 'The uploaded file must not exceed 10MB.

            Supported file types: JPEG, PNG, JPG, WEBP, PDF, DOCX, XLSX. DOC/XLS formats are not supported.'
      required:
      - fileUseType
      - file
    ApiSuccessResponse:
      type: object
      properties:
        code:
          type: number
          description: Response code
        message:
          type: string
          description: Message
        timestamp:
          type: number
          description: Current time timestamp
        requestId:
          type: string
          description: Request ID
      required:
      - code
      - message
      - timestamp
      - requestId
    OpenApiDepositAttachmentFileUploadDto:
      type: object
      properties:
        fileUseType:
          type: string
          allOf:
          - $ref: '#/components/schemas/OpenApiVaDepositAttachmentFileUseTypeEnum'
        file:
          type: string
          format: binary
          description: 'The uploaded file must not exceed 10MB.

            Supported file types:

            - Image formats: jpeg, png, jpg, webp

            - Document formats: pdf, docx, xlsx'
        transactionId:
          type: string
          description: Transaction ID
      required:
      - fileUseType
      - file
      - transactionId
    OpenApiVaDepositAttachmentFileUseTypeEnum:
      type: string
      description: Deposit attachment file use type (person or business trade_info field name)
      enum:
      - sof_salary
      - sof_investment
      - sof_property
      - sof_business
      - sof_other
      - bank_statement
      - other_materials
      - payment_record
      - express_logistics_bill
      - order_details
      - sales_records
      - other_supporting_documents_platform
      - contract_agreement
      - formal_invoice_or_commercial_invoice
      - inquiry_record_service
      - bank_statement_service
      - business_scenario_description
      - special_industry_license
      - other_supporting_documents
      - sales_contract
      - invoice
      - transport_document
      - inquiry_record
    AllUploadedFileEnum:
      type: string
      description: 'File Use Type, for example: VA related file, KYC related file, etc.'
      enum:
      - business_license
      - article_of_Incorporation
      - corporate_resolution
      - company_business_registration_certificate
      - fatca
      - financial_statements
      - address_proof
      - business_address_proof
      - source_of_funds
      - rfi
      - payout
      - nnc1
      - nar1
      - operating_agreement
      - ein
      - good_standing
      - share_structure_chart
      - other
      - DIRECTOR_INFORMATION_DOCUMENT
      - SHAREHOLDER_INFORMATION_DOCUMENT
      - BIZ_FILE
      - ANNUAL_AUDIT_FORM
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
x-provenance:
  method: searched
  source: https://docs.dogpay.com/reference
  harvested: '2026-11-16'
  tool: harvest-readme-openapi.py
  note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
  assembled_from:
  - https://docs.dogpay.com/reference/get_v2-openapi-openapi-balance-list.md
  - https://docs.dogpay.com/reference/get_v2-openapi-openapi-fx-trade-order-detail.md
  - https://docs.dogpay.com/reference/get_v2-openapi-openapi-otc-quota.md
  - https://docs.dogpay.com/reference/openapifilecontroller_uploaddepositattachmentfile.md
  - https://docs.dogpay.com/reference/openapifilecontroller_uploadfile.md
  - https://docs.dogpay.com/reference/openapifilecontroller_uploadpersonfile.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_createopenapipayout.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_createpayeev2.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_downloadreceiptv3.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_getpayee.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_getpayeedetail.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_getpayeeoptions.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_getpayoutaccounts.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_getpayoutdetail.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_softdeletepayee.md
  - https://docs.dogpay.com/reference/openapipayoutcontroller_updatepayeev2.md
  - https://docs.dogpay.com/reference/openapipayoutv2controller_createopenapipayoutv2.md
  - https://docs.dogpay.com/reference/openapivacontroller_createlegalva.md
  - https://docs.dogpay.com/reference/openapivacontroller_createlegalvav2.md
  - https://docs.dogpay.com/reference/openapivacontroller_createpersonva.md
  - https://docs.dogpay.com/reference/openapivacontroller_getbanklist.md
  - https://docs.dogpay.com/reference/openapivacontroller_getbanklistv2.md
  - https://docs.dogpay.com/reference/openapivacontroller_getvadetail.md
  - https://docs.dogpay.com/reference/openapivacontroller_getvalist.md
  - https://docs.dogpay.com/reference/openapivacontroller_getvarejectionrecords.md
  - https://docs.dogpay.com/reference/openapivacontroller_resubmitvaattachment.md
  - https://docs.dogpay.com/reference/openapivatrxcontroller_getvatrxdetail.md
  - https://docs.dogpay.com/reference/openapivatrxcontroller_getvatrxlist.md
  - https://docs.dogpay.com/reference/openapivatrxcontroller_submitbusinessdepositattachment.md
  - https://docs.dogpay.com/reference/openapivatrxcontroller_submitpersondepositattachment.md
  - https://docs.dogpay.com/reference/post_v2-openapi-openapi-fx-quote.md
  - https://docs.dogpay.com/reference/post_v2-openapi-openapi-fx-trade-order.md
  merge:
    pages: 32
    deduped: 111
    conflicts_kept_first: 0