> ## 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.

# Update a company UBO's application



## OpenAPI

````yaml patch /issuing/applications/company/{companyId}/ubo/{uboId}
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}/ubo/{uboId}:
    patch:
      tags:
        - applications
      summary: Update a company UBO's application
      operationId: updateIssuingCompanyUboApplication
      parameters:
        - name: companyId
          in: path
          description: Id of the company whose application is being reapplied
          required: true
          schema:
            type: string
            format: uuid
        - name: uboId
          in: path
          description: Id of the UBO whose application is being reapplied
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        description: Update information for this company UBO
        content:
          application/json:
            schema:
              type: object
              properties:
                firstName:
                  type: string
                  maxLength: 50
                  description: The UBO's first name
                lastName:
                  type: string
                  maxLength: 50
                  description: The UBO's last name
                birthDate:
                  type: string
                  format: date
                  example: '2000-01-01'
                  description: The UBO's birth date
                nationalId:
                  type: string
                  description: The UBO's national id, 9-digit SSN if country of issue is US
                countryOfIssue:
                  $ref: '#/components/schemas/CountryCode'
                  description: The UBO's country of issue of their national id
                email:
                  type: string
                  format: email
                  description: The UBO's email address
                address:
                  $ref: '#/components/schemas/PhysicalAddress'
                  description: The UBO's address
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IssuingCompany'
        '400':
          description: Invalid request
        '401':
          description: Invalid authorization
        '500':
          description: Internal server error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    CountryCode:
      type: string
      minLength: 2
      maxLength: 2
    PhysicalAddress:
      type: object
      required:
        - line1
        - city
        - region
        - postalCode
        - countryCode
      properties:
        line1:
          type: string
          maxLength: 100
        line2:
          type: string
          maxLength: 100
        city:
          type: string
          maxLength: 50
        region:
          type: string
          maxLength: 50
        postalCode:
          type: string
          minLength: 1
          maxLength: 15
          pattern: ^[a-zA-Z0-9 -]{1,15}$
        countryCode:
          $ref: '#/components/schemas/CountryCode'
        country:
          type: string
          maxLength: 50
    IssuingCompany:
      allOf:
        - type: object
          required:
            - id
            - name
            - address
          properties:
            id:
              type: string
              format: uuid
              description: The company's unique identifier
            externalId:
              type: string
              minLength: 1
              maxLength: 255
              description: >-
                An optional tenant-defined identifier for this company. Must be
                unique within the tenant.
            sourceKey:
              type: string
              minLength: 1
              maxLength: 24
              description: The source key associated with the company's team
            name:
              type: string
              description: The company's name on the Rain platform
            address:
              $ref: '#/components/schemas/PhysicalAddress'
              description: The company's physical address
        - type: object
          properties:
            ultimateBeneficialOwners:
              type: array
              description: The company's ultimate beneficial owners
              items:
                allOf:
                  - type: object
                    required:
                      - id
                    properties:
                      id:
                        type: string
                        format: uuid
                        description: The UBO's id
                  - $ref: '#/components/schemas/IssuingApplication'
        - $ref: '#/components/schemas/IssuingApplication'
    IssuingApplication:
      type: object
      required:
        - applicationStatus
      properties:
        applicationStatus:
          $ref: '#/components/schemas/ApplicationStatus'
        applicationExternalVerificationLink:
          type: object
          description: The link to the external verification page for the application
          deprecated: true
          required:
            - url
          properties:
            url:
              type: string
              format: uri
            params:
              type: object
              properties:
                userId:
                  type: string
                  format: uuid
        applicationCompletionLink:
          type: object
          description: The link to the completion page for the application
          required:
            - url
          properties:
            url:
              type: string
              format: uri
            params:
              type: object
              properties:
                userId:
                  type: string
                  format: uuid
        applicationReason:
          type: string
          description: The reason for the application status
    ApplicationStatus:
      type: string
      enum:
        - approved
        - pending
        - needsInformation
        - needsVerification
        - manualReview
        - denied
        - locked
        - canceled
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: Api-Key
      in: header

````