{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lynx/json-schema/lynx-post-member-transfer-request-schema.json",
  "title": "PostMemberTransferRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lynx-payments-api-openapi.yml#/components/schemas/PostMemberTransferRequest",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/MemberTransferRequest"
    },
    "idempotency": {
      "$ref": "#/$defs/Idempotency",
      "description": "Unique identifier that represents the operation"
    }
  },
  "required": [
    "data",
    "idempotency"
  ],
  "$defs": {
    "ClientOrgDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the client organization"
        }
      },
      "required": [
        "name"
      ]
    },
    "Idempotency": {
      "type": "object",
      "properties": {
        "idempotencyKey": {
          "type": "string",
          "description": "Unique identifier that represents the operation"
        }
      }
    },
    "MemberAccountIdDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "description": "Unique identifier of the bank account"
        }
      },
      "required": [
        "id"
      ]
    },
    "MemberTransferRequest": {
      "type": "object",
      "properties": {
        "clientOrg": {
          "$ref": "#/$defs/ClientOrgDto"
        },
        "originatingMemberAccount": {
          "$ref": "#/$defs/MemberAccountIdDto"
        },
        "receivingMemberAccount": {
          "$ref": "#/$defs/MemberAccountIdDto"
        },
        "transaction": {
          "$ref": "#/$defs/MemberTransferTransaction"
        }
      }
    },
    "MemberTransferTransaction": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number",
          "description": "Dollar Amount"
        },
        "longMemo": {
          "type": "string",
          "description": "Long descriptions Max 100 characters"
        },
        "shortMemo": {
          "type": "string",
          "description": "10 character memo"
        },
        "clientTransactionIdentifier": {
          "type": "string",
          "description": "Transaction reference identifier"
        }
      },
      "required": [
        "amount"
      ]
    }
  }
}