> ## Documentation Index
> Fetch the complete documentation index at: https://developer.paywint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify Micro-Deposit

> Finalizes the micro-deposit verification process for a user’s bank account.

This endpoint:
- Validates the two micro-deposit amounts to confirm bank account ownership
- Ensures the account is currently in `APPLIED` verification status
- Updates the account status to `VERIFIED` upon successful confirmation
- Logs a user note documenting the verification event

**Note:**
- In the **sandbox environment**, the two required test deposit amounts are **$0.07** and **$0.15**.
  These values must be provided exactly in any order.
- In **live (production)** environments, actual micro-deposits will be sent to the user’s bank account, and those values must be retrieved from the user’s bank statement and submitted here.



## OpenAPI

````yaml POST /api/platform/accounts/verify-micro-deposit/{user_id}
openapi: 3.1.0
info:
  title: paywint
  version: 0.1.0
servers:
  - url: http://localhost:8001
  - url: https://api.pw.wintpay.com
  - url: https://test.pw.wintpay.com
  - url: https://api.sandbox.paywint.com
security: []
paths:
  /api/platform/accounts/verify-micro-deposit/{user_id}:
    post:
      tags:
        - Platform Accounts
      summary: Verify Micro Deposit
      description: >-
        Finalizes the micro-deposit verification process for a user’s bank
        account.


        This endpoint:

        - Validates the two micro-deposit amounts to confirm bank account
        ownership

        - Ensures the account is currently in `APPLIED` verification status

        - Updates the account status to `VERIFIED` upon successful confirmation

        - Logs a user note documenting the verification event


        **Note:**

        - In the **sandbox environment**, the two required test deposit amounts
        are **$0.07** and **$0.15**.
          These values must be provided exactly in any order.
        - In **live (production)** environments, actual micro-deposits will be
        sent to the user’s bank account, and those values must be retrieved from
        the user’s bank statement and submitted here.
      operationId: >-
        verify_micro_deposits_api_platform_accounts_verify_micro_deposit__user_id__post
      parameters:
        - name: user_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: >-
              Unique identifier (UUID) of the user who owns the bank account
              being verified.
            title: User Id
          description: >-
            Unique identifier (UUID) of the user who owns the bank account being
            verified.
          example: f47ac10b-****-****-****-0e02b2c3d479
        - name: X-Platform-ID
          in: header
          required: true
          schema:
            type: string
            format: uuid
            description: >-
              Unique platform identifier (UUID). You receive this during
              onboarding. Must be sent with every API request.
            title: X-Platform-Id
          description: >-
            Unique platform identifier (UUID). You receive this during
            onboarding. Must be sent with every API request.
        - name: X-Signature
          in: header
          required: true
          schema:
            type: string
            description: >-
              HMAC-SHA256 request signature for authentication. Use your
              platform secret key to compute it as: `METHOD + PATH + QUERY +
              BODY_HASH`.
            title: X-Signature
          description: >-
            HMAC-SHA256 request signature for authentication. Use your platform
            secret key to compute it as: `METHOD + PATH + QUERY + BODY_HASH`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VerifyMicroDepositPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CommonResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VerifyMicroDepositPayload:
      properties:
        account_id:
          type: string
          format: uuid
          title: Account Id
          description: >-
            Unique identifier (UUID) of the bank account to initiate
            verification for.
          example: f47ac10b-****-****-****-0e02b2c3d479
        verification_amounts:
          $ref: '#/components/schemas/PlatformVerificationAmount'
      type: object
      required:
        - account_id
        - verification_amounts
      title: VerifyMicroDepositPayload
    CommonResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Indicates whether the request was processed successfully.
          default: true
          example: true
        message:
          type: string
          title: Message
          description: >-
            A short, human-readable message describing the result of the
            request.
          default: Success
          example: Operation completed.
        data:
          anyOf:
            - {}
            - type: 'null'
          title: Data
          description: The main response payload, if applicable
        queryGeneratedTime:
          anyOf:
            - type: number
            - type: 'null'
          title: Querygeneratedtime
          description: >-
            The Unix timestamp (in seconds) indicating when the response was
            generated.
          default: 1782303609.673092
          example: 1718006400
      type: object
      title: CommonResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PlatformVerificationAmount:
      properties:
        amount_1:
          type: number
          title: Amount 1
        amount_2:
          type: number
          title: Amount 2
      type: object
      required:
        - amount_1
        - amount_2
      title: PlatformVerificationAmount
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````