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

# Refresh account requirements

> When a field has `refreshRequirementsOnChange: true`, POST the current form state to this endpoint to receive an updated field list. For example, changing `legalType` from `PRIVATE` to `BUSINESS` may reveal a company name field.

Pass the same `currency` query parameter as the GET call. The body should contain the account `type` and all `details` collected so far.

**Rate limit:** 500 requests/minute.



## OpenAPI

````yaml /openapi.json post /api/payouts/account-requirements
openapi: 3.0.3
info:
  title: MW Payouts API
  version: 1.0.0
  description: >-
    The MW Payouts API lets you programmatically retrieve exchange-rate quotes,
    calculate platform fees, and submit USDC-to-fiat payout transfers on behalf
    of your account.


    All requests must be authenticated with an API key obtained from the
    **Developers** section of the dashboard. API keys are for **server-side use
    only** — never embed them in client-side code.
  contact:
    name: MW Support
    email: support@madhousewallet.com
servers:
  - url: https://business.madhousewallet.com
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Payouts
    description: USDC-to-fiat payout operations
  - name: Recipients
    description: Payout recipient management
paths:
  /api/payouts/account-requirements:
    post:
      tags:
        - Recipients
      summary: Refresh account requirements
      description: >-
        When a field has `refreshRequirementsOnChange: true`, POST the current
        form state to this endpoint to receive an updated field list. For
        example, changing `legalType` from `PRIVATE` to `BUSINESS` may reveal a
        company name field.


        Pass the same `currency` query parameter as the GET call. The body
        should contain the account `type` and all `details` collected so far.


        **Rate limit:** 500 requests/minute.
      operationId: refreshAccountRequirements
      parameters:
        - name: currency
          in: query
          required: true
          schema:
            type: string
            example: EUR
          description: ISO 4217 target currency code
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - type
              properties:
                type:
                  type: string
                  description: Account type returned from the GET call
                  example: iban
                details:
                  type: object
                  description: Current form values collected so far
                  example:
                    legalType: BUSINESS
      responses:
        '200':
          description: Updated requirements returned
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
        '400':
          description: Missing currency or type
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded (500 req/min)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
      required:
        - error
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Pass your API key as a Bearer token: `Authorization: Bearer
        mw_live_<keyId>_<secret>`

````