public static function update(
        int $requestInquiryId,
        int $monetaryAccountId = null,
        string $status = null,
        array $customHeaders = []
    ): BunqResponseRequestInquiry {
        $apiClient = new ApiClient(static::getApiContext());
        $responseRaw = $apiClient->put(
            vsprintf(
                self::ENDPOINT_URL_UPDATE,
                [static::determineUserId(), static::determineMonetaryAccountId($monetaryAccountId), $requestInquiryId]
            ),
            [self::FIELD_STATUS => $status],
            $customHeaders
        );

        return BunqResponseRequestInquiry::castFromBunqResponse(
            static::fromJson($responseRaw, self::OBJECT_TYPE_PUT)
        );
    }