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

# Simulate raindrops minting

> Settles a tenant's pending raindrops on demand, instead of waiting for the scheduled daily liquidation job. It moves pending transactions to `READY` and creates mint jobs per team, which the scheduled mint job then processes. Use this to test the rewards minting flow end to end.

**Sandbox only.** This endpoint returns `404 Not Found` in production environments.



## OpenAPI

````yaml /openapi.json post /simulate/raindrops/mint-pending
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:
  /simulate/raindrops/mint-pending:
    post:
      tags:
        - raindrops
      summary: Simulate raindrops minting
      description: >-
        Settles a tenant's pending raindrops on demand, instead of waiting for
        the scheduled daily liquidation job. It moves pending transactions to
        `READY` and creates mint jobs per team, which the scheduled mint job
        then processes. Use this to test the rewards minting flow end to end.


        **Sandbox only.** This endpoint returns `404 Not Found` in production
        environments.
      operationId: simulateRaindropsMintPending
      responses:
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SimulateRaindropsMintPendingResponse'
        '403':
          description: Raindrops are not enabled for your tenant
        '404':
          description: Endpoint not available in production environments
        '405':
          description: >-
            The tenant's points mode is PARTNER_ONCHAIN; minting is managed by
            the partner
        '500':
          description: Unhandled error during simulation
        '503':
          description: >-
            Raindrops are temporarily frozen: `Raindrops are temporarily frozen.
            Please retry later.` Retry the request later.
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SimulateRaindropsMintPendingResponse:
      type: object
      required:
        - pointsMode
        - teams
      properties:
        pointsMode:
          type: string
          description: >-
            The tenant's points mode. One of `RAIN_MANAGED` or
            `PARTNER_OFFCHAIN`.
        teams:
          type: array
          description: One entry per team on the tenant.
          items:
            $ref: '#/components/schemas/SimulateRaindropsMintPendingTeam'
    SimulateRaindropsMintPendingTeam:
      type: object
      required:
        - teamId
        - settledCount
        - mintJobCount
        - mintJobs
      properties:
        teamId:
          type: string
          description: The team the entry describes.
        settledCount:
          type: integer
          description: Pending raindrops transactions settled for the team.
        mintJobCount:
          type: integer
          description: Mint jobs created for the team.
        mintJobs:
          type: array
          description: The mint jobs created for the team.
          items:
            $ref: '#/components/schemas/SimulateRaindropsMintJob'
    SimulateRaindropsMintJob:
      type: object
      required:
        - id
        - userId
        - raindropAmount
      properties:
        id:
          type: string
          description: The mint job ID.
        userId:
          type: string
          description: The user the mint job belongs to.
        raindropAmount:
          type: string
          description: A points amount serialized as a string to preserve precision.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: Api-Key
      in: header

````