> ## Documentation Index
> Fetch the complete documentation index at: https://rain-sandbox-trial.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload a document to support a company's corporate application



## OpenAPI

````yaml put /issuing/applications/company/{companyId}/document
openapi: 3.0.3
info:
  title: Issuing API
  description: This is the specification for Rain's Issuing API.
  termsOfService: https://www.rain.xyz/legal/authorized-user-terms
  contact:
    email: support@rain.xyz
  version: 1.3.0
servers:
  - url: https://api-dev.rain.xyz/v1
    description: Sandbox server
  - url: https://api.rain.xyz/v1
    description: Production server
security: []
tags:
  - name: paymentRoutes
    description: >-
      **Endpoint Migration:** The `/v1/automations` endpoints have been renamed
      to `/v1/payment-routes`. The old `/v1/automations` paths remain available
      as deprecated aliases during migration. Update your integrations to use
      `/v1/payment-routes` as the deprecated endpoints will be removed in a
      future release.
  - name: simulate
    description: >-
      Transaction simulation endpoints for testing integration flows in
      non-production environments. These endpoints let you trigger transaction
      events programmatically to automate integration tests and verify webhook
      handling without depending on external systems or staging real deposits.
      **Sandbox only** — all simulation endpoints return `404 Not Found` in
      production.
  - name: raindrops
    description: >-
      Rewards and points management endpoints. Custom API keys need
      `raindrops:read`/`raindrops:write` for general rewards endpoints and
      `raindrops-travel:read`/`raindrops-travel:write` for travel redemption
      endpoints.
    x-group: rewards
paths:
  /issuing/applications/company/{companyId}/document:
    put:
      tags:
        - applications
      summary: Upload a document to support a company's corporate application
      operationId: uploadIssuingCompanyApplicationDocument
      parameters:
        - name: companyId
          in: path
          description: Id of the company to upload a document for
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        description: Document to upload
        content:
          multipart/form-data:
            schema:
              type: object
              required:
                - document
              properties:
                name:
                  type: string
                  description: The name of the document
                type:
                  type: string
                  description: The type of the document
                  enum:
                    - directorsRegistry
                    - stateRegistry
                    - incumbencyCert
                    - proofOfAddress
                    - trustAgreement
                    - informationStatement
                    - incorporationCert
                    - incorporationArticles
                    - shareholderRegistry
                    - goodStandingCert
                    - powerOfAttorney
                    - other
                side:
                  type: string
                  description: The side of the document
                  enum:
                    - front
                    - back
                country:
                  type: string
                  description: The issuing country of the document
                  minLength: 3
                  maxLength: 3
                  deprecated: true
                countryCode:
                  $ref: '#/components/schemas/CountryCode'
                  description: The issuing country of the document
                document:
                  type: string
                  format: binary
                  maxLength: 20971520
                  description: The document to upload
      responses:
        '204':
          description: Successful operation
        '400':
          description: Invalid request
        '401':
          description: Invalid authorization
        '404':
          description: Team not found
        '500':
          description: Internal server error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CountryCode:
      type: string
      minLength: 2
      maxLength: 2
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: Api-Key
      in: header

````